summaryrefslogtreecommitdiff
path: root/data/graphics
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-23 01:27:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-23 01:27:28 +0300
commitb829d239006538b2e669f4aab191ffa5ad37af68 (patch)
treea492be3847f3e3b0704b60909313cfe55dba7ca5 /data/graphics
parent70bf45e429a649f59484968d0484a4326ed1a3e9 (diff)
downloadmanaplus-b829d239006538b2e669f4aab191ffa5ad37af68.tar.gz
manaplus-b829d239006538b2e669f4aab191ffa5ad37af68.tar.bz2
manaplus-b829d239006538b2e669f4aab191ffa5ad37af68.tar.xz
manaplus-b829d239006538b2e669f4aab191ffa5ad37af68.zip
Add skin offsets for images and text in shortcut containers.
Diffstat (limited to 'data/graphics')
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/emotes.xml25
3 files changed, 27 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index 5bd85f9f6..8692e5301 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -30,6 +30,7 @@ SET (FILES
dropdown_background.xml
dropdown_pressed.xml
emote_selection.xml
+ emotes.xml
emotetabs.xml
equipment.xml
equipment_background.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 083fe0423..9e1b7b66d 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -33,6 +33,7 @@ gui_DATA = \
dropdown_background.xml \
dropdown_pressed.xml \
emote_selection.xml \
+ emotes.xml \
emotetabs.xml \
equipment.xml \
equipment_background.xml \
diff --git a/data/graphics/gui/emotes.xml b/data/graphics/gui/emotes.xml
new file mode 100644
index 000000000..b760106b1
--- /dev/null
+++ b/data/graphics/gui/emotes.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="imageOffsetY" value="10" />
+
+ <!-- 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