aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEval.cpp
diff options
context:
space:
mode:
authorMax Horn2008-12-27 14:30:30 +0000
committerMax Horn2008-12-27 14:30:30 +0000
commit69f4b7a38388c444d2911d07a3636a65dd1a4d20 (patch)
tree30226f3b0bc736fdb8dbd4f87e5fb5d6960080c0 /gui/ThemeEval.cpp
parent109d55f8d331ec8d70442d20eccc7046c8901b27 (diff)
downloadscummvm-rg350-69f4b7a38388c444d2911d07a3636a65dd1a4d20.tar.gz
scummvm-rg350-69f4b7a38388c444d2911d07a3636a65dd1a4d20.tar.bz2
scummvm-rg350-69f4b7a38388c444d2911d07a3636a65dd1a4d20.zip
Got rid of ThemeLayout::getDialogData; added some comments, asserts; moved getParentW & getParentH to class ThemeLayoutStacked
svn-id: r35571
Diffstat (limited to 'gui/ThemeEval.cpp')
-rw-r--r--gui/ThemeEval.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp
index 6a0056c63b..3729c1b499 100644
--- a/gui/ThemeEval.cpp
+++ b/gui/ThemeEval.cpp
@@ -63,9 +63,6 @@ bool ThemeEval::getWidgetData(const Common::String &widget, int16 &x, int16 &y,
if (!_layouts.contains(dialogName))
return false;
- if (widgetName.empty())
- return _layouts[dialogName]->getDialogData(x, y, w, h);
-
return _layouts[dialogName]->getWidgetData(widgetName, x, y, w, h);
}