diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-17 20:39:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-17 20:41:27 +0300 |
commit | 5a9a9d113f88ab4e3f9e570397a744760d4520c1 (patch) | |
tree | 68d5b87dbb37f556ad74b23d09d073c41a73c6c5 /src/gui/registerdialog.h | |
parent | 098901c3c49ddaed12ecdcf1739a5f680b457dfe (diff) | |
download | manaverse-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.gz manaverse-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.bz2 manaverse-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.xz manaverse-5a9a9d113f88ab4e3f9e570397a744760d4520c1.zip |
Extend radio button 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/registerdialog.h')
-rw-r--r-- | src/gui/registerdialog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/registerdialog.h b/src/gui/registerdialog.h index e11bc7e40..d21cf802d 100644 --- a/src/gui/registerdialog.h +++ b/src/gui/registerdialog.h @@ -33,10 +33,10 @@ class Button; class LoginData; class OkDialog; +class RadioButton; namespace gcn { - class RadioButton; class TextField; } @@ -108,9 +108,9 @@ class RegisterDialog final : public Window, public gcn::ActionListener, gcn::TextField *mEmailField; Button *mRegisterButton; Button *mCancelButton; - gcn::RadioButton *mMaleButton; - gcn::RadioButton *mFemaleButton; - gcn::RadioButton *mOtherButton; + RadioButton *mMaleButton; + RadioButton *mFemaleButton; + RadioButton *mOtherButton; WrongDataNoticeListener *mWrongDataNoticeListener; }; |