summaryrefslogtreecommitdiff
path: root/data/graphics/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-12 01:37:05 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-12 01:37:05 +0300
commitebb73f6dd78ecd616cbb56cf426d43cfcb3e3dd2 (patch)
treef4f54a4794cab34d1366f32b90a7fc6d44f074c6 /data/graphics/gui
parent5bab162bfa65fddfca94e67c930dfb01dee576fa (diff)
downloadplus-ebb73f6dd78ecd616cbb56cf426d43cfcb3e3dd2.tar.gz
plus-ebb73f6dd78ecd616cbb56cf426d43cfcb3e3dd2.tar.bz2
plus-ebb73f6dd78ecd616cbb56cf426d43cfcb3e3dd2.tar.xz
plus-ebb73f6dd78ecd616cbb56cf426d43cfcb3e3dd2.zip
Add new parameters to equipment window tehming.
New parameters: itemPadding - ofset in pixels from left top corner or item box boxSize - slot item box size (by default 36 px)
Diffstat (limited to 'data/graphics/gui')
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/equipment.xml25
3 files changed, 27 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index c19714e94..2d1566b1a 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -17,6 +17,7 @@ SET (FILES
dropdown_background.xml
dropdown_pressed.xml
emote_selection.xml
+ equipment.xml
equipment_background.xml
equipment_playerbox.xml
equipmentbox.png
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 221418c71..5da480034 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -20,6 +20,7 @@ gui_DATA = \
dropdown_background.xml \
dropdown_pressed.xml \
emote_selection.xml \
+ equipment.xml \
equipment_background.xml \
equipment_playerbox.xml \
equipmentbox.png \
diff --git a/data/graphics/gui/equipment.xml b/data/graphics/gui/equipment.xml
new file mode 100644
index 000000000..f353e5a1e
--- /dev/null
+++ b/data/graphics/gui/equipment.xml
@@ -0,0 +1,25 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="itemPadding" value="2" />
+ <option name="boxSize" value="36" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="4" height="4" />
+ <part type="top-edge" xpos="4" ypos="0" width="32" height="4" />
+ <part type="top-right-corner" xpos="36" ypos="0" width="4" height="4" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="4" width="4" height="216" />
+ <part type="bg-quad" xpos="4" ypos="4" width="32" height="216" />
+ <part type="right-edge" xpos="36" ypos="4" width="4" height="216" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="220" width="4" height="4" />
+ <part type="bottom-edge" xpos="4" ypos="220" width="32" height="4" />
+ <part type="bottom-right-corner" xpos="36" ypos="220" width="4" height="4" />
+
+ <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="145" ypos="51" width="15" height="15" />
+ </widget>
+</skinset>