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/graphics/gui | |
parent | aff65854a6301a74b098f376cd8ff83dd5f503d4 (diff) | |
download | plus-aaddd74d15f8701283623b45a63262084055c291.tar.gz plus-aaddd74d15f8701283623b45a63262084055c291.tar.bz2 plus-aaddd74d15f8701283623b45a63262084055c291.tar.xz plus-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')
-rw-r--r-- | data/graphics/gui/charcreate_playerbox.xml | 32 | ||||
-rw-r--r-- | data/graphics/gui/equipment_playerbox.xml | 32 | ||||
-rw-r--r-- | data/graphics/gui/playerbox.xml | 34 |
3 files changed, 55 insertions, 43 deletions
diff --git a/data/graphics/gui/charcreate_playerbox.xml b/data/graphics/gui/charcreate_playerbox.xml index 7a8b829f8..72ed13a7c 100644 --- a/data/graphics/gui/charcreate_playerbox.xml +++ b/data/graphics/gui/charcreate_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> 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> diff --git a/data/graphics/gui/playerbox.xml b/data/graphics/gui/playerbox.xml index 5fc994df5..7e8a91482 100644 --- a/data/graphics/gui/playerbox.xml +++ b/data/graphics/gui/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="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="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="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> |