summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_touch.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 20:18:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 20:18:40 +0300
commit9bc0a2e01e60e3c57324c86fa76be3bfa88dca81 (patch)
tree213231a9aa99cccbd56b361c544cba2025efa1e3 /src/gui/widgets/tabs/setup_touch.cpp
parent81145e509cdba68c94c4173e16ddd492cd813db8 (diff)
downloadmv-9bc0a2e01e60e3c57324c86fa76be3bfa88dca81.tar.gz
mv-9bc0a2e01e60e3c57324c86fa76be3bfa88dca81.tar.bz2
mv-9bc0a2e01e60e3c57324c86fa76be3bfa88dca81.tar.xz
mv-9bc0a2e01e60e3c57324c86fa76be3bfa88dca81.zip
Remove default parameters from setupitem.
Diffstat (limited to 'src/gui/widgets/tabs/setup_touch.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_touch.cpp27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/gui/widgets/tabs/setup_touch.cpp b/src/gui/widgets/tabs/setup_touch.cpp
index c8558fef9..355cf9452 100644
--- a/src/gui/widgets/tabs/setup_touch.cpp
+++ b/src/gui/widgets/tabs/setup_touch.cpp
@@ -75,11 +75,13 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) :
mFormatList->fillFromArray(&formatList[0], formatListSize);
// TRANSLATORS: settings option
- new SetupItemLabel(_("Onscreen keyboard"), "", this);
+ new SetupItemLabel(_("Onscreen keyboard"), "", this,
+ Separator_true);
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Show onscreen keyboard icon"), "",
- "showScreenKeyboard", this, "showScreenKeyboardEvent");
+ "showScreenKeyboard", this, "showScreenKeyboardEvent",
+ MainConfig_true);
// TRANSLATORS: settings option
new SetupActionDropDown(_("Keyboard icon action"), "",
@@ -88,31 +90,38 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) :
// TRANSLATORS: settings group
- new SetupItemLabel(_("Onscreen joystick"), "", this);
+ new SetupItemLabel(_("Onscreen joystick"), "", this,
+ Separator_true);
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Show onscreen joystick"), "",
- "showScreenJoystick", this, "showScreenJoystickEvent");
+ "showScreenJoystick", this, "showScreenJoystickEvent",
+ MainConfig_true);
// TRANSLATORS: settings option
new SetupItemDropDown(_("Joystick size"), "", "screenJoystickSize", this,
- "screenJoystickEvent", mSizeList, 100);
+ "screenJoystickEvent", mSizeList, 100,
+ MainConfig_true);
// TRANSLATORS: settings group
- new SetupItemLabel(_("Onscreen buttons"), "", this);
+ new SetupItemLabel(_("Onscreen buttons"), "", this,
+ Separator_true);
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Show onscreen buttons"), "",
- "showScreenButtons", this, "showScreenButtonsEvent");
+ "showScreenButtons", this, "showScreenButtonsEvent",
+ MainConfig_true);
// TRANSLATORS: settings option
new SetupItemDropDown(_("Buttons format"), "", "screenButtonsFormat", this,
- "screenButtonsFormatEvent", mFormatList, 100);
+ "screenButtonsFormatEvent", mFormatList, 100,
+ MainConfig_true);
// TRANSLATORS: settings option
new SetupItemDropDown(_("Buttons size"), "", "screenButtonsSize", this,
- "screenButtonsSizeEvent", mSizeList, 100);
+ "screenButtonsSizeEvent", mSizeList, 100,
+ MainConfig_true);
for (unsigned int f = 0; f < 12; f ++)
{