summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
commitee416a5f3de03a689247a290077e7fdf451e1a23 (patch)
treef456df99f954919ac7a425606df51f010aa4ef2d /src/gui/setup.cpp
parent4070dda1560bc729c3e272f0a5c03d77391e2661 (diff)
downloadmana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.gz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.bz2
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.xz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.zip
Well improved window container and window widgets a bit, and made a start
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index d3a8e0ae..89f7e0a4 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -58,8 +58,8 @@ std::string ModeListModel::getElementAt(int i) {
return modes[i].desc;
}
-Setup::Setup(gcn::Container *parent)
- : Window(parent, "Setup")
+Setup::Setup():
+ Window("Setup")
{
modeListModel = new ModeListModel();
displayLabel = new gcn::Label("Display settings");
@@ -174,7 +174,7 @@ void Setup::action(const std::string& eventId)
Setup *Setup::ptr = NULL;
Setup *Setup::create_setup() {
if (ptr == NULL) {
- ptr = new Setup(guiTop);
+ ptr = new Setup();
}
else {
ptr->setVisible(true);