summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-17 18:31:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-17 18:31:26 +0300
commit3ae7d2eff3d20c3042ddac4fd4f205812079b94e (patch)
treef4fb1bc99383c05457e1958e4c825e285f2097ab /src/gui/setup_joystick.h
parentd0827ddf1686bdb97fab96f9f26dc95388919011 (diff)
downloadplus-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.gz
plus-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.bz2
plus-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.xz
plus-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_joystick.h')
-rw-r--r--src/gui/setup_joystick.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/setup_joystick.h b/src/gui/setup_joystick.h
index 2082414dc..17b8f6df1 100644
--- a/src/gui/setup_joystick.h
+++ b/src/gui/setup_joystick.h
@@ -28,15 +28,11 @@
#include <guichan/actionlistener.hpp>
class Button;
+class CheckBox;
class DropDown;
class Label;
class NamesModel;
-namespace gcn
-{
- class CheckBox;
-}
-
class Setup_Joystick final : public SetupTab
{
public:
@@ -58,10 +54,10 @@ class Setup_Joystick final : public SetupTab
Label *mCalibrateLabel;
Button *mCalibrateButton;
bool mOriginalJoystickEnabled;
- gcn::CheckBox *mJoystickEnabled;
+ CheckBox *mJoystickEnabled;
NamesModel *mNamesModel;
DropDown *mNamesDropDown;
- gcn::CheckBox *mUseInactiveCheckBox;
+ CheckBox *mUseInactiveCheckBox;
};
#endif