aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
diff options
context:
space:
mode:
authorMax Horn2008-11-12 12:53:53 +0000
committerMax Horn2008-11-12 12:53:53 +0000
commitfa942c42cc780f34b96fc308a2b7fdde52088e42 (patch)
tree9da5c5d5e2b6d057a7f713f281ff1d461aeaa004 /gui/dialog.cpp
parent201c26fcd0ad71568a3581a5520c094d93ec6d06 (diff)
downloadscummvm-rg350-fa942c42cc780f34b96fc308a2b7fdde52088e42.tar.gz
scummvm-rg350-fa942c42cc780f34b96fc308a2b7fdde52088e42.tar.bz2
scummvm-rg350-fa942c42cc780f34b96fc308a2b7fdde52088e42.zip
GUI: Got rid of most 'built-in' variables
svn-id: r35018
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r--gui/dialog.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index b11bf5bf26..ce3e5d609c 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -344,18 +344,4 @@ void Dialog::removeWidget(Widget *del) {
}
}
-ButtonWidget *Dialog::addButton(GuiObject *boss, int x, int y, const Common::String &label, uint32 cmd, char hotkey) {
- int w, h;
-
- if (g_gui.getWidgetSize() == kBigWidgetSize) {
- w = kBigButtonWidth;
- h = kBigButtonHeight;
- } else {
- w = kButtonWidth;
- h = kButtonHeight;
- }
-
- return new ButtonWidget(boss, x, y, w, h, label, cmd, hotkey);
-}
-
} // End of namespace GUI