summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 18:50:27 +0300
commit066488a6f4d086b57f4fe32e8799c207552cccb7 (patch)
tree2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/setup_theme.h
parent0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff)
downloadplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz
plus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2
plus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz
plus-066488a6f4d086b57f4fe32e8799c207552cccb7.zip
Add theming to labels.
New theme file: label.xml Parameters: padding
Diffstat (limited to 'src/gui/setup_theme.h')
-rw-r--r--src/gui/setup_theme.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/setup_theme.h b/src/gui/setup_theme.h
index 1da8ef1a7..1aceda440 100644
--- a/src/gui/setup_theme.h
+++ b/src/gui/setup_theme.h
@@ -31,13 +31,13 @@ class DropDown;
class EditDialog;
class FontsModel;
class FontSizeChoiceListModel;
+class Label;
class LangListModel;
class ThemesModel;
namespace gcn
{
class DropDown;
- class Label;
}
class Setup_Theme final : public SetupTab
@@ -56,49 +56,49 @@ class Setup_Theme final : public SetupTab
void action(const gcn::ActionEvent &event) override;
private:
- gcn::Label *mThemeLabel;
+ Label *mThemeLabel;
ThemesModel *mThemesModel;
DropDown *mThemeDropDown;
std::string mTheme;
FontsModel *mFontsModel;
- gcn::Label *mFontLabel;
+ Label *mFontLabel;
DropDown *mFontDropDown;
std::string mFont;
LangListModel *mLangListModel;
- gcn::Label *mLangLabel;
+ Label *mLangLabel;
DropDown *mLangDropDown;
std::string mLang;
- gcn::Label *mBoldFontLabel;
+ Label *mBoldFontLabel;
DropDown *mBoldFontDropDown;
std::string mBoldFont;
- gcn::Label *mParticleFontLabel;
+ Label *mParticleFontLabel;
DropDown *mParticleFontDropDown;
std::string mParticleFont;
- gcn::Label *mHelpFontLabel;
+ Label *mHelpFontLabel;
DropDown *mHelpFontDropDown;
std::string mHelpFont;
- gcn::Label *mSecureFontLabel;
+ Label *mSecureFontLabel;
DropDown *mSecureFontDropDown;
std::string mSecureFont;
- gcn::Label *mJapanFontLabel;
+ Label *mJapanFontLabel;
DropDown *mJapanFontDropDown;
std::string mJapanFont;
FontSizeChoiceListModel *mFontSizeListModel;
- gcn::Label *mFontSizeLabel;
+ Label *mFontSizeLabel;
int mFontSize;
gcn::DropDown *mFontSizeDropDown;
FontSizeChoiceListModel *mNpcFontSizeListModel;
- gcn::Label *mNpcFontSizeLabel;
+ Label *mNpcFontSizeLabel;
int mNpcFontSize;
gcn::DropDown *mNpcFontSizeDropDown;