diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-18 19:56:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-18 19:56:54 +0300 |
commit | ce455b0e3cd02b6796cab746addd1ff41a6b7ca8 (patch) | |
tree | f8e425c177ceb887184be3b00eea94c0168d519d /data/graphics | |
parent | c7ad8d093591214a32cacc79fa25d8e118493093 (diff) | |
download | manaplus-ce455b0e3cd02b6796cab746addd1ff41a6b7ca8.tar.gz manaplus-ce455b0e3cd02b6796cab746addd1ff41a6b7ca8.tar.bz2 manaplus-ce455b0e3cd02b6796cab746addd1ff41a6b7ca8.tar.xz manaplus-ce455b0e3cd02b6796cab746addd1ff41a6b7ca8.zip |
Fix in ok dialog size and button position.
Diffstat (limited to 'data/graphics')
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/gui/ok.xml | 24 |
3 files changed, 26 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index 985a6224c..afb60b61d 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -29,6 +29,7 @@ SET (FILES label.xml listbox.xml mouse.png + ok.xml playerbox_background.xml popup.xml progress-indicator.png diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 7120f40c7..1e3d802f8 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -32,6 +32,7 @@ gui_DATA = \ label.xml \ listbox.xml \ mouse.png \ + ok.xml \ playerbox_background.xml \ popup.xml \ progress-indicator.png \ diff --git a/data/graphics/gui/ok.xml b/data/graphics/gui/ok.xml new file mode 100644 index 000000000..9b19fa7f8 --- /dev/null +++ b/data/graphics/gui/ok.xml @@ -0,0 +1,24 @@ +<skinset name="Default" image="window.png"> + <widget type="Window"> + <option name="buttonPadding" value="8" /> + + <!-- 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" /> + + <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> |