From 3ae7d2eff3d20c3042ddac4fd4f205812079b94e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Oct 2012 18:31:26 +0300 Subject: 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 --- src/gui/setup_relations.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/setup_relations.h') diff --git a/src/gui/setup_relations.h b/src/gui/setup_relations.h index 0e663aed6..8564c8ab7 100644 --- a/src/gui/setup_relations.h +++ b/src/gui/setup_relations.h @@ -30,6 +30,7 @@ #include class Button; +class CheckBox; class EditDialog; class GuiTable; class PlayerTableModel; @@ -37,7 +38,6 @@ class StaticTableModel; namespace gcn { - class CheckBox; class DropDown; class ListModel; class ScrollArea; @@ -74,8 +74,8 @@ private: GuiTable *mPlayerTitleTable; gcn::ScrollArea *mPlayerScrollArea; - gcn::CheckBox *mDefaultTrading; - gcn::CheckBox *mDefaultWhisper; + CheckBox *mDefaultTrading; + CheckBox *mDefaultWhisper; Button *mDeleteButton; -- cgit v1.2.3-70-g09d2