aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorMax Horn2007-03-16 20:47:41 +0000
committerMax Horn2007-03-16 20:47:41 +0000
commita73c6c36700e6cdc8ccb34789962fd886e4f7619 (patch)
treea52cc9339b8067bc220249bb6304a79efcfa6ff0 /gui/newgui.cpp
parent5c91a361c73f13b10af40f709099da681edb1459 (diff)
downloadscummvm-rg350-a73c6c36700e6cdc8ccb34789962fd886e4f7619.tar.gz
scummvm-rg350-a73c6c36700e6cdc8ccb34789962fd886e4f7619.tar.bz2
scummvm-rg350-a73c6c36700e6cdc8ccb34789962fd886e4f7619.zip
Added new file gui/object.cpp (collecting GuiObject methods in there), and renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted)
svn-id: r26147
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 6e941dd787..cc63d39692 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -54,11 +54,6 @@ enum {
kKeyRepeatSustainDelay = 100
};
-// HACK. FIXME. This doesn't belong here. But otherwise it creates compilation problems
-GuiObject::GuiObject(const Common::String &name) : _firstWidget(0) {
- _name = name;
-}
-
void GuiObject::reflowLayout() {
if (!_name.empty()) {
if ((_x = g_gui.evaluator()->getVar(_name + ".x")) == EVAL_UNDEF_VAR)