summaryrefslogtreecommitdiff
path: root/data/themes/jewelry-simple
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:59:54 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:59:54 +0300
commitf96f9d5e58fb181d6f2789562471d015d38f4a4d (patch)
tree3087fae6addb9c1d958de6ffd818ced11fa27f66 /data/themes/jewelry-simple
parentba123462244ed8e28c87ab43cbefe360d23ff8b2 (diff)
downloadmv-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.gz
mv-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.bz2
mv-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.xz
mv-f96f9d5e58fb181d6f2789562471d015d38f4a4d.zip
Add own skin for pincode keyboard buttons.
Also resize pincode dialog if pincode control too big.
Diffstat (limited to 'data/themes/jewelry-simple')
-rw-r--r--data/themes/jewelry-simple/CMakeLists.txt4
-rw-r--r--data/themes/jewelry-simple/Makefile.am4
-rw-r--r--data/themes/jewelry-simple/buttonpin.xml21
-rw-r--r--data/themes/jewelry-simple/buttonpin_disabled.xml21
-rw-r--r--data/themes/jewelry-simple/buttonpin_highlighted.xml21
-rw-r--r--data/themes/jewelry-simple/buttonpin_pressed.xml21
-rw-r--r--data/themes/jewelry-simple/pin.xml2
7 files changed, 93 insertions, 1 deletions
diff --git a/data/themes/jewelry-simple/CMakeLists.txt b/data/themes/jewelry-simple/CMakeLists.txt
index 104b95ba9..b48228017 100644
--- a/data/themes/jewelry-simple/CMakeLists.txt
+++ b/data/themes/jewelry-simple/CMakeLists.txt
@@ -6,6 +6,10 @@ SET (FILES
button_disabled.xml
button_highlighted.xml
button_pressed.xml
+ buttonpin.xml
+ buttonpin_disabled.xml
+ buttonpin_highlighted.xml
+ buttonpin_pressed.xml
buy.xml
charcreate.xml
CHANGELOG.txt
diff --git a/data/themes/jewelry-simple/Makefile.am b/data/themes/jewelry-simple/Makefile.am
index f3c050ac6..a76021a1e 100644
--- a/data/themes/jewelry-simple/Makefile.am
+++ b/data/themes/jewelry-simple/Makefile.am
@@ -9,6 +9,10 @@ gui_DATA = \
button_disabled.xml \
button_highlighted.xml \
button_pressed.xml \
+ buttonpin.xml \
+ buttonpin_disabled.xml \
+ buttonpin_highlighted.xml \
+ buttonpin_pressed.xml \
buy.xml \
charcreate.xml \
CHANGELOG.txt \
diff --git a/data/themes/jewelry-simple/buttonpin.xml b/data/themes/jewelry-simple/buttonpin.xml
new file mode 100644
index 000000000..9e99447a9
--- /dev/null
+++ b/data/themes/jewelry-simple/buttonpin.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="41" ypos="0">
+ <option name="padding" value="11" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="4" height="10" />
+ <part type="top-right-corner" xpos="16" ypos="0" width="10" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="2" />
+ <part type="bg-quad" xpos="11" ypos="11" width="4" height="2" />
+ <part type="right-edge" xpos="16" ypos="11" width="10" height="2" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="14" width="10" height="10" />
+ <part type="bottom-edge" xpos="11" ypos="14" width="4" height="10" />
+ <part type="bottom-right-corner" xpos="16" ypos="14" width="10" height="10" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry-simple/buttonpin_disabled.xml b/data/themes/jewelry-simple/buttonpin_disabled.xml
new file mode 100644
index 000000000..1322f462b
--- /dev/null
+++ b/data/themes/jewelry-simple/buttonpin_disabled.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="41" ypos="75">
+ <option name="padding" value="9" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="4" height="10" />
+ <part type="top-right-corner" xpos="16" ypos="0" width="10" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="2" />
+ <part type="bg-quad" xpos="11" ypos="11" width="4" height="2" />
+ <part type="right-edge" xpos="16" ypos="11" width="10" height="2" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="14" width="10" height="10" />
+ <part type="bottom-edge" xpos="11" ypos="14" width="4" height="10" />
+ <part type="bottom-right-corner" xpos="16" ypos="14" width="10" height="10" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry-simple/buttonpin_highlighted.xml b/data/themes/jewelry-simple/buttonpin_highlighted.xml
new file mode 100644
index 000000000..b82ed4b55
--- /dev/null
+++ b/data/themes/jewelry-simple/buttonpin_highlighted.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="41" ypos="25">
+ <option name="padding" value="9" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="4" height="10" />
+ <part type="top-right-corner" xpos="16" ypos="0" width="10" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="2" />
+ <part type="bg-quad" xpos="11" ypos="11" width="4" height="2" />
+ <part type="right-edge" xpos="16" ypos="11" width="10" height="2" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="14" width="10" height="10" />
+ <part type="bottom-edge" xpos="11" ypos="14" width="4" height="10" />
+ <part type="bottom-right-corner" xpos="16" ypos="14" width="10" height="10" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry-simple/buttonpin_pressed.xml b/data/themes/jewelry-simple/buttonpin_pressed.xml
new file mode 100644
index 000000000..5f3b06a03
--- /dev/null
+++ b/data/themes/jewelry-simple/buttonpin_pressed.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="41" ypos="50">
+ <option name="padding" value="9" />
+
+ <!-- Top Row -->
+ <part type="top-left-corner" xpos="0" ypos="0" width="10" height="10" />
+ <part type="top-edge" xpos="11" ypos="0" width="4" height="10" />
+ <part type="top-right-corner" xpos="16" ypos="0" width="10" height="10" />
+
+ <!-- Middle Row -->
+ <part type="left-edge" xpos="0" ypos="11" width="10" height="2" />
+ <part type="bg-quad" xpos="11" ypos="11" width="4" height="2" />
+ <part type="right-edge" xpos="16" ypos="11" width="10" height="2" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-left-corner" xpos="0" ypos="14" width="10" height="10" />
+ <part type="bottom-edge" xpos="11" ypos="14" width="4" height="10" />
+ <part type="bottom-right-corner" xpos="16" ypos="14" width="10" height="10" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry-simple/pin.xml b/data/themes/jewelry-simple/pin.xml
index 267b16969..bbc6674e6 100644
--- a/data/themes/jewelry-simple/pin.xml
+++ b/data/themes/jewelry-simple/pin.xml
@@ -2,6 +2,6 @@
<skinset name="Default" image="window.png">
<widget type="Window">
<option name="padding" value="4" />
- <option name="spacing" value="8" />
+ <option name="spacing" value="4" />
</widget>
</skinset>