summaryrefslogtreecommitdiff
path: root/data/graphics
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-07-01 14:51:23 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-07-01 14:51:23 +0000
commitd3ccf6a0b97ce4189eef4fde606cf5b5f93fac14 (patch)
treef4c4e5b1cc87b34d0a3946c3409882ba222e2ad7 /data/graphics
parent59c17d5f465ddcf1956e8cdf1aae1dbda0a1431f (diff)
downloadmana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.gz
mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.bz2
mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.xz
mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.zip
Ported some GUI improvements from Legend of Mazeroth (GUI skinning via XML files, item descriptions on mouse-over, map names in minimap window, speech bubbles)
Diffstat (limited to 'data/graphics')
-rw-r--r--data/graphics/gui/default.pngbin0 -> 1395 bytes
-rw-r--r--data/graphics/gui/gui.xml18
-rw-r--r--data/graphics/gui/speech_bubble.pngbin0 -> 2031 bytes
-rw-r--r--data/graphics/gui/speechbubble.xml18
4 files changed, 36 insertions, 0 deletions
diff --git a/data/graphics/gui/default.png b/data/graphics/gui/default.png
new file mode 100644
index 00000000..4c312487
--- /dev/null
+++ b/data/graphics/gui/default.png
Binary files differ
diff --git a/data/graphics/gui/gui.xml b/data/graphics/gui/gui.xml
new file mode 100644
index 00000000..fe62528e
--- /dev/null
+++ b/data/graphics/gui/gui.xml
@@ -0,0 +1,18 @@
+<skinset name="Default" image="default.png">
+ <widget type="Window">
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="4" height="4" />
+ <part type="top-edge" xpos="4" ypos="0" width="3" height="4" />
+ <part type="top-right-corner" xpos="7" ypos="0" width="4" height="4" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="4" width="4" height="10" />
+ <part type="bg-quad" xpos="11" ypos="0" width="32" height="32" />
+ <part type="right-edge" xpos="7" ypos="4" width="4" height="10" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="15" width="4" height="4" />
+ <part type="bottom-edge" xpos="4" ypos="15" width="3" height="4" />
+ <part type="bottom-right-corner" xpos="7" ypos="15" width="4" height="4" />
+ </widget>
+</skinset> \ No newline at end of file
diff --git a/data/graphics/gui/speech_bubble.png b/data/graphics/gui/speech_bubble.png
new file mode 100644
index 00000000..3e678099
--- /dev/null
+++ b/data/graphics/gui/speech_bubble.png
Binary files differ
diff --git a/data/graphics/gui/speechbubble.xml b/data/graphics/gui/speechbubble.xml
new file mode 100644
index 00000000..1b11ea85
--- /dev/null
+++ b/data/graphics/gui/speechbubble.xml
@@ -0,0 +1,18 @@
+<skinset name="SpeechBubble" image="speech_bubble.png">
+ <widget type="Window">
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="14" height="14" />
+ <part type="top-edge" xpos="15" ypos="0" width="1" height="14" />
+ <part type="top-right-corner" xpos="17" ypos="0" width="17" height="14" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="15" width="14" height="1" />
+ <part type="bg-quad" xpos="34" ypos="0" width="32" height="32" />
+ <part type="right-edge" xpos="17" ypos="15" width="17" height="1" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="17" width="14" height="17" />
+ <part type="bottom-edge" xpos="15" ypos="17" width="1" height="17" />
+ <part type="bottom-right-corner" xpos="17" ypos="17" width="17" height="17" />
+ </widget>
+</skinset> \ No newline at end of file