diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-09 16:27:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-09 16:27:05 +0300 |
commit | 1324fd68e1a049fea14f38c0aece770778d1b225 (patch) | |
tree | 22ac54b4b06b4bb5d894bbde50410e361ebda81a /src/gui/setup_input.cpp | |
parent | 50ca2750f73025be4e73ed1c6271c4433f081062 (diff) | |
download | manaverse-1324fd68e1a049fea14f38c0aece770778d1b225.tar.gz manaverse-1324fd68e1a049fea14f38c0aece770778d1b225.tar.bz2 manaverse-1324fd68e1a049fea14f38c0aece770778d1b225.tar.xz manaverse-1324fd68e1a049fea14f38c0aece770778d1b225.zip |
Add initial setup page for touch interfaces.
Diffstat (limited to 'src/gui/setup_input.cpp')
-rw-r--r-- | src/gui/setup_input.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp index ff3c1f49b..31743dd7e 100644 --- a/src/gui/setup_input.cpp +++ b/src/gui/setup_input.cpp @@ -99,9 +99,6 @@ Setup_Input::Setup_Input(const Widget2 *const widget) : mDefaultButton(new Button(this, _("Default"), "default", this)), mResetKeysButton(new Button(this, _("Reset all keys"), "resetkeys", this)), mTabs(new TabStrip(this, config.getIntValue("fontSize") + 10)), - mShowJoystick(config.getBoolValue("showScreenJoystick")), - mJoystickCheckBox(new CheckBox(this, - _("Show onscreen joystick"), mShowJoystick)), mKeySetting(false), mActionDataSize(new int [9]) { @@ -159,7 +156,6 @@ Setup_Input::Setup_Input(const Widget2 *const widget) : place(2, 6, mAssignKeyButton); place(3, 6, mUnassignKeyButton); place(4, 6, mDefaultButton); - place(0, 7, mJoystickCheckBox); int width = 600; if (config.getIntValue("screenwidth") >= 730) @@ -200,8 +196,6 @@ void Setup_Input::apply() "Resolve them, or gameplay may result in strange behaviour."), gettext(str1.c_str()), gettext(str2.c_str())), DIALOG_ERROR); } - mShowJoystick = mJoystickCheckBox->isSelected(); - config.setValue("showScreenJoystick", mShowJoystick); keyboard.setEnabled(true); inputManager.store(); } |