summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-18 23:29:48 +0100
committerIra Rice <irarice@gmail.com>2009-01-18 16:09:53 -0700
commit640b37b66712d22afd5c453f6aebc4abf7dcd442 (patch)
treea2c00b2ace9c8e146ef3433916da449d396e34b0 /src/gui/setup_video.h
parent7b38f31192be70463cfa1fa6f0ffe13181fc26a9 (diff)
downloadmana-640b37b66712d22afd5c453f6aebc4abf7dcd442.tar.gz
mana-640b37b66712d22afd5c453f6aebc4abf7dcd442.tar.bz2
mana-640b37b66712d22afd5c453f6aebc4abf7dcd442.tar.xz
mana-640b37b66712d22afd5c453f6aebc4abf7dcd442.zip
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.
Diffstat (limited to 'src/gui/setup_video.h')
-rw-r--r--src/gui/setup_video.h10
1 files changed, 5 insertions, 5 deletions
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