summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-11 15:46:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-11 15:46:28 +0300
commitead6c86c13f17c15376e371c60248cdf8aa91b5b (patch)
treef62d8ad3d2b2a2528c7010621c187f4bd70a6833
parent5001fa194c820422dd5de2dd655c17bde131e1cb (diff)
downloadmanaplus-ead6c86c13f17c15376e371c60248cdf8aa91b5b.tar.gz
manaplus-ead6c86c13f17c15376e371c60248cdf8aa91b5b.tar.bz2
manaplus-ead6c86c13f17c15376e371c60248cdf8aa91b5b.tar.xz
manaplus-ead6c86c13f17c15376e371c60248cdf8aa91b5b.zip
enable background in all themes for npc item container.
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/npc.xml25
-rw-r--r--data/themes/enchilado/CMakeLists.txt1
-rw-r--r--data/themes/enchilado/Makefile.am1
-rw-r--r--data/themes/enchilado/npc.xml25
-rw-r--r--data/themes/jewelry/npc.xml1
-rw-r--r--data/themes/pink/CMakeLists.txt1
-rw-r--r--data/themes/pink/Makefile.am1
-rw-r--r--data/themes/pink/npc.xml25
-rw-r--r--data/themes/unity/npc.xml1
-rw-r--r--data/themes/wood/CMakeLists.txt1
-rw-r--r--data/themes/wood/Makefile.am1
-rw-r--r--data/themes/wood/npc.xml26
14 files changed, 111 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index 444dd3cf5..fa0d61602 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -37,6 +37,7 @@ SET (FILES
listbox.xml
ministatus.xml
mouse.png
+ npc.xml
ok.xml
outfits.xml
playerbox.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index cf0109322..d43339e39 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -40,6 +40,7 @@ gui_DATA = \
listbox.xml \
ministatus.xml \
mouse.png \
+ npc.xml \
ok.xml \
outfits.xml \
playerbox.xml \
diff --git a/data/graphics/gui/npc.xml b/data/graphics/gui/npc.xml
new file mode 100644
index 000000000..786ea9ac2
--- /dev/null
+++ b/data/graphics/gui/npc.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="showitemsbackground" value="1" />
+
+ <!-- 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="86" width="32" height="57" />
+ <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> \ No newline at end of file
diff --git a/data/themes/enchilado/CMakeLists.txt b/data/themes/enchilado/CMakeLists.txt
index f14fdd481..b0a33dde3 100644
--- a/data/themes/enchilado/CMakeLists.txt
+++ b/data/themes/enchilado/CMakeLists.txt
@@ -4,6 +4,7 @@ SET (FILES
equipment.xml
info.xml
inventory.xml
+ npc.xml
ok.xml
outfits.xml
popup.xml
diff --git a/data/themes/enchilado/Makefile.am b/data/themes/enchilado/Makefile.am
index 4823a123b..27a081d61 100644
--- a/data/themes/enchilado/Makefile.am
+++ b/data/themes/enchilado/Makefile.am
@@ -7,6 +7,7 @@ gui_DATA = \
equipment.xml \
info.xml \
inventory.xml \
+ npc.xml \
ok.xml \
outfits.xml \
popup.xml \
diff --git a/data/themes/enchilado/npc.xml b/data/themes/enchilado/npc.xml
new file mode 100644
index 000000000..b8d599d09
--- /dev/null
+++ b/data/themes/enchilado/npc.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="190" ypos="30">
+ <option name="showitemsbackground" value="1" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="127" height="10" />
+ <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="81" />
+ <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" />
+ <part type="right-edge" xpos="139" ypos="11" width="12" height="81" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" />
+ <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" />
+ <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" />
+
+ <part type="closeImage" xpos="-60" ypos="-30" width="15" height="15" />
+ <part type="stickyImageUp" xpos="-60" ypos="21" width="15" height="15" />
+ <part type="stickyImageDown" xpos="-45" ypos="21" width="15" height="15" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry/npc.xml b/data/themes/jewelry/npc.xml
index c651b5284..436487edb 100644
--- a/data/themes/jewelry/npc.xml
+++ b/data/themes/jewelry/npc.xml
@@ -3,6 +3,7 @@
<widget type="Window" xpos="260" ypos="0">
<option name="showlistbackground" value="1" />
<option name="showtextbackground" value="1" />
+ <option name="showitemsbackground" value="1" />
<option name="captionoffsetx" value="20" />
<option name="captionoffsety" value="7" />
<option name="titlebarBold" value="1" />
diff --git a/data/themes/pink/CMakeLists.txt b/data/themes/pink/CMakeLists.txt
index b1d3af540..531846e40 100644
--- a/data/themes/pink/CMakeLists.txt
+++ b/data/themes/pink/CMakeLists.txt
@@ -5,6 +5,7 @@ SET (FILES
equipment.xml
info.xml
inventory.xml
+ npc.xml
ok.xml
outfits.xml
popup.xml
diff --git a/data/themes/pink/Makefile.am b/data/themes/pink/Makefile.am
index 99d670e0f..3c1deec40 100644
--- a/data/themes/pink/Makefile.am
+++ b/data/themes/pink/Makefile.am
@@ -8,6 +8,7 @@ gui_DATA = \
equipment.xml \
info.xml \
inventory.xml \
+ npc.xml \
ok.xml \
outfits.xml \
popup.xml \
diff --git a/data/themes/pink/npc.xml b/data/themes/pink/npc.xml
new file mode 100644
index 000000000..be9d1db49
--- /dev/null
+++ b/data/themes/pink/npc.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="250" ypos="0">
+ <option name="showitemsbackground" value="1" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="0" ypos="10" width="10" height="10" />
+ <part type="top-right-corner" xpos="0" ypos="20" width="10" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="30" width="10" height="10" />
+ <part type="bg-quad" xpos="0" ypos="40" width="10" height="10" />
+ <part type="right-edge" xpos="0" ypos="50" width="10" height="10" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="60" width="10" height="10" />
+ <part type="bottom-edge" xpos="0" ypos="70" width="10" height="10" />
+ <part type="bottom-right-corner" xpos="10" ypos="0" width="132" height="134" />
+
+ <part type="closeImage" xpos="-120" ypos="0" width="15" height="15" />
+ <part type="stickyImageUp" xpos="-120" ypos="51" width="15" height="15" />
+ <part type="stickyImageDown" xpos="-105" ypos="51" width="15" height="15" />
+ </widget>
+</skinset>
diff --git a/data/themes/unity/npc.xml b/data/themes/unity/npc.xml
index 5d3d2941c..cc7058368 100644
--- a/data/themes/unity/npc.xml
+++ b/data/themes/unity/npc.xml
@@ -3,6 +3,7 @@
<widget type="Window" xpos="260" ypos="0">
<option name="showlistbackground" value="1" />
<option name="showtextbackground" value="1" />
+ <option name="showitemsbackground" value="1" />
<option name="padding" value="10" />
<!-- Top Row -->
diff --git a/data/themes/wood/CMakeLists.txt b/data/themes/wood/CMakeLists.txt
index f9fa12651..1486aa35e 100644
--- a/data/themes/wood/CMakeLists.txt
+++ b/data/themes/wood/CMakeLists.txt
@@ -6,6 +6,7 @@ SET (FILES
inventory.xml
item_shortcut_bgr.png
mouse.png
+ npc.xml
ok.xml
outfits.xml
popup.xml
diff --git a/data/themes/wood/Makefile.am b/data/themes/wood/Makefile.am
index 3984e5f7f..a47d7cb8b 100644
--- a/data/themes/wood/Makefile.am
+++ b/data/themes/wood/Makefile.am
@@ -9,6 +9,7 @@ gui_DATA = \
inventory.xml \
item_shortcut_bgr.png \
mouse.png \
+ npc.xml \
ok.xml \
outfits.xml \
popup.xml \
diff --git a/data/themes/wood/npc.xml b/data/themes/wood/npc.xml
new file mode 100644
index 000000000..2dbfe8067
--- /dev/null
+++ b/data/themes/wood/npc.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="260" ypos="0">
+ <option name="padding" value="6" />
+ <option name="showitemsbackground" value="1" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="127" height="10" />
+ <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="81" />
+ <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" />
+ <part type="right-edge" xpos="139" ypos="11" width="12" height="81" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" />
+ <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" />
+ <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" />
+
+ <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="-115" ypos="51" width="15" height="15" />
+ </widget>
+</skinset>