diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-02 01:48:38 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-02 02:41:24 +0200 |
commit | 3eeae12c498d1a4dbe969462d2ba841f77ee3ccb (patch) | |
tree | ff8eab35e732bc0749fc11677c8873a7b3a58704 /data/graphics/gui | |
download | mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.gz mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.bz2 mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.xz mv-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')
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 Binary files differnew file mode 100644 index 000000000..45322eb2e --- /dev/null +++ b/data/graphics/gui/bubble.png diff --git a/data/graphics/gui/button.png b/data/graphics/gui/button.png Binary files differnew file mode 100644 index 000000000..9ebbea639 --- /dev/null +++ b/data/graphics/gui/button.png diff --git a/data/graphics/gui/button_disabled.png b/data/graphics/gui/button_disabled.png Binary files differnew file mode 100644 index 000000000..0ce3aa6ff --- /dev/null +++ b/data/graphics/gui/button_disabled.png diff --git a/data/graphics/gui/buttonhi.png b/data/graphics/gui/buttonhi.png Binary files differnew file mode 100644 index 000000000..c47726346 --- /dev/null +++ b/data/graphics/gui/buttonhi.png diff --git a/data/graphics/gui/buttonpress.png b/data/graphics/gui/buttonpress.png Binary files differnew file mode 100644 index 000000000..e9cd17653 --- /dev/null +++ b/data/graphics/gui/buttonpress.png diff --git a/data/graphics/gui/checkbox.png b/data/graphics/gui/checkbox.png Binary files differnew file mode 100644 index 000000000..29b64100a --- /dev/null +++ b/data/graphics/gui/checkbox.png diff --git a/data/graphics/gui/circle-gray.png b/data/graphics/gui/circle-gray.png Binary files differnew file mode 100644 index 000000000..3e884f405 --- /dev/null +++ b/data/graphics/gui/circle-gray.png diff --git a/data/graphics/gui/circle-green.png b/data/graphics/gui/circle-green.png Binary files differnew file mode 100644 index 000000000..2c98e9ef1 --- /dev/null +++ b/data/graphics/gui/circle-green.png diff --git a/data/graphics/gui/close_button.png b/data/graphics/gui/close_button.png Binary files differnew file mode 100644 index 000000000..f87cc2a91 --- /dev/null +++ b/data/graphics/gui/close_button.png 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 Binary files differnew file mode 100644 index 000000000..084b5f618 --- /dev/null +++ b/data/graphics/gui/deepbox.png diff --git a/data/graphics/gui/hscroll_left_default.png b/data/graphics/gui/hscroll_left_default.png Binary files differnew file mode 100644 index 000000000..2f763d302 --- /dev/null +++ b/data/graphics/gui/hscroll_left_default.png diff --git a/data/graphics/gui/hscroll_left_highlight.png b/data/graphics/gui/hscroll_left_highlight.png Binary files differnew file mode 100644 index 000000000..6be5ae259 --- /dev/null +++ b/data/graphics/gui/hscroll_left_highlight.png diff --git a/data/graphics/gui/hscroll_left_pressed.png b/data/graphics/gui/hscroll_left_pressed.png Binary files differnew file mode 100644 index 000000000..b8ebcb463 --- /dev/null +++ b/data/graphics/gui/hscroll_left_pressed.png diff --git a/data/graphics/gui/hscroll_right_default.png b/data/graphics/gui/hscroll_right_default.png Binary files differnew file mode 100644 index 000000000..33fdddd0a --- /dev/null +++ b/data/graphics/gui/hscroll_right_default.png diff --git a/data/graphics/gui/hscroll_right_highlight.png b/data/graphics/gui/hscroll_right_highlight.png Binary files differnew file mode 100644 index 000000000..e9e633eac --- /dev/null +++ b/data/graphics/gui/hscroll_right_highlight.png diff --git a/data/graphics/gui/hscroll_right_pressed.png b/data/graphics/gui/hscroll_right_pressed.png Binary files differnew file mode 100644 index 000000000..53972f2bb --- /dev/null +++ b/data/graphics/gui/hscroll_right_pressed.png diff --git a/data/graphics/gui/item_shortcut_bgr.png b/data/graphics/gui/item_shortcut_bgr.png Binary files differnew file mode 100644 index 000000000..0543e38ac --- /dev/null +++ b/data/graphics/gui/item_shortcut_bgr.png diff --git a/data/graphics/gui/mouse.png b/data/graphics/gui/mouse.png Binary files differnew file mode 100644 index 000000000..df460e49c --- /dev/null +++ b/data/graphics/gui/mouse.png diff --git a/data/graphics/gui/progress-indicator.png b/data/graphics/gui/progress-indicator.png Binary files differnew file mode 100644 index 000000000..907f334eb --- /dev/null +++ b/data/graphics/gui/progress-indicator.png diff --git a/data/graphics/gui/radioin.png b/data/graphics/gui/radioin.png Binary files differnew file mode 100644 index 000000000..12e027fec --- /dev/null +++ b/data/graphics/gui/radioin.png diff --git a/data/graphics/gui/radioin_highlight.png b/data/graphics/gui/radioin_highlight.png Binary files differnew file mode 100644 index 000000000..b193d3e30 --- /dev/null +++ b/data/graphics/gui/radioin_highlight.png diff --git a/data/graphics/gui/radioout.png b/data/graphics/gui/radioout.png Binary files differnew file mode 100644 index 000000000..5eb67bd85 --- /dev/null +++ b/data/graphics/gui/radioout.png diff --git a/data/graphics/gui/radioout_highlight.png b/data/graphics/gui/radioout_highlight.png Binary files differnew file mode 100644 index 000000000..dd31e6e30 --- /dev/null +++ b/data/graphics/gui/radioout_highlight.png diff --git a/data/graphics/gui/resize.png b/data/graphics/gui/resize.png Binary files differnew file mode 100644 index 000000000..6b31ac64b --- /dev/null +++ b/data/graphics/gui/resize.png diff --git a/data/graphics/gui/selection.png b/data/graphics/gui/selection.png Binary files differnew file mode 100644 index 000000000..78827dafa --- /dev/null +++ b/data/graphics/gui/selection.png diff --git a/data/graphics/gui/slider.png b/data/graphics/gui/slider.png Binary files differnew file mode 100644 index 000000000..465ad0e88 --- /dev/null +++ b/data/graphics/gui/slider.png diff --git a/data/graphics/gui/slider_hilight.png b/data/graphics/gui/slider_hilight.png Binary files differnew file mode 100644 index 000000000..37c780cd1 --- /dev/null +++ b/data/graphics/gui/slider_hilight.png 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 Binary files differnew file mode 100644 index 000000000..8c5705736 --- /dev/null +++ b/data/graphics/gui/sticky_button.png diff --git a/data/graphics/gui/tab.png b/data/graphics/gui/tab.png Binary files differnew file mode 100644 index 000000000..91eadf08f --- /dev/null +++ b/data/graphics/gui/tab.png diff --git a/data/graphics/gui/tab_hilight.png b/data/graphics/gui/tab_hilight.png Binary files differnew file mode 100644 index 000000000..f6b39942d --- /dev/null +++ b/data/graphics/gui/tab_hilight.png diff --git a/data/graphics/gui/tabselected.png b/data/graphics/gui/tabselected.png Binary files differnew file mode 100644 index 000000000..e2983060c --- /dev/null +++ b/data/graphics/gui/tabselected.png diff --git a/data/graphics/gui/unknown-item.png b/data/graphics/gui/unknown-item.png Binary files differnew file mode 100644 index 000000000..9201d688e --- /dev/null +++ b/data/graphics/gui/unknown-item.png diff --git a/data/graphics/gui/vscroll_down_default.png b/data/graphics/gui/vscroll_down_default.png Binary files differnew file mode 100644 index 000000000..c4292489e --- /dev/null +++ b/data/graphics/gui/vscroll_down_default.png diff --git a/data/graphics/gui/vscroll_down_highlight.png b/data/graphics/gui/vscroll_down_highlight.png Binary files differnew file mode 100644 index 000000000..ac88f7c73 --- /dev/null +++ b/data/graphics/gui/vscroll_down_highlight.png diff --git a/data/graphics/gui/vscroll_down_pressed.png b/data/graphics/gui/vscroll_down_pressed.png Binary files differnew file mode 100644 index 000000000..9dcc89f6f --- /dev/null +++ b/data/graphics/gui/vscroll_down_pressed.png diff --git a/data/graphics/gui/vscroll_grey.png b/data/graphics/gui/vscroll_grey.png Binary files differnew file mode 100644 index 000000000..f99da4676 --- /dev/null +++ b/data/graphics/gui/vscroll_grey.png diff --git a/data/graphics/gui/vscroll_highlight.png b/data/graphics/gui/vscroll_highlight.png Binary files differnew file mode 100644 index 000000000..2e0fcbfc1 --- /dev/null +++ b/data/graphics/gui/vscroll_highlight.png diff --git a/data/graphics/gui/vscroll_up_default.png b/data/graphics/gui/vscroll_up_default.png Binary files differnew file mode 100644 index 000000000..1cecc3512 --- /dev/null +++ b/data/graphics/gui/vscroll_up_default.png diff --git a/data/graphics/gui/vscroll_up_highlight.png b/data/graphics/gui/vscroll_up_highlight.png Binary files differnew file mode 100644 index 000000000..7b5009f39 --- /dev/null +++ b/data/graphics/gui/vscroll_up_highlight.png diff --git a/data/graphics/gui/vscroll_up_pressed.png b/data/graphics/gui/vscroll_up_pressed.png Binary files differnew file mode 100644 index 000000000..2320ec42f --- /dev/null +++ b/data/graphics/gui/vscroll_up_pressed.png diff --git a/data/graphics/gui/window.png b/data/graphics/gui/window.png Binary files differnew file mode 100644 index 000000000..f0ef1af4b --- /dev/null +++ b/data/graphics/gui/window.png 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> |