From fadf1d8aa0d5beb8be3271086a5865699b2a4acc Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 2 Aug 2012 22:07:46 +0300
Subject: Show backgrounds in unity theme.

---
 data/themes/unity/CMakeLists.txt |  2 ++
 data/themes/unity/Makefile.am    |  2 ++
 data/themes/unity/npc.xml        | 26 ++++++++++++++++++++++++++
 data/themes/unity/social.xml     | 24 ++++++++++++++++++++++++
 4 files changed, 54 insertions(+)
 create mode 100644 data/themes/unity/npc.xml
 create mode 100644 data/themes/unity/social.xml

diff --git a/data/themes/unity/CMakeLists.txt b/data/themes/unity/CMakeLists.txt
index ec17e21a7..d95601721 100644
--- a/data/themes/unity/CMakeLists.txt
+++ b/data/themes/unity/CMakeLists.txt
@@ -4,8 +4,10 @@ SET (FILES
     colors.xml
     inventory.xml
     itempopup.xml
+    npc.xml
     popup.xml
     quests.xml
+    social.xml
     textpopup.xml
     window.png
     window.xml
diff --git a/data/themes/unity/Makefile.am b/data/themes/unity/Makefile.am
index faca6ab65..b654ea853 100644
--- a/data/themes/unity/Makefile.am
+++ b/data/themes/unity/Makefile.am
@@ -7,8 +7,10 @@ gui_DATA =				\
 	colors.xml		\
 	inventory.xml		\
 	itempopup.xml		\
+	npc.xml		\
 	popup.xml		\
 	quests.xml		\
+	social.xml		\
 	textpopup.xml			\
 	window.png			\
 	window.xml
diff --git a/data/themes/unity/npc.xml b/data/themes/unity/npc.xml
new file mode 100644
index 000000000..c2256ab35
--- /dev/null
+++ b/data/themes/unity/npc.xml
@@ -0,0 +1,26 @@
+<skinset name="Default" image="window.png">
+    <widget type="Window" xpos="260" ypos="0">
+        <option name="showlistbackground" value="1" />
+        <option name="showtextbackground" value="1" />
+
+        <option name="padding" value="10" />
+        <!-- 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="-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>
diff --git a/data/themes/unity/social.xml b/data/themes/unity/social.xml
new file mode 100644
index 000000000..0af4a3818
--- /dev/null
+++ b/data/themes/unity/social.xml
@@ -0,0 +1,24 @@
+<skinset name="Default" image="window.png">
+    <widget type="Window" xpos="260" ypos="0">
+        <option name="showtabbackground" value="1" />
+        <option name="padding" value="10" />
+        <!-- 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="-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>
-- 
cgit v1.2.3-70-g09d2