summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-11 02:07:42 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-13 01:02:41 +0300
commit1df2b0fb0bc00991eb506ed8915be4b7674e534d (patch)
tree32b5d5c53063b221a089329ffbf84851f5f8b281 /src/gui/theme.h
parent47e405bb722a222ae7e536bbada2c44d8ea0cd73 (diff)
downloadplus-1df2b0fb0bc00991eb506ed8915be4b7674e534d.tar.gz
plus-1df2b0fb0bc00991eb506ed8915be4b7674e534d.tar.bz2
plus-1df2b0fb0bc00991eb506ed8915be4b7674e534d.tar.xz
plus-1df2b0fb0bc00991eb506ed8915be4b7674e534d.zip
Change theme loading.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 144cfd274..bd5359c65 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -272,6 +272,8 @@ class Theme : public Palette, public ConfigListener
void loadRect(ImageRect &image, std::string name,
int start = 0, int end = 8);
+ static Image *getImageFromThemeXml(const std::string &name);
+
private:
Theme();
~Theme();