Got rid of ThemeLayout::getDialogData; added some comments, asserts; moved getParentW & getParentH to class ThemeLayoutStacked
svn-id: r35571
This commit is contained in:
parent
109d55f8d3
commit
69f4b7a383
3 changed files with 30 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue