summaryrefslogtreecommitdiff
path: root/data/graphics/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-02 01:48:38 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-02 02:41:24 +0200
commit3eeae12c498d1a4dbe969462d2ba841f77ee3ccb (patch)
treeff8eab35e732bc0749fc11677c8873a7b3a58704 /data/graphics/gui
downloadmanaverse-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.gz
manaverse-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.bz2
manaverse-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.xz
manaverse-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.zip
Initial commit.
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.
Diffstat (limited to 'data/graphics/gui')
-rw-r--r--data/graphics/gui/CMakeLists.txt48
-rw-r--r--data/graphics/gui/Makefile.am52
-rw-r--r--data/graphics/gui/bubble.pngbin0 -> 407 bytes
-rw-r--r--data/graphics/gui/button.pngbin0 -> 374 bytes
-rw-r--r--data/graphics/gui/button_disabled.pngbin0 -> 313 bytes
-rw-r--r--data/graphics/gui/buttonhi.pngbin0 -> 374 bytes
-rw-r--r--data/graphics/gui/buttonpress.pngbin0 -> 377 bytes
-rw-r--r--data/graphics/gui/checkbox.pngbin0 -> 802 bytes
-rw-r--r--data/graphics/gui/circle-gray.pngbin0 -> 300 bytes
-rw-r--r--data/graphics/gui/circle-green.pngbin0 -> 328 bytes
-rw-r--r--data/graphics/gui/close_button.pngbin0 -> 650 bytes
-rw-r--r--data/graphics/gui/colors.xml53
-rw-r--r--data/graphics/gui/deepbox.pngbin0 -> 219 bytes
-rw-r--r--data/graphics/gui/hscroll_left_default.pngbin0 -> 358 bytes
-rw-r--r--data/graphics/gui/hscroll_left_highlight.pngbin0 -> 364 bytes
-rw-r--r--data/graphics/gui/hscroll_left_pressed.pngbin0 -> 349 bytes
-rw-r--r--data/graphics/gui/hscroll_right_default.pngbin0 -> 340 bytes
-rw-r--r--data/graphics/gui/hscroll_right_highlight.pngbin0 -> 359 bytes
-rw-r--r--data/graphics/gui/hscroll_right_pressed.pngbin0 -> 350 bytes
-rw-r--r--data/graphics/gui/item_shortcut_bgr.pngbin0 -> 284 bytes
-rw-r--r--data/graphics/gui/mouse.pngbin0 -> 6193 bytes
-rw-r--r--data/graphics/gui/progress-indicator.pngbin0 -> 5533 bytes
-rw-r--r--data/graphics/gui/radioin.pngbin0 -> 454 bytes
-rw-r--r--data/graphics/gui/radioin_highlight.pngbin0 -> 485 bytes
-rw-r--r--data/graphics/gui/radioout.pngbin0 -> 380 bytes
-rw-r--r--data/graphics/gui/radioout_highlight.pngbin0 -> 434 bytes
-rw-r--r--data/graphics/gui/resize.pngbin0 -> 443 bytes
-rw-r--r--data/graphics/gui/selection.pngbin0 -> 740 bytes
-rw-r--r--data/graphics/gui/slider.pngbin0 -> 485 bytes
-rw-r--r--data/graphics/gui/slider_hilight.pngbin0 -> 444 bytes
-rw-r--r--data/graphics/gui/speechbubble.xml18
-rw-r--r--data/graphics/gui/sticky_button.pngbin0 -> 526 bytes
-rw-r--r--data/graphics/gui/tab.pngbin0 -> 329 bytes
-rw-r--r--data/graphics/gui/tab_hilight.pngbin0 -> 316 bytes
-rw-r--r--data/graphics/gui/tabselected.pngbin0 -> 313 bytes
-rw-r--r--data/graphics/gui/unknown-item.pngbin0 -> 540 bytes
-rw-r--r--data/graphics/gui/vscroll_down_default.pngbin0 -> 367 bytes
-rw-r--r--data/graphics/gui/vscroll_down_highlight.pngbin0 -> 382 bytes
-rw-r--r--data/graphics/gui/vscroll_down_pressed.pngbin0 -> 376 bytes
-rw-r--r--data/graphics/gui/vscroll_grey.pngbin0 -> 338 bytes
-rw-r--r--data/graphics/gui/vscroll_highlight.pngbin0 -> 338 bytes
-rw-r--r--data/graphics/gui/vscroll_up_default.pngbin0 -> 377 bytes
-rw-r--r--data/graphics/gui/vscroll_up_highlight.pngbin0 -> 376 bytes
-rw-r--r--data/graphics/gui/vscroll_up_pressed.pngbin0 -> 364 bytes
-rw-r--r--data/graphics/gui/window.pngbin0 -> 3410 bytes
-rw-r--r--data/graphics/gui/window.xml18
46 files changed, 189 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
new file mode 100644
index 000000000..92a1e3efa
--- /dev/null
+++ b/data/graphics/gui/CMakeLists.txt
@@ -0,0 +1,48 @@
+SET (FILES
+ bubble.png
+ button.png
+ button_disabled.png
+ buttonhi.png
+ buttonpress.png
+ checkbox.png
+ circle-gray.png
+ circle-green.png
+ close_button.png
+ colors.xml
+ deepbox.png
+ hscroll_left_default.png
+ hscroll_left_highlight.png
+ hscroll_left_pressed.png
+ hscroll_right_default.png
+ hscroll_right_highlight.png
+ hscroll_right_pressed.png
+ item_shortcut_bgr.png
+ mouse.png
+ progress-indicator.png
+ radioin.png
+ radioin_highlight.png
+ radioout.png
+ radioout_highlight.png
+ resize.png
+ selection.png
+ slider.png
+ slider_hilight.png
+ speechbubble.xml
+ sticky_button.png
+ tab.png
+ tab_hilight.png
+ tabselected.png
+ unknown-item.png
+ vscroll_down_default.png
+ vscroll_down_highlight.png
+ vscroll_down_pressed.png
+ vscroll_grey.png
+ vscroll_highlight.png
+ vscroll_up_default.png
+ vscroll_up_highlight.png
+ vscroll_up_pressed.png
+ window.png
+ window.xml
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/gui)
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
new file mode 100644
index 000000000..04f957b7f
--- /dev/null
+++ b/data/graphics/gui/Makefile.am
@@ -0,0 +1,52 @@
+
+guidir = $(pkgdatadir)/data/graphics/gui
+
+gui_DATA = \
+ bubble.png \
+ button.png \
+ button_disabled.png \
+ buttonhi.png \
+ buttonpress.png \
+ checkbox.png \
+ circle-gray.png \
+ circle-green.png \
+ close_button.png \
+ colors.xml \
+ deepbox.png \
+ hscroll_left_default.png \
+ hscroll_left_highlight.png \
+ hscroll_left_pressed.png \
+ hscroll_right_default.png \
+ hscroll_right_highlight.png \
+ hscroll_right_pressed.png \
+ item_shortcut_bgr.png \
+ mouse.png \
+ progress-indicator.png \
+ radioin.png \
+ radioin_highlight.png \
+ radioout.png \
+ radioout_highlight.png \
+ resize.png \
+ selection.png \
+ slider.png \
+ slider_hilight.png \
+ speechbubble.xml \
+ sticky_button.png \
+ tab.png \
+ tab_hilight.png \
+ tabselected.png \
+ unknown-item.png \
+ vscroll_down_default.png \
+ vscroll_down_highlight.png \
+ vscroll_down_pressed.png \
+ vscroll_grey.png \
+ vscroll_highlight.png \
+ vscroll_up_default.png \
+ vscroll_up_highlight.png \
+ vscroll_up_pressed.png \
+ window.png \
+ window.xml
+
+EXTRA_DIST = \
+ $(gui_DATA) \
+ CMakeLists.txt
diff --git a/data/graphics/gui/bubble.png b/data/graphics/gui/bubble.png
new file mode 100644
index 000000000..45322eb2e
--- /dev/null
+++ b/data/graphics/gui/bubble.png
Binary files differ
diff --git a/data/graphics/gui/button.png b/data/graphics/gui/button.png
new file mode 100644
index 000000000..9ebbea639
--- /dev/null
+++ b/data/graphics/gui/button.png
Binary files differ
diff --git a/data/graphics/gui/button_disabled.png b/data/graphics/gui/button_disabled.png
new file mode 100644
index 000000000..0ce3aa6ff
--- /dev/null
+++ b/data/graphics/gui/button_disabled.png
Binary files differ
diff --git a/data/graphics/gui/buttonhi.png b/data/graphics/gui/buttonhi.png
new file mode 100644
index 000000000..c47726346
--- /dev/null
+++ b/data/graphics/gui/buttonhi.png
Binary files differ
diff --git a/data/graphics/gui/buttonpress.png b/data/graphics/gui/buttonpress.png
new file mode 100644
index 000000000..e9cd17653
--- /dev/null
+++ b/data/graphics/gui/buttonpress.png
Binary files differ
diff --git a/data/graphics/gui/checkbox.png b/data/graphics/gui/checkbox.png
new file mode 100644
index 000000000..29b64100a
--- /dev/null
+++ b/data/graphics/gui/checkbox.png
Binary files differ
diff --git a/data/graphics/gui/circle-gray.png b/data/graphics/gui/circle-gray.png
new file mode 100644
index 000000000..3e884f405
--- /dev/null
+++ b/data/graphics/gui/circle-gray.png
Binary files differ
diff --git a/data/graphics/gui/circle-green.png b/data/graphics/gui/circle-green.png
new file mode 100644
index 000000000..2c98e9ef1
--- /dev/null
+++ b/data/graphics/gui/circle-green.png
Binary files differ
diff --git a/data/graphics/gui/close_button.png b/data/graphics/gui/close_button.png
new file mode 100644
index 000000000..f87cc2a91
--- /dev/null
+++ b/data/graphics/gui/close_button.png
Binary files differ
diff --git a/data/graphics/gui/colors.xml b/data/graphics/gui/colors.xml
new file mode 100644
index 000000000..b8bcdda8e
--- /dev/null
+++ b/data/graphics/gui/colors.xml
@@ -0,0 +1,53 @@
+<colors>
+ <color id="TEXT" color="#000000" />
+ <color id="SHADOW" color="#000000" />
+ <color id="OUTLINE" color="#000000" />
+ <color id="PROGRESS_BAR" color="#ffffff" />
+ <color id="BUTTON" color="#000000" />
+ <color id="BUTTON_DISABLED" color="#333333" />
+ <color id="TAB" color="#000000" />
+ <color id="PARTY_CHAT_TAB" color="#f48055" />
+ <color id="PARTY_SOCIAL_TAB" color="#ff00d8" />
+ <color id="GUILD_CHAT_TAB" color="#ff00d8" />
+ <color id="GUILD_SOCIAL_TAB" color="#ff00d8" />
+ <color id="BACKGROUND" color="#ffffff" />
+ <color id="HIGHLIGHT" color="#c0c0c0" />
+ <color id="TAB_FLASH" color="#ff0000" effect="pulse" />
+ <color id="TAB_PLAYER_FLASH" color="#00ff00" effect="pulse" />
+ <color id="SHOP_WARNING" color="#910000" />
+ <color id="ITEM_EQUIPPED" color="#000091" />
+ <color id="CHAT" color="#000000" />
+ <color id="GM" color="#ff0000" />
+ <color id="PLAYER" color="#1fa052" />
+ <color id="WHISPER" color="#0000ff" />
+ <color id="WHISPER_OFFLINE" color="#000050" />
+ <color id="IS" color="#a08527" />
+ <color id="SERVER" color="#8415e2" />
+ <color id="LOGGER" color="#919191" />
+ <color id="HYPERLINK" color="#e50d0d" />
+ <color id="UNKNOWN_ITEM" color="#000000" />
+ <color id="GENERIC" color="#21a5b1" />
+ <color id="HEAD" color="#527fa4" />
+ <color id="USABLE" color="#268d24" />
+ <color id="TORSO" color="#d12aa4" />
+ <color id="ONEHAND" color="#f42a2a" />
+ <color id="LEGS" color="#699900" />
+ <color id="FEET" color="#aa1d48" />
+ <color id="TWOHAND" color="#f46d0e" />
+ <color id="SHIELD" color="#9c2424" />
+ <color id="RING" color="#0000ff" />
+ <color id="NECKLACE" color="#ff00ff" />
+ <color id="ARMS" color="#9c24e8" />
+ <color id="AMMO" color="#8b6311" />
+ <color id="SERVER_VERSION_NOT_SUPPORTED" color="#DC0000" />
+ <color id="WARNING" color="#FF0000" />
+
+ <progressbar id="DEFAULT" color="#969696" />
+ <progressbar id="HP" color="#ff0000,e28000,c38948,0f6a20" />
+ <progressbar id="MP" color="#1a66e6" />
+ <progressbar id="NO_MP" color="#646464" />
+ <progressbar id="EXP" color="#8fc0d3" />
+ <progressbar id="INVY_SLOTS" color="#e1c819" />
+ <progressbar id="WEIGHT" color="#0000ff,ffff00,ff0000" />
+ <progressbar id="JOB" color="#e187cb" />
+</colors>
diff --git a/data/graphics/gui/deepbox.png b/data/graphics/gui/deepbox.png
new file mode 100644
index 000000000..084b5f618
--- /dev/null
+++ b/data/graphics/gui/deepbox.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_left_default.png b/data/graphics/gui/hscroll_left_default.png
new file mode 100644
index 000000000..2f763d302
--- /dev/null
+++ b/data/graphics/gui/hscroll_left_default.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_left_highlight.png b/data/graphics/gui/hscroll_left_highlight.png
new file mode 100644
index 000000000..6be5ae259
--- /dev/null
+++ b/data/graphics/gui/hscroll_left_highlight.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_left_pressed.png b/data/graphics/gui/hscroll_left_pressed.png
new file mode 100644
index 000000000..b8ebcb463
--- /dev/null
+++ b/data/graphics/gui/hscroll_left_pressed.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_right_default.png b/data/graphics/gui/hscroll_right_default.png
new file mode 100644
index 000000000..33fdddd0a
--- /dev/null
+++ b/data/graphics/gui/hscroll_right_default.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_right_highlight.png b/data/graphics/gui/hscroll_right_highlight.png
new file mode 100644
index 000000000..e9e633eac
--- /dev/null
+++ b/data/graphics/gui/hscroll_right_highlight.png
Binary files differ
diff --git a/data/graphics/gui/hscroll_right_pressed.png b/data/graphics/gui/hscroll_right_pressed.png
new file mode 100644
index 000000000..53972f2bb
--- /dev/null
+++ b/data/graphics/gui/hscroll_right_pressed.png
Binary files differ
diff --git a/data/graphics/gui/item_shortcut_bgr.png b/data/graphics/gui/item_shortcut_bgr.png
new file mode 100644
index 000000000..0543e38ac
--- /dev/null
+++ b/data/graphics/gui/item_shortcut_bgr.png
Binary files differ
diff --git a/data/graphics/gui/mouse.png b/data/graphics/gui/mouse.png
new file mode 100644
index 000000000..df460e49c
--- /dev/null
+++ b/data/graphics/gui/mouse.png
Binary files differ
diff --git a/data/graphics/gui/progress-indicator.png b/data/graphics/gui/progress-indicator.png
new file mode 100644
index 000000000..907f334eb
--- /dev/null
+++ b/data/graphics/gui/progress-indicator.png
Binary files differ
diff --git a/data/graphics/gui/radioin.png b/data/graphics/gui/radioin.png
new file mode 100644
index 000000000..12e027fec
--- /dev/null
+++ b/data/graphics/gui/radioin.png
Binary files differ
diff --git a/data/graphics/gui/radioin_highlight.png b/data/graphics/gui/radioin_highlight.png
new file mode 100644
index 000000000..b193d3e30
--- /dev/null
+++ b/data/graphics/gui/radioin_highlight.png
Binary files differ
diff --git a/data/graphics/gui/radioout.png b/data/graphics/gui/radioout.png
new file mode 100644
index 000000000..5eb67bd85
--- /dev/null
+++ b/data/graphics/gui/radioout.png
Binary files differ
diff --git a/data/graphics/gui/radioout_highlight.png b/data/graphics/gui/radioout_highlight.png
new file mode 100644
index 000000000..dd31e6e30
--- /dev/null
+++ b/data/graphics/gui/radioout_highlight.png
Binary files differ
diff --git a/data/graphics/gui/resize.png b/data/graphics/gui/resize.png
new file mode 100644
index 000000000..6b31ac64b
--- /dev/null
+++ b/data/graphics/gui/resize.png
Binary files differ
diff --git a/data/graphics/gui/selection.png b/data/graphics/gui/selection.png
new file mode 100644
index 000000000..78827dafa
--- /dev/null
+++ b/data/graphics/gui/selection.png
Binary files differ
diff --git a/data/graphics/gui/slider.png b/data/graphics/gui/slider.png
new file mode 100644
index 000000000..465ad0e88
--- /dev/null
+++ b/data/graphics/gui/slider.png
Binary files differ
diff --git a/data/graphics/gui/slider_hilight.png b/data/graphics/gui/slider_hilight.png
new file mode 100644
index 000000000..37c780cd1
--- /dev/null
+++ b/data/graphics/gui/slider_hilight.png
Binary files differ
diff --git a/data/graphics/gui/speechbubble.xml b/data/graphics/gui/speechbubble.xml
new file mode 100644
index 000000000..84b6557b3
--- /dev/null
+++ b/data/graphics/gui/speechbubble.xml
@@ -0,0 +1,18 @@
+<skinset name="SpeechBubble" image="bubble.png">
+ <widget type="Window">
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="5" height="5" />
+ <part type="top-edge" xpos="5" ypos="0" width="5" height="5" />
+ <part type="top-right-corner" xpos="10" ypos="0" width="5" height="5" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="5" width="5" height="5" />
+ <part type="bg-quad" xpos="5" ypos="5" width="5" height="5" />
+ <part type="right-edge" xpos="10" ypos="5" width="5" height="5" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="10" width="5" height="5" />
+ <part type="bottom-edge" xpos="5" ypos="10" width="5" height="5" />
+ <part type="bottom-right-corner" xpos="10" ypos="10" width="5" height="5" />
+ </widget>
+</skinset>
diff --git a/data/graphics/gui/sticky_button.png b/data/graphics/gui/sticky_button.png
new file mode 100644
index 000000000..8c5705736
--- /dev/null
+++ b/data/graphics/gui/sticky_button.png
Binary files differ
diff --git a/data/graphics/gui/tab.png b/data/graphics/gui/tab.png
new file mode 100644
index 000000000..91eadf08f
--- /dev/null
+++ b/data/graphics/gui/tab.png
Binary files differ
diff --git a/data/graphics/gui/tab_hilight.png b/data/graphics/gui/tab_hilight.png
new file mode 100644
index 000000000..f6b39942d
--- /dev/null
+++ b/data/graphics/gui/tab_hilight.png
Binary files differ
diff --git a/data/graphics/gui/tabselected.png b/data/graphics/gui/tabselected.png
new file mode 100644
index 000000000..e2983060c
--- /dev/null
+++ b/data/graphics/gui/tabselected.png
Binary files differ
diff --git a/data/graphics/gui/unknown-item.png b/data/graphics/gui/unknown-item.png
new file mode 100644
index 000000000..9201d688e
--- /dev/null
+++ b/data/graphics/gui/unknown-item.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_down_default.png b/data/graphics/gui/vscroll_down_default.png
new file mode 100644
index 000000000..c4292489e
--- /dev/null
+++ b/data/graphics/gui/vscroll_down_default.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_down_highlight.png b/data/graphics/gui/vscroll_down_highlight.png
new file mode 100644
index 000000000..ac88f7c73
--- /dev/null
+++ b/data/graphics/gui/vscroll_down_highlight.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_down_pressed.png b/data/graphics/gui/vscroll_down_pressed.png
new file mode 100644
index 000000000..9dcc89f6f
--- /dev/null
+++ b/data/graphics/gui/vscroll_down_pressed.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_grey.png b/data/graphics/gui/vscroll_grey.png
new file mode 100644
index 000000000..f99da4676
--- /dev/null
+++ b/data/graphics/gui/vscroll_grey.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_highlight.png b/data/graphics/gui/vscroll_highlight.png
new file mode 100644
index 000000000..2e0fcbfc1
--- /dev/null
+++ b/data/graphics/gui/vscroll_highlight.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_up_default.png b/data/graphics/gui/vscroll_up_default.png
new file mode 100644
index 000000000..1cecc3512
--- /dev/null
+++ b/data/graphics/gui/vscroll_up_default.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_up_highlight.png b/data/graphics/gui/vscroll_up_highlight.png
new file mode 100644
index 000000000..7b5009f39
--- /dev/null
+++ b/data/graphics/gui/vscroll_up_highlight.png
Binary files differ
diff --git a/data/graphics/gui/vscroll_up_pressed.png b/data/graphics/gui/vscroll_up_pressed.png
new file mode 100644
index 000000000..2320ec42f
--- /dev/null
+++ b/data/graphics/gui/vscroll_up_pressed.png
Binary files differ
diff --git a/data/graphics/gui/window.png b/data/graphics/gui/window.png
new file mode 100644
index 000000000..f0ef1af4b
--- /dev/null
+++ b/data/graphics/gui/window.png
Binary files differ
diff --git a/data/graphics/gui/window.xml b/data/graphics/gui/window.xml
new file mode 100644
index 000000000..f27dbc7f3
--- /dev/null
+++ b/data/graphics/gui/window.xml
@@ -0,0 +1,18 @@
+<skinset name="Default" image="window.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="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="4" width="32" height="216" />
+ <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" />
+ </widget>
+</skinset>