summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-03 21:18:31 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-03 21:18:31 +0000
commit2da65e2e57b664cc45c164f08ddae3597e51fcba (patch)
tree328672b6aee26f5532b79ef51ef01b350fbf3184 /src/gui/setup.h
parent741ccf53b036a120cb6b0c90d5c29165a7e78742 (diff)
downloadmana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.gz
mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.bz2
mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.xz
mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.zip
Now the 'Apply' and 'Cancel' buttons of the setup window work correctly.
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r--src/gui/setup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h
index 02eebae1..70491957 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -83,6 +83,11 @@ class Setup : public Window, public gcn::ActionListener
gcn::Button *applyButton;
gcn::Button *cancelButton;
+ // Variables that keeps old settings until the user "apply" them...
+ int musicVolume, sfxVolume;
+ double opacity;
+ bool fullScreenEnabled, openGlEnabled, customCursorEnabled, soundEnabled;
+
public:
/**
* Constructor.