summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-18 19:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-18 19:02:04 +0300
commitc7ad8d093591214a32cacc79fa25d8e118493093 (patch)
tree2be3eacaa43c6941862b15ca099eeba8cd292fa5 /src/gui/setup_theme.h
parent2b4110a217110dfe9919fa3cc70e41c6920ac597 (diff)
downloadplus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.gz
plus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.bz2
plus-c7ad8d093591214a32cacc79fa25d8e118493093.tar.xz
plus-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.h10
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;
};