diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-05 12:41:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-05 13:24:56 +0300 |
commit | 466e23ae13e05cc279b5ee05535473e7e1ce2923 (patch) | |
tree | e6a358ddecca35c4792b66a4b7922df2fbe812fa | |
parent | cc44634bc4e242fa5009ceb18abd7d17f6a00fd1 (diff) | |
download | manaverse-466e23ae13e05cc279b5ee05535473e7e1ce2923.tar.gz manaverse-466e23ae13e05cc279b5ee05535473e7e1ce2923.tar.bz2 manaverse-466e23ae13e05cc279b5ee05535473e7e1ce2923.tar.xz manaverse-466e23ae13e05cc279b5ee05535473e7e1ce2923.zip |
jewelry theme: use different padding in popups depend on screen density.
-rw-r--r-- | data/themes/jewelry/CMakeLists.txt | 8 | ||||
-rw-r--r-- | data/themes/jewelry/Makefile.am | 8 | ||||
-rw-r--r-- | data/themes/jewelry/popup.xml | 2 | ||||
-rw-r--r-- | data/themes/jewelry/popup_high.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popup_xhigh.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popup_xxhigh.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popupmenu.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popupmenu_high.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popupmenu_medium.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popupmenu_xhigh.xml | 22 | ||||
-rw-r--r-- | data/themes/jewelry/popupmenu_xxhigh.xml | 22 |
11 files changed, 193 insertions, 1 deletions
diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt index 010d41a51..cdc1582d8 100644 --- a/data/themes/jewelry/CMakeLists.txt +++ b/data/themes/jewelry/CMakeLists.txt @@ -51,7 +51,15 @@ SET (FILES playerbox.xml playerboxselected.xml popup.xml + popup_high.xml + popup_xhigh.xml + popup_xxhigh.xml popuplist.xml + popupmenu.xml + popupmenu_high.xml + popupmenu_medium.xml + popupmenu_xhigh.xml + popupmenu_xxhigh.xml progressbar.xml quests.xml radio.xml diff --git a/data/themes/jewelry/Makefile.am b/data/themes/jewelry/Makefile.am index c068626df..93bbd6a41 100644 --- a/data/themes/jewelry/Makefile.am +++ b/data/themes/jewelry/Makefile.am @@ -54,7 +54,15 @@ gui_DATA = \ playerbox.xml \ playerboxselected.xml \ popup.xml \ + popup_high.xml \ + popup_xhigh.xml \ + popup_xxhigh.xml \ popuplist.xml \ + popupmenu.xml \ + popupmenu_high.xml \ + popupmenu_medium.xml \ + popupmenu_xhigh.xml \ + popupmenu_xxhigh.xml \ progressbar.xml \ quests.xml \ radio.xml \ diff --git a/data/themes/jewelry/popup.xml b/data/themes/jewelry/popup.xml index b333d40e4..28cdb9f4a 100644 --- a/data/themes/jewelry/popup.xml +++ b/data/themes/jewelry/popup.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <skinset name="Default" image="window.png"> <widget type="Window" xpos="260" ypos="109"> - <option name="padding" value="10" /> + <option name="padding" value="7" /> <option name="palette" value="1" /> <!-- Top Row --> diff --git a/data/themes/jewelry/popup_high.xml b/data/themes/jewelry/popup_high.xml new file mode 100644 index 000000000..b333d40e4 --- /dev/null +++ b/data/themes/jewelry/popup_high.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="10" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popup_xhigh.xml b/data/themes/jewelry/popup_xhigh.xml new file mode 100644 index 000000000..4a8e3208e --- /dev/null +++ b/data/themes/jewelry/popup_xhigh.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="11" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popup_xxhigh.xml b/data/themes/jewelry/popup_xxhigh.xml new file mode 100644 index 000000000..88b73c928 --- /dev/null +++ b/data/themes/jewelry/popup_xxhigh.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="12" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popupmenu.xml b/data/themes/jewelry/popupmenu.xml new file mode 100644 index 000000000..cfc2d08e4 --- /dev/null +++ b/data/themes/jewelry/popupmenu.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="3" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popupmenu_high.xml b/data/themes/jewelry/popupmenu_high.xml new file mode 100644 index 000000000..b333d40e4 --- /dev/null +++ b/data/themes/jewelry/popupmenu_high.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="10" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popupmenu_medium.xml b/data/themes/jewelry/popupmenu_medium.xml new file mode 100644 index 000000000..f35ca14b6 --- /dev/null +++ b/data/themes/jewelry/popupmenu_medium.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="5" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popupmenu_xhigh.xml b/data/themes/jewelry/popupmenu_xhigh.xml new file mode 100644 index 000000000..4a8e3208e --- /dev/null +++ b/data/themes/jewelry/popupmenu_xhigh.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="11" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> diff --git a/data/themes/jewelry/popupmenu_xxhigh.xml b/data/themes/jewelry/popupmenu_xxhigh.xml new file mode 100644 index 000000000..88b73c928 --- /dev/null +++ b/data/themes/jewelry/popupmenu_xxhigh.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<skinset name="Default" image="window.png"> + <widget type="Window" xpos="260" ypos="109"> + <option name="padding" value="12" /> + <option name="palette" value="1" /> + + <!-- Top Row --> + <part type="top-left-corner" width="30" height="15" /> + <part type="top-edge" xpos="31" ypos="0" width="48" height="15" /> + <part type="top-right-corner" xpos="80" ypos="0" width="30" height="15" /> + + <!-- Middle Row --> + <part type="left-edge" xpos="0" ypos="16" width="30" height="10" /> + <part type="bg-quad" xpos="31" ypos="16" width="48" height="10" /> + <part type="right-edge" xpos="80" ypos="16" width="30" height="10" /> + + <!-- Bottom Row --> + <part type="bottom-left-corner" xpos="0" ypos="27" width="30" height="14" /> + <part type="bottom-edge" xpos="31" ypos="27" width="48" height="14" /> + <part type="bottom-right-corner" xpos="80" ypos="27" width="30" height="14" /> + </widget> +</skinset> |