From 5a9a9d113f88ab4e3f9e570397a744760d4520c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Oct 2012 20:39:51 +0300 Subject: 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 --- src/gui/charcreatedialog.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/charcreatedialog.h') 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 mAttributeSlider; std::vector mAttributeLabel; -- cgit v1.2.3-70-g09d2