diff options
Diffstat (limited to 'gui/newgui.h')
-rw-r--r-- | gui/newgui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/newgui.h b/gui/newgui.h index 4eb3e9d10c..21719041ce 100644 --- a/gui/newgui.h +++ b/gui/newgui.h @@ -78,6 +78,11 @@ public: int getStringWidth(const Common::String &str) const { return _theme->getStringWidth(str); } int getCharWidth(byte c) const { return _theme->getCharWidth(c); } + WidgetSize getWidgetSize() { + return (WidgetSize)(_theme->_evaluator->getVar("widgetSize")); + } + + protected: OSystem *_system; |