diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-21 16:47:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-21 16:47:58 +0300 |
commit | aaddd74d15f8701283623b45a63262084055c291 (patch) | |
tree | a23dc5a98c9de25bf4db8ba2d0469ebc2c7c015a /data/themes/jewelry/playerbox.xml | |
parent | aff65854a6301a74b098f376cd8ff83dd5f503d4 (diff) | |
download | ManaVerse-aaddd74d15f8701283623b45a63262084055c291.tar.gz ManaVerse-aaddd74d15f8701283623b45a63262084055c291.tar.bz2 ManaVerse-aaddd74d15f8701283623b45a63262084055c291.tar.xz ManaVerse-aaddd74d15f8701283623b45a63262084055c291.zip |
Extend playerbox theming.
New theme options:
offsetX - offset for player by x. Default -16
offsetY - offset for player by y. Default -32
frameSize - frame size. Default 2
Diffstat (limited to 'data/themes/jewelry/playerbox.xml')
-rw-r--r-- | data/themes/jewelry/playerbox.xml | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/data/themes/jewelry/playerbox.xml b/data/themes/jewelry/playerbox.xml index 1e18e42fe..8b9b1b412 100644 --- a/data/themes/jewelry/playerbox.xml +++ b/data/themes/jewelry/playerbox.xml @@ -1,19 +1,23 @@ <skinset name="Default" image="window.png"> - <widget type="Window" xpos="41" ypos="186"> - <option name="drawbackground" value="1" /> - <!-- Top Row --> - <part type="top-left-corner" xpos="0" ypos="0" width="5" height="5" /> - <part type="top-edge" xpos="5" ypos="0" width="20" height="5" /> - <part type="top-right-corner" xpos="27" ypos="0" width="5" height="5" /> + <widget type="Window" xpos="41" ypos="186"> + <option name="drawbackground" value="1" /> + <option name="offsetX" value="-16" /> + <option name="offsetY" value="-32" /> + <option name="frameSize" value="2" /> - <!-- Middle Row --> - <part type="left-edge" xpos="0" ypos="5" width="5" height="20" /> - <part type="bg-quad" xpos="5" ypos="5" width="20" height="20" /> - <part type="right-edge" xpos="27" ypos="5" width="5" height="20" /> - - <!-- Bottom Row --> - <part type="bottom-left-corner" xpos="0" ypos="27" width="5" height="5" /> - <part type="bottom-edge" xpos="5" ypos="27" width="20" height="5" /> - <part type="bottom-right-corner" xpos="27" ypos="27" width="5" height="5" /> - </widget> + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="5" height="5" /> + <part type="top-edge" xpos="5" ypos="0" width="20" height="5" /> + <part type="top-right-corner" xpos="27" ypos="0" width="5" height="5" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="5" width="5" height="20" /> + <part type="bg-quad" xpos="5" ypos="5" width="20" height="20" /> + <part type="right-edge" xpos="27" ypos="5" width="5" height="20" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="5" height="5" /> + <part type="bottom-edge" xpos="5" ypos="27" width="20" height="5" /> + <part type="bottom-right-corner" xpos="27" ypos="27" width="5" height="5" /> + </widget> </skinset> |