diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-18 19:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-18 19:02:04 +0300 |
commit | c7ad8d093591214a32cacc79fa25d8e118493093 (patch) | |
tree | 2be3eacaa43c6941862b15ca099eeba8cd292fa5 /src/gui/setup_theme.h | |
parent | 2b4110a217110dfe9919fa3cc70e41c6920ac597 (diff) | |
download | manaplus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.gz manaplus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.bz2 manaplus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.xz manaplus-c7ad8d093591214a32cacc79fa25d8e118493093.zip |
Add button in themes to show additional theme info.
Diffstat (limited to 'src/gui/setup_theme.h')
-rw-r--r-- | src/gui/setup_theme.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/setup_theme.h b/src/gui/setup_theme.h index 9754b7915..2a0152035 100644 --- a/src/gui/setup_theme.h +++ b/src/gui/setup_theme.h @@ -27,6 +27,7 @@ #include <guichan/actionlistener.hpp> +class Button; class DropDown; class EditDialog; class FontsModel; @@ -35,11 +36,6 @@ class Label; class LangListModel; class ThemesModel; -namespace gcn -{ - class DropDown; -} - class Setup_Theme final : public SetupTab { public: @@ -55,6 +51,8 @@ class Setup_Theme final : public SetupTab void action(const gcn::ActionEvent &event) override; + void updateInfo(); + private: Label *mThemeLabel; ThemesModel *mThemesModel; @@ -102,6 +100,8 @@ class Setup_Theme final : public SetupTab int mNpcFontSize; DropDown *mNpcFontSizeDropDown; + Button *mInfoButton; + std::string mThemeInfo; // EditDialog *mEditDialog; }; |