diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
commit | 066488a6f4d086b57f4fe32e8799c207552cccb7 (patch) | |
tree | 2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/setup_theme.h | |
parent | 0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff) | |
download | manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2 manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz manaplus-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.h | 22 |
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; |