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
This commit is contained in:
parent
5c91a361c7
commit
a73c6c3670
7 changed files with 51 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue