diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-17 18:31:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-17 18:31:26 +0300 |
commit | 3ae7d2eff3d20c3042ddac4fd4f205812079b94e (patch) | |
tree | f4fb1bc99383c05457e1958e4c825e285f2097ab /src/gui/setup_video.h | |
parent | d0827ddf1686bdb97fab96f9f26dc95388919011 (diff) | |
download | manaverse-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.gz manaverse-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.bz2 manaverse-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.xz manaverse-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.zip |
Extend checkbox theming.
New options:
padding - padding from all sides except left
imagePadding - padding from left before image
imageSize - image size for computation width
spacing - space between image and text
width = imagePadding + imageSize + spacing + text width + padding
height = padding + text height + padding
Diffstat (limited to 'src/gui/setup_video.h')
-rw-r--r-- | src/gui/setup_video.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h index 6ae5af1d6..6144de8d8 100644 --- a/src/gui/setup_video.h +++ b/src/gui/setup_video.h @@ -31,6 +31,7 @@ #include <guichan/keylistener.hpp> class Button; +class CheckBox; class Label; class ListBox; class ModeListModel; @@ -39,7 +40,6 @@ class TextDialog; namespace gcn { - class CheckBox; class DropDown; class Slider; } @@ -78,14 +78,14 @@ class Setup_Video final : public SetupTab, public gcn::KeyListener Label *scrollLazinessLabel; ListBox *mModeList; - gcn::CheckBox *mFsCheckBox; + CheckBox *mFsCheckBox; gcn::DropDown *mOpenGLDropDown; - gcn::CheckBox *mCustomCursorCheckBox; + CheckBox *mCustomCursorCheckBox; - gcn::CheckBox *mEnableResizeCheckBox; - gcn::CheckBox *mNoFrameCheckBox; + CheckBox *mEnableResizeCheckBox; + CheckBox *mNoFrameCheckBox; - gcn::CheckBox *mFpsCheckBox; + CheckBox *mFpsCheckBox; gcn::Slider *mFpsSlider; Label *mFpsLabel; gcn::Slider *mAltFpsSlider; |