summaryrefslogtreecommitdiff
path: root/data/graphics/gui/equipment_playerbox.xml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-21 16:47:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-21 16:47:58 +0300
commitaaddd74d15f8701283623b45a63262084055c291 (patch)
treea23dc5a98c9de25bf4db8ba2d0469ebc2c7c015a /data/graphics/gui/equipment_playerbox.xml
parentaff65854a6301a74b098f376cd8ff83dd5f503d4 (diff)
downloadmanaverse-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/graphics/gui/equipment_playerbox.xml')
-rw-r--r--data/graphics/gui/equipment_playerbox.xml32
1 files changed, 18 insertions, 14 deletions
diff --git a/data/graphics/gui/equipment_playerbox.xml b/data/graphics/gui/equipment_playerbox.xml
index 7a8b829f8..72ed13a7c 100644
--- a/data/graphics/gui/equipment_playerbox.xml
+++ b/data/graphics/gui/equipment_playerbox.xml
@@ -1,18 +1,22 @@
<skinset name="Default" image="window.png">
- <widget type="Window" xpos="75" ypos="186">
- <!-- Top Row -->
- <part type="top-left-corner" xpos="0" ypos="0" width="4" height="4" />
- <part type="top-edge" xpos="3" ypos="0" width="26" height="4" />
- <part type="top-right-corner" xpos="28" ypos="0" width="4" height="4" />
+ <widget type="Window" xpos="75" ypos="186">
+ <option name="offsetX" value="-16" />
+ <option name="offsetY" value="-32" />
+ <option name="frameSize" value="2" />
- <!-- Middle Row -->
- <part type="left-edge" xpos="0" ypos="3" width="4" height="26" />
- <part type="bg-quad" xpos="3" ypos="3" width="26" height="26" />
- <part type="right-edge" xpos="28" ypos="3" width="4" height="26" />
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="4" height="4" />
+ <part type="top-edge" xpos="3" ypos="0" width="26" height="4" />
+ <part type="top-right-corner" xpos="28" ypos="0" width="4" height="4" />
- <!-- Bottom Row -->
- <part type="bottom-left-corner" xpos="0" ypos="28" width="4" height="4" />
- <part type="bottom-edge" xpos="3" ypos="28" width="26" height="4" />
- <part type="bottom-right-corner" xpos="28" ypos="28" width="4" height="4" />
- </widget>
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="3" width="4" height="26" />
+ <part type="bg-quad" xpos="3" ypos="3" width="26" height="26" />
+ <part type="right-edge" xpos="28" ypos="3" width="4" height="26" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="28" width="4" height="4" />
+ <part type="bottom-edge" xpos="3" ypos="28" width="26" height="4" />
+ <part type="bottom-right-corner" xpos="28" ypos="28" width="4" height="4" />
+ </widget>
</skinset>