From 61fe8be42f900b601a7fb757ebcb774a13aa429f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 May 2013 21:28:33 +0300 Subject: improve setup video tab. --- src/gui/setup_video.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/gui/setup_video.h') diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h index 45fcd65cf..86d60987a 100644 --- a/src/gui/setup_video.h +++ b/src/gui/setup_video.h @@ -48,45 +48,37 @@ class Setup_Video final : public SetupTab, public gcn::KeyListener ~Setup_Video(); - void apply(); + void apply() override; - void cancel(); + void cancel() override; void action(const gcn::ActionEvent &event) override; - virtual void externalUpdated(); - private: bool mFullScreenEnabled; int mOpenGLEnabled; - bool mCustomCursorEnabled; int mFps; int mAltFps; - bool mEnableResize; - bool mNoFrame; - ModeListModel *mModeListModel; - OpenGLListModel *mOpenGLListModel; - ListBox *mModeList; CheckBox *mFsCheckBox; DropDown *mOpenGLDropDown; CheckBox *mCustomCursorCheckBox; - CheckBox *mEnableResizeCheckBox; CheckBox *mNoFrameCheckBox; - CheckBox *mFpsCheckBox; Slider *mFpsSlider; Label *mFpsLabel; Slider *mAltFpsSlider; Label *mAltFpsLabel; - #if !defined(ANDROID) && !defined(__APPLE__) Button *mDetectButton; #endif TextDialog *mDialog; + bool mCustomCursorEnabled; + bool mEnableResize; + bool mNoFrame; }; #endif -- cgit v1.2.3-60-g2f50