summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_video.cpp30
-rw-r--r--src/gui/setup_video.h6
2 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 4e62d5445..14de7cb1a 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -211,20 +211,6 @@ Setup_Video::Setup_Video(const Widget2 *const widget) :
// TRANSLATORS: video settings checkbox
mFsCheckBox(new CheckBox(this, _("Full screen"), mFullScreenEnabled)),
mOpenGLDropDown(new DropDown(widget, mOpenGLListModel)),
- mCustomCursorCheckBox(new CheckBox(this,
-#ifdef ANDROID
- // TRANSLATORS: video settings checkbox
- _("Show cursor"),
-#else
- // TRANSLATORS: video settings checkbox
- _("Custom cursor"),
-#endif
- mCustomCursorEnabled)),
- // TRANSLATORS: video settings checkbox
- mEnableResizeCheckBox(new CheckBox(this, _("Enable resize"),
- mEnableResize)),
- // TRANSLATORS: video settings checkbox
- mNoFrameCheckBox(new CheckBox(this, _("No frame"), mNoFrame)),
// TRANSLATORS: video settings checkbox
mFpsCheckBox(new CheckBox(this, _("FPS limit:"))),
mFpsSlider(new Slider(2, 160)),
@@ -239,7 +225,21 @@ Setup_Video::Setup_Video(const Widget2 *const widget) :
mDialog(nullptr),
mCustomCursorEnabled(config.getBoolValue("customcursor")),
mEnableResize(config.getBoolValue("enableresize")),
- mNoFrame(config.getBoolValue("noframe"))
+ mNoFrame(config.getBoolValue("noframe")),
+ mCustomCursorCheckBox(new CheckBox(this,
+#ifdef ANDROID
+ // TRANSLATORS: video settings checkbox
+ _("Show cursor"),
+#else
+ // TRANSLATORS: video settings checkbox
+ _("Custom cursor"),
+#endif
+ mCustomCursorEnabled)),
+ // TRANSLATORS: video settings checkbox
+ mEnableResizeCheckBox(new CheckBox(this, _("Enable resize"),
+ mEnableResize)),
+ // TRANSLATORS: video settings checkbox
+ mNoFrameCheckBox(new CheckBox(this, _("No frame"), mNoFrame))
{
// TRANSLATORS: video settings tab name
setName(_("Video"));
diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h
index bd77e32b5..2c0224f06 100644
--- a/src/gui/setup_video.h
+++ b/src/gui/setup_video.h
@@ -64,9 +64,6 @@ class Setup_Video final : public SetupTab, public gcn::KeyListener
ListBox *mModeList;
CheckBox *mFsCheckBox;
DropDown *mOpenGLDropDown;
- CheckBox *mCustomCursorCheckBox;
- CheckBox *mEnableResizeCheckBox;
- CheckBox *mNoFrameCheckBox;
CheckBox *mFpsCheckBox;
Slider *mFpsSlider;
Label *mFpsLabel;
@@ -79,6 +76,9 @@ class Setup_Video final : public SetupTab, public gcn::KeyListener
bool mCustomCursorEnabled;
bool mEnableResize;
bool mNoFrame;
+ CheckBox *mCustomCursorCheckBox;
+ CheckBox *mEnableResizeCheckBox;
+ CheckBox *mNoFrameCheckBox;
};
#endif // GUI_SETUP_VIDEO_H