diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-21 15:24:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-21 15:24:58 +0300 |
commit | a77b9d248fdaadef39248dd3773354b75138a831 (patch) | |
tree | f8c80394510fb7f16bc948338e2a5507d7016e78 /data/graphics/gui | |
parent | 8048bed1e902feba8c623f68badbba946b0a24ac (diff) | |
download | plus-a77b9d248fdaadef39248dd3773354b75138a831.tar.gz plus-a77b9d248fdaadef39248dd3773354b75138a831.tar.bz2 plus-a77b9d248fdaadef39248dd3773354b75138a831.tar.xz plus-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.txt | 1 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/gui/itemcontainer.xml | 7 |
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> |