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/theme.h | |
parent | 2b4110a217110dfe9919fa3cc70e41c6920ac597 (diff) | |
download | ManaVerse-c7ad8d093591214a32cacc79fa25d8e118493093.tar.gz ManaVerse-c7ad8d093591214a32cacc79fa25d8e118493093.tar.bz2 ManaVerse-c7ad8d093591214a32cacc79fa25d8e118493093.tar.xz ManaVerse-c7ad8d093591214a32cacc79fa25d8e118493093.zip |
Add button in themes to show additional theme info.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r-- | src/gui/theme.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h index 92ff6073b..680fe63bd 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -39,6 +39,12 @@ class Image; class ImageSet; class ProgressBar; +struct ThemeInfo final +{ + std::string name; + std::string copyright; +}; + class Skin final { public: @@ -333,6 +339,8 @@ class Theme final : public Palette, public ConfigListener static Image *getImageFromThemeXml(const std::string &name, const std::string &name2); + static ThemeInfo *loadInfo(const std::string &themeName); + private: Theme(); |