diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:00:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:30:17 +0300 |
commit | 7a7f5905cf19f6a773dcf9bab762b54c16e325f2 (patch) | |
tree | 4c891cfaa2eadeecd0685782d8cf561c2a79dbf8 /data/themes/unity/progressbar.xml | |
parent | 0c7a1466e8c2c2dd6e15779368c87b62b2da601f (diff) | |
download | manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.gz manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.bz2 manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.xz manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.zip |
Add support for padding in progress bars.
Also fixed progress bars size.
New progress bar attributes:
fillPadding - padding for will rectangle
padding - normal padding for bar
Diffstat (limited to 'data/themes/unity/progressbar.xml')
-rw-r--r-- | data/themes/unity/progressbar.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/data/themes/unity/progressbar.xml b/data/themes/unity/progressbar.xml new file mode 100644 index 000000000..44d1e58f7 --- /dev/null +++ b/data/themes/unity/progressbar.xml @@ -0,0 +1,25 @@ +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="0"> + <option name="padding" value="7" /> + <option name="fillPadding" value="9" /> + + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" /> + <part type="top-edge" xpos="11" ypos="0" width="127" height="10" /> + <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="11" width="10" height="81" /> + <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" /> + <part type="right-edge" xpos="139" ypos="11" width="12" height="81" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" /> + <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" /> + <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" /> + + <part type="closeImage" xpos="-130" ypos="0" width="15" height="15" /> + <part type="stickyImageUp" xpos="-130" ypos="51" width="15" height="15" /> + <part type="stickyImageDown" xpos="-115" ypos="51" width="15" height="15" /> + </widget> +</skinset> |