aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorMax Horn2006-08-04 13:55:53 +0000
committerMax Horn2006-08-04 13:55:53 +0000
commit1a10cacfb900c822ef5a53f455af7874675d37c5 (patch)
treefd1ed37141eada7894bf100aff7bdbf54da1e70b /gui/newgui.cpp
parentca7880df6cbbb7fbc5bf58230f2f6255b0289b37 (diff)
downloadscummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.tar.gz
scummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.tar.bz2
scummvm-rg350-1a10cacfb900c822ef5a53f455af7874675d37c5.zip
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
svn-id: r23662
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 14aeff06c1..a4904c5b8c 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -56,10 +56,10 @@ enum {
// HACK. FIXME. This doesn't belong here. But otherwise it creates compilation problems
GuiObject::GuiObject(const Common::String &name) : _firstWidget(0) {
_name = name;
- handleScreenChanged();
+ reflowLayout();
}
-void GuiObject::handleScreenChanged() {
+void GuiObject::reflowLayout() {
if (!_name.empty()) {
if ((_x = g_gui.evaluator()->getVar(_name + ".x")) == EVAL_UNDEF_VAR)
error("Undefined variable %s.x", _name.c_str());
@@ -262,7 +262,7 @@ void NewGui::runLoop() {
_theme->refresh();
// refresh all dialogs
for (int i = 0; i < _dialogStack.size(); ++i) {
- _dialogStack[i]->handleScreenChanged();
+ _dialogStack[i]->reflowLayout();
}
// We need to redraw immediately. Otherwise
// some other event may cause a widget to be