summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-01-07 10:13:03 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-01-07 10:13:03 +0000
commit071877484ef493631592d9f10b6c4457097eca29 (patch)
tree2beb3921959350855a140d2e782cfdb4ec9380d6 /src/gui/setup.h
parent553e1d562af1413b9f28bf1c4b079d301349020e (diff)
downloadmana-071877484ef493631592d9f10b6c4457097eca29.tar.gz
mana-071877484ef493631592d9f10b6c4457097eca29.tar.bz2
mana-071877484ef493631592d9f10b6c4457097eca29.tar.xz
mana-071877484ef493631592d9f10b6c4457097eca29.zip
Removed --skipupdate option from Dev.Cpp project file, splitted the setup window into 3 tabs and added a joystick calibration tool.
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r--src/gui/setup.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h
index b76b9a55..0b62fee6 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -88,6 +88,8 @@ class Setup : public Window, public gcn::ActionListener
*/
void
action(const std::string& eventId);
+
+ void logic();
private:
ModeListModel *modeListModel;
@@ -95,15 +97,16 @@ class Setup : public Window, public gcn::ActionListener
// Dialog widgets
gcn::ListBox *modeList;
gcn::ScrollArea *scrollArea;
- gcn::Label *videoLabel, *audioLabel;
gcn::Label *alphaLabel;
gcn::Label *sfxLabel, *musicLabel;
+ gcn::Label *calibrateLabel;
gcn::CheckBox *fsCheckBox;
gcn::CheckBox *openGLCheckBox;
gcn::CheckBox *soundCheckBox;
gcn::CheckBox *customCursorCheckBox;
gcn::Slider *alphaSlider;
gcn::Slider *sfxSlider, *musicSlider;
+ gcn::Button *calibrateButton;
gcn::Button *applyButton, *cancelButton;
gcn::Button *resetWinsToDefault;
@@ -114,6 +117,8 @@ class Setup : public Window, public gcn::ActionListener
bool openGLEnabled;
bool customCursorEnabled;
bool soundEnabled;
+ bool mCalibrating;
+ int leftTolerance, rightTolerance, upTolerance, downTolerance;
};
#endif