diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-09 20:43:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-13 01:02:41 +0300 |
commit | 47e405bb722a222ae7e536bbada2c44d8ea0cd73 (patch) | |
tree | 65230239ca4f797aafb9dfb60af98b7129c87667 /src/gui/theme.cpp | |
parent | 25ebec2265b2b995bb85ce74f25db8137ea9db87 (diff) | |
download | manaplus-47e405bb722a222ae7e536bbada2c44d8ea0cd73.tar.gz manaplus-47e405bb722a222ae7e536bbada2c44d8ea0cd73.tar.bz2 manaplus-47e405bb722a222ae7e536bbada2c44d8ea0cd73.tar.xz manaplus-47e405bb722a222ae7e536bbada2c44d8ea0cd73.zip |
Change slider theming.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 9bf5adcf6..727777286 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -411,13 +411,21 @@ Skin *Theme::readSkin(const std::string &filename) else loadSkinImage(8, "bottom-right-corner") else - loadSkinImage(0, "up") + loadSkinImage2(0, "up", "hstart") else - loadSkinImage(1, "down") + loadSkinImage2(1, "down", "hmiddle") else - loadSkinImage(2, "left") + loadSkinImage2(2, "left", "hend") else - loadSkinImage(3, "right") + loadSkinImage2(3, "right", "hgrip") + else + loadSkinImage(4, "vstart") + else + loadSkinImage(5, "vmiddle") + else + loadSkinImage(6, "vend") + else + loadSkinImage(7, "vgrip") } else if (xmlNameEqual(partNode, "option")) { |