summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 20:19:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 20:19:39 +0000
commitbe3b639a879a5a8eb73b2e652683da222796af44 (patch)
tree35d5ed3957c283dbb49fd9b92112c7cc919b7ba9 /src/gui/setup_joystick.h
parentef82a7df8aafb569f6db5e77ff2dd67fde860148 (diff)
downloadmana-client-be3b639a879a5a8eb73b2e652683da222796af44.tar.gz
mana-client-be3b639a879a5a8eb73b2e652683da222796af44.tar.bz2
mana-client-be3b639a879a5a8eb73b2e652683da222796af44.tar.xz
mana-client-be3b639a879a5a8eb73b2e652683da222796af44.zip
Applied patch by Pascal, adding sliders to configure the scrolling behaviour
and a checkbox to enable or disable the joystick.
Diffstat (limited to 'src/gui/setup_joystick.h')
-rw-r--r--src/gui/setup_joystick.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/setup_joystick.h b/src/gui/setup_joystick.h
index da773c8f..4cc2b3d9 100644
--- a/src/gui/setup_joystick.h
+++ b/src/gui/setup_joystick.h
@@ -35,14 +35,16 @@ class Setup_Joystick : public SetupTab, public gcn::ActionListener
public:
Setup_Joystick();
- void apply() {}
- void cancel() {}
+ void apply();
+ void cancel();
void action(const std::string& eventId, gcn::Widget* widget);
private:
gcn::Label *mCalibrateLabel;
gcn::Button *mCalibrateButton;
+ bool mOriginalJoystickEnabled;
+ gcn::CheckBox *mJoystickEnabled;
};
#endif