summaryrefslogtreecommitdiff
path: root/src/gui/logindialog.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/logindialog.h
parentd0827ddf1686bdb97fab96f9f26dc95388919011 (diff)
downloadmv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.gz
mv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.bz2
mv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.xz
mv-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/logindialog.h')
-rw-r--r--src/gui/logindialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/logindialog.h b/src/gui/logindialog.h
index 8cc94df04..d08eade5e 100644
--- a/src/gui/logindialog.h
+++ b/src/gui/logindialog.h
@@ -33,6 +33,7 @@
#include <vector>
class Button;
+class CheckBox;
class DropDown;
class Label;
class LoginData;
@@ -41,7 +42,6 @@ class UpdateTypeModel;
namespace gcn
{
- class CheckBox;
class TextField;
}
@@ -90,7 +90,7 @@ class LoginDialog final : public Window, public gcn::ActionListener,
gcn::TextField *mUserField;
gcn::TextField *mPassField;
- gcn::CheckBox *mKeepCheck;
+ CheckBox *mKeepCheck;
Label *mUpdateTypeLabel;
Label *mUpdateHostLabel;
UpdateTypeModel *mUpdateTypeModel;
@@ -98,7 +98,7 @@ class LoginDialog final : public Window, public gcn::ActionListener,
Button *mServerButton;
Button *mLoginButton;
Button *mRegisterButton;
- gcn::CheckBox *mCustomUpdateHost;
+ CheckBox *mCustomUpdateHost;
gcn::TextField *mUpdateHostText;
UpdateListModel *mUpdateListModel;
DropDown *mUpdateHostDropDown;