From 640b37b66712d22afd5c453f6aebc4abf7dcd442 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 18 Jan 2009 23:29:48 +0100 Subject: Fixed layout of video setup page when translated Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets. --- src/gui/setup_video.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/setup_video.h') diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h index 370a2d2e..360daff0 100644 --- a/src/gui/setup_video.h +++ b/src/gui/setup_video.h @@ -45,6 +45,11 @@ class Setup_Video : public SetupTab, public gcn::ActionListener, void keyPressed(gcn::KeyEvent &event); private: + void updateSliders(bool originalValues); + + int updateSlider(gcn::Slider *slider, gcn::TextField *field, + const std::string &configName); + bool mFullScreenEnabled; bool mOpenGLEnabled; bool mCustomCursorEnabled; @@ -84,11 +89,6 @@ class Setup_Video : public SetupTab, public gcn::ActionListener, int mParticleDetail; gcn::Slider *mParticleDetailSlider; gcn::Label *mParticleDetailField; - - void updateSliders(bool originalValues); - - int updateSlider(gcn::Slider *slider, gcn::TextField *field, - const std::string &configName); }; #endif -- cgit v1.2.3-60-g2f50