aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.h
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-08 01:42:02 +0000
committerEugene Sandulenko2006-03-08 01:42:02 +0000
commita8a8624511f280ea1fdc9bb4bde4f79477b76ae1 (patch)
tree544b36ae8748d427bb0eb3ded7795f270c27d1c1 /gui/newgui.h
parentcca7da5ba1fec174a692dfdb6dbc4805a9da44e2 (diff)
downloadscummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.tar.gz
scummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.tar.bz2
scummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.zip
o Converted most (all?) widgets to new scheme.
o Converted global options dialog to new scheme. svn-id: r21137
Diffstat (limited to 'gui/newgui.h')
-rw-r--r--gui/newgui.h5
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;