summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 12:43:56 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-10 12:43:56 -0600
commite2e30710a646965a506444cc0dc8a91e1a718002 (patch)
tree6df4da284837593cd11d09aedf5244b244cf6fac /src/gui/setup.cpp
parent17f9d5abcb05da185486ccfba293f3a8c9eab437 (diff)
downloadmana-client-e2e30710a646965a506444cc0dc8a91e1a718002.tar.gz
mana-client-e2e30710a646965a506444cc0dc8a91e1a718002.tar.bz2
mana-client-e2e30710a646965a506444cc0dc8a91e1a718002.tar.xz
mana-client-e2e30710a646965a506444cc0dc8a91e1a718002.zip
Remove some SetupWindow weirdness
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 62d79d4d..8062ac06 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -65,10 +65,14 @@ Setup::Setup():
add(btn);
// Store this button, as it needs to be enabled/disabled
- if (!strcmp(*curBtn, "Reset Windows"))
+ if (!strcmp(*curBtn, "Reset Windows")) {
mResetWindows = btn;
+ printf("!\n");
+ }
}
+ if (mResetWindows) printf("!\n");
+
TabbedArea *panel = new TabbedArea;
panel->setDimension(gcn::Rectangle(5, 5, width - 10, height - 40));
@@ -146,4 +150,6 @@ void Setup::action(const gcn::ActionEvent &event)
void Setup::setInGame(bool inGame)
{
mResetWindows->setEnabled(inGame);
-} \ No newline at end of file
+}
+
+Setup* setupWindow;