From c7ad8d093591214a32cacc79fa25d8e118493093 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Oct 2012 19:02:04 +0300 Subject: Add button in themes to show additional theme info. --- src/gui/setup_theme.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/setup_theme.h') 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 +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; }; -- cgit v1.2.3-70-g09d2