From 2da65e2e57b664cc45c164f08ddae3597e51fcba Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Wed, 3 Aug 2005 21:18:31 +0000 Subject: Now the 'Apply' and 'Cancel' buttons of the setup window work correctly. --- src/gui/setup.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/setup.h') 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. -- cgit v1.2.3-60-g2f50