summaryrefslogtreecommitdiff
path: root/src/gui/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/theme.h
parent2b4110a217110dfe9919fa3cc70e41c6920ac597 (diff)
downloadmv-c7ad8d093591214a32cacc79fa25d8e118493093.tar.gz
mv-c7ad8d093591214a32cacc79fa25d8e118493093.tar.bz2
mv-c7ad8d093591214a32cacc79fa25d8e118493093.tar.xz
mv-c7ad8d093591214a32cacc79fa25d8e118493093.zip
Add button in themes to show additional theme info.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h8
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();