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/charcreatedialog.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/charcreatedialog.h')
-rw-r--r-- | src/gui/charcreatedialog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h index 7db506e7f..f14746605 100644 --- a/src/gui/charcreatedialog.h +++ b/src/gui/charcreatedialog.h @@ -33,11 +33,11 @@ class Label; class LocalPlayer; class PlayerBox; +class RadioButton; class TextField; namespace gcn { - class RadioButton; class Slider; } @@ -122,9 +122,9 @@ class CharCreateDialog final : public Window, Button *mActionButton; Button *mRotateButton; - gcn::RadioButton *mMale; - gcn::RadioButton *mFemale; - gcn::RadioButton *mOther; + RadioButton *mMale; + RadioButton *mFemale; + RadioButton *mOther; std::vector<gcn::Slider*> mAttributeSlider; std::vector<Label*> mAttributeLabel; |