diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-10 00:22:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-10 00:22:38 +0300 |
commit | 5cd5d1af6781f101b38477e7d14ffbad0865796e (patch) | |
tree | 69379d8ab69448d1fbb9bb94ac115829c18456a0 | |
parent | 8775577e117dc5203867327bd1d04d3cc9234a3c (diff) | |
download | manaplus-5cd5d1af6781f101b38477e7d14ffbad0865796e.tar.gz manaplus-5cd5d1af6781f101b38477e7d14ffbad0865796e.tar.bz2 manaplus-5cd5d1af6781f101b38477e7d14ffbad0865796e.tar.xz manaplus-5cd5d1af6781f101b38477e7d14ffbad0865796e.zip |
Fix cutin window in different themes.
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/gui/cutin.xml | 23 | ||||
-rw-r--r-- | data/themes/enchilado/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/enchilado/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/enchilado/cutin.xml | 23 | ||||
-rw-r--r-- | data/themes/golden-delicious/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/golden-delicious/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/golden-delicious/cutin.xml | 32 | ||||
-rw-r--r-- | data/themes/jewelry/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/jewelry/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/jewelry/cutin.xml | 31 | ||||
-rw-r--r-- | data/themes/pink/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/pink/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/pink/cutin.xml | 23 | ||||
-rw-r--r-- | data/themes/unity/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/unity/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/unity/cutin.xml | 24 | ||||
-rw-r--r-- | data/themes/wood/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/themes/wood/Makefile.am | 1 | ||||
-rw-r--r-- | data/themes/wood/cutin.xml | 25 |
21 files changed, 195 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index 23c7b5617..578d28c87 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -15,6 +15,7 @@ SET (FILES colors.xml complete_icon.xml connection.xml + cutin.xml dbutton.xml dbutton_image.xml desktop.xml diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 10a4fc18f..ca2f97780 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -18,6 +18,7 @@ gui_DATA = \ colors.xml \ complete_icon.xml \ connection.xml \ + cutin.xml \ dbutton.xml \ dbutton_image.xml \ desktop.xml \ diff --git a/data/graphics/gui/cutin.xml b/data/graphics/gui/cutin.xml new file mode 100644 index 000000000..4ad70a5a8 --- /dev/null +++ b/data/graphics/gui/cutin.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<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="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 diff --git a/data/themes/enchilado/CMakeLists.txt b/data/themes/enchilado/CMakeLists.txt index 8e95b7383..171b45fd0 100644 --- a/data/themes/enchilado/CMakeLists.txt +++ b/data/themes/enchilado/CMakeLists.txt @@ -1,6 +1,7 @@ SET (FILES buy.xml colors.xml + cutin.xml equipment.xml info.xml inventory.xml diff --git a/data/themes/enchilado/Makefile.am b/data/themes/enchilado/Makefile.am index f2788d9d7..dfe3ae5a0 100644 --- a/data/themes/enchilado/Makefile.am +++ b/data/themes/enchilado/Makefile.am @@ -4,6 +4,7 @@ guidir = $(pkgdatadir)/data/themes/enchilado gui_DATA = \ buy.xml \ colors.xml \ + cutin.xml \ equipment.xml \ info.xml \ inventory.xml \ diff --git a/data/themes/enchilado/cutin.xml b/data/themes/enchilado/cutin.xml new file mode 100644 index 000000000..c4e12e15c --- /dev/null +++ b/data/themes/enchilado/cutin.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="190" ypos="30"> + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" /> + <part type="top-edge" xpos="11" ypos="0" width="127" height="10" /> + <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="11" width="10" height="81" /> + <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" /> + <part type="right-edge" xpos="139" ypos="11" width="12" height="81" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" /> + <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" /> + <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" /> + + <part type="closeImage" xpos="-60" ypos="-30" width="15" height="15" /> + <part type="stickyImageUp" xpos="-60" ypos="21" width="15" height="15" /> + <part type="stickyImageDown" xpos="-45" ypos="21" width="15" height="15" /> + </widget> +</skinset> diff --git a/data/themes/golden-delicious/CMakeLists.txt b/data/themes/golden-delicious/CMakeLists.txt index e6726fb48..aa249bc68 100644 --- a/data/themes/golden-delicious/CMakeLists.txt +++ b/data/themes/golden-delicious/CMakeLists.txt @@ -15,6 +15,7 @@ SET (FILES circle-on.xml colors.xml complete_icon.xml + cutin.xml dbutton.xml desktop.xml didyouknow.xml diff --git a/data/themes/golden-delicious/Makefile.am b/data/themes/golden-delicious/Makefile.am index 95042d23a..1b34c747d 100644 --- a/data/themes/golden-delicious/Makefile.am +++ b/data/themes/golden-delicious/Makefile.am @@ -18,6 +18,7 @@ gui_DATA = \ circle-on.xml \ colors.xml \ complete_icon.xml \ + cutin.xml \ dbutton.xml \ desktop.xml \ didyouknow.xml \ diff --git a/data/themes/golden-delicious/cutin.xml b/data/themes/golden-delicious/cutin.xml new file mode 100644 index 000000000..da98ab6bd --- /dev/null +++ b/data/themes/golden-delicious/cutin.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="0"> + <option name="captionoffsetx" value="20" /> + <option name="captionoffsety" value="7" /> + <option name="titlebarBold" value="1" /> + <option name="titlebarHeight" value="30" /> + <!--10--> + <option name="padding" value="5" /> + <option name="stickySpacing" value="6" /> + + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="30" height="53" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="53" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="53" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="54" width="30" height="24" /> + <part type="bg-quad" xpos="31" ypos="54" width="48" height="24" /> + <part type="right-edge" xpos="80" ypos="54" width="30" height="24" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="79" width="30" height="28" /> + <part type="bottom-edge" xpos="31" ypos="79" width="48" height="28" /> + <part type="bottom-right-corner" xpos="80" ypos="79" width="30" height="28" /> + + <part type="closeImage" xpos="-163" ypos="0" width="22" height="22" /> + <part type="closeImageHighlighted" xpos="-138" ypos="0" width="22" height="22" /> + <part type="stickyImageUp" xpos="-130" ypos="51" width="19" height="22" /> + <part type="stickyImageDown" xpos="-99" ypos="51" width="19" height="22" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt index 32ab012ac..34877931f 100644 --- a/data/themes/jewelry/CMakeLists.txt +++ b/data/themes/jewelry/CMakeLists.txt @@ -15,6 +15,7 @@ SET (FILES circle-on.xml colors.xml complete_icon.xml + cutin.xml dbutton.xml didyouknow.xml dpad.xml diff --git a/data/themes/jewelry/Makefile.am b/data/themes/jewelry/Makefile.am index 13cf65946..2dbff59ab 100644 --- a/data/themes/jewelry/Makefile.am +++ b/data/themes/jewelry/Makefile.am @@ -18,6 +18,7 @@ gui_DATA = \ circle-on.xml \ colors.xml \ complete_icon.xml \ + cutin.xml \ dbutton.xml \ didyouknow.xml \ dpad.xml \ diff --git a/data/themes/jewelry/cutin.xml b/data/themes/jewelry/cutin.xml new file mode 100644 index 000000000..e4e11476a --- /dev/null +++ b/data/themes/jewelry/cutin.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="0"> + <option name="captionoffsetx" value="20" /> + <option name="captionoffsety" value="7" /> + <option name="titlebarBold" value="1" /> + <option name="titlebarHeight" value="35" /> + <option name="padding" value="10" /> + <option name="stickySpacing" value="6" /> + + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="30" height="53" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="53" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="53" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="54" width="30" height="24" /> + <part type="bg-quad" xpos="31" ypos="54" width="48" height="24" /> + <part type="right-edge" xpos="80" ypos="54" width="30" height="24" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="79" width="30" height="28" /> + <part type="bottom-edge" xpos="31" ypos="79" width="48" height="28" /> + <part type="bottom-right-corner" xpos="80" ypos="79" width="30" height="28" /> + + <part type="closeImage" xpos="-163" ypos="0" width="22" height="22" /> + <part type="closeImageHighlighted" xpos="-138" ypos="0" width="22" height="22" /> + <part type="stickyImageUp" xpos="-130" ypos="51" width="19" height="22" /> + <part type="stickyImageDown" xpos="-99" ypos="51" width="19" height="22" /> + </widget> +</skinset> diff --git a/data/themes/pink/CMakeLists.txt b/data/themes/pink/CMakeLists.txt index 60ecc3edb..7e5496bf6 100644 --- a/data/themes/pink/CMakeLists.txt +++ b/data/themes/pink/CMakeLists.txt @@ -2,6 +2,7 @@ SET (FILES bubble.png buy.xml colors.xml + cutin.xml equipment.xml info.xml inventory.xml diff --git a/data/themes/pink/Makefile.am b/data/themes/pink/Makefile.am index ccee81759..f887fe5ca 100644 --- a/data/themes/pink/Makefile.am +++ b/data/themes/pink/Makefile.am @@ -5,6 +5,7 @@ gui_DATA = \ bubble.png \ buy.xml \ colors.xml \ + cutin.xml \ equipment.xml \ info.xml \ inventory.xml \ diff --git a/data/themes/pink/cutin.xml b/data/themes/pink/cutin.xml new file mode 100644 index 000000000..dbfa79ad0 --- /dev/null +++ b/data/themes/pink/cutin.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="250" ypos="0"> + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" /> + <part type="top-edge" xpos="0" ypos="10" width="10" height="10" /> + <part type="top-right-corner" xpos="0" ypos="20" width="10" height="10" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="30" width="10" height="10" /> + <part type="bg-quad" xpos="0" ypos="40" width="10" height="10" /> + <part type="right-edge" xpos="0" ypos="50" width="10" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="60" width="10" height="10" /> + <part type="bottom-edge" xpos="0" ypos="70" width="10" height="10" /> + <part type="bottom-right-corner" xpos="10" ypos="0" width="132" height="134" /> + + <part type="closeImage" xpos="-120" ypos="0" width="15" height="15" /> + <part type="stickyImageUp" xpos="-120" ypos="51" width="15" height="15" /> + <part type="stickyImageDown" xpos="-105" ypos="51" width="15" height="15" /> + </widget> +</skinset> diff --git a/data/themes/unity/CMakeLists.txt b/data/themes/unity/CMakeLists.txt index 20a46a2b5..d27d0d38e 100644 --- a/data/themes/unity/CMakeLists.txt +++ b/data/themes/unity/CMakeLists.txt @@ -2,6 +2,7 @@ SET (FILES buy.xml char.xml colors.xml + cutin.xml equipment.xml info.xml inventory.xml diff --git a/data/themes/unity/Makefile.am b/data/themes/unity/Makefile.am index bbd7e3124..7e5540591 100644 --- a/data/themes/unity/Makefile.am +++ b/data/themes/unity/Makefile.am @@ -5,6 +5,7 @@ gui_DATA = \ buy.xml \ char.xml \ colors.xml \ + cutin.xml \ equipment.xml \ info.xml \ inventory.xml \ diff --git a/data/themes/unity/cutin.xml b/data/themes/unity/cutin.xml new file mode 100644 index 000000000..e59c22879 --- /dev/null +++ b/data/themes/unity/cutin.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="0"> + <option name="padding" value="10" /> + <!-- Top Row --> + <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" /> + <part type="top-edge" xpos="11" ypos="0" width="127" height="10" /> + <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="11" width="10" height="81" /> + <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" /> + <part type="right-edge" xpos="139" ypos="11" width="12" height="81" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" /> + <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" /> + <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" /> + + <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="-115" ypos="51" width="15" height="15" /> + </widget> +</skinset> diff --git a/data/themes/wood/CMakeLists.txt b/data/themes/wood/CMakeLists.txt index d9f47f82d..613d76f42 100644 --- a/data/themes/wood/CMakeLists.txt +++ b/data/themes/wood/CMakeLists.txt @@ -1,6 +1,7 @@ SET (FILES buy.xml colors.xml + cutin.xml equipment.xml info.xml inventory.xml diff --git a/data/themes/wood/Makefile.am b/data/themes/wood/Makefile.am index 906756df3..be81be8e8 100644 --- a/data/themes/wood/Makefile.am +++ b/data/themes/wood/Makefile.am @@ -4,6 +4,7 @@ guidir = $(pkgdatadir)/data/themes/wood gui_DATA = \ buy.xml \ colors.xml \ + cutin.xml \ equipment.xml \ info.xml \ inventory.xml \ diff --git a/data/themes/wood/cutin.xml b/data/themes/wood/cutin.xml new file mode 100644 index 000000000..38b016fca --- /dev/null +++ b/data/themes/wood/cutin.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="0"> + <option name="padding" value="6" /> + + <!-- Top Row --> + <part type="top-left-corner" width="10" height="10" /> + <part type="top-edge" xpos="11" ypos="0" width="127" height="10" /> + <part type="top-right-corner" xpos="139" ypos="0" width="12" height="10" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="11" width="10" height="81" /> + <part type="bg-quad" xpos="11" ypos="11" width="127" height="81" /> + <part type="right-edge" xpos="139" ypos="11" width="12" height="81" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="93" width="10" height="12" /> + <part type="bottom-edge" xpos="11" ypos="93" width="127" height="12" /> + <part type="bottom-right-corner" xpos="139" ypos="93" width="12" height="12" /> + + <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="-115" ypos="51" width="15" height="15" /> + </widget> +</skinset> |