summaryrefslogtreecommitdiff
path: root/data/graphics/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-21 15:24:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-21 15:24:58 +0300
commita77b9d248fdaadef39248dd3773354b75138a831 (patch)
treef8c80394510fb7f16bc948338e2a5507d7016e78 /data/graphics/gui
parent8048bed1e902feba8c623f68badbba946b0a24ac (diff)
downloadmanaplus-a77b9d248fdaadef39248dd3773354b75138a831.tar.gz
manaplus-a77b9d248fdaadef39248dd3773354b75138a831.tar.bz2
manaplus-a77b9d248fdaadef39248dd3773354b75138a831.tar.xz
manaplus-a77b9d248fdaadef39248dd3773354b75138a831.zip
Extend theming itemcontainer (used in inventory, trade window etc)
New theme file: itemcontainer.xml Options in file: boxWidth - item box width. Default value 35. boxHeight - item box height. Default value 53. equippedTextPadding - padding for item amount or equipped text. Default value 29.
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/itemcontainer.xml7
3 files changed, 9 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index afb60b61d..b3822cbdb 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -26,6 +26,7 @@ SET (FILES
inventory.xml
item_selection.xml
item_shortcut_background.xml
+ itemcontainer.xml
label.xml
listbox.xml
mouse.png
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 1e3d802f8..3f789b401 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -29,6 +29,7 @@ gui_DATA = \
inventory.xml \
item_selection.xml \
item_shortcut_background.xml \
+ itemcontainer.xml \
label.xml \
listbox.xml \
mouse.png \
diff --git a/data/graphics/gui/itemcontainer.xml b/data/graphics/gui/itemcontainer.xml
new file mode 100644
index 000000000..1e320ddef
--- /dev/null
+++ b/data/graphics/gui/itemcontainer.xml
@@ -0,0 +1,7 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="boxWidth" value="35" />
+ <option name="boxHeight" value="53" />
+ <option name="equippedTextPadding" value="29" />
+ </widget>
+</skinset>