From f96f9d5e58fb181d6f2789562471d015d38f4a4d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:59:54 +0300 Subject: Add own skin for pincode keyboard buttons. Also resize pincode dialog if pincode control too big. --- data/graphics/gui/CMakeLists.txt | 4 ++++ data/graphics/gui/Makefile.am | 4 ++++ data/graphics/gui/buttonpin.xml | 22 ++++++++++++++++++++++ data/graphics/gui/buttonpin_disabled.xml | 22 ++++++++++++++++++++++ data/graphics/gui/buttonpin_highlighted.xml | 22 ++++++++++++++++++++++ data/graphics/gui/buttonpin_pressed.xml | 22 ++++++++++++++++++++++ data/themes/golden-delicious/CMakeLists.txt | 4 ++++ data/themes/golden-delicious/Makefile.am | 4 ++++ data/themes/golden-delicious/buttonpin.xml | 21 +++++++++++++++++++++ .../themes/golden-delicious/buttonpin_disabled.xml | 21 +++++++++++++++++++++ .../golden-delicious/buttonpin_highlighted.xml | 21 +++++++++++++++++++++ data/themes/golden-delicious/buttonpin_pressed.xml | 21 +++++++++++++++++++++ data/themes/golden-delicious/pin.xml | 2 +- data/themes/jewelry-simple/CMakeLists.txt | 4 ++++ data/themes/jewelry-simple/Makefile.am | 4 ++++ data/themes/jewelry-simple/buttonpin.xml | 21 +++++++++++++++++++++ data/themes/jewelry-simple/buttonpin_disabled.xml | 21 +++++++++++++++++++++ .../jewelry-simple/buttonpin_highlighted.xml | 21 +++++++++++++++++++++ data/themes/jewelry-simple/buttonpin_pressed.xml | 21 +++++++++++++++++++++ data/themes/jewelry-simple/pin.xml | 2 +- data/themes/jewelry/CMakeLists.txt | 4 ++++ data/themes/jewelry/Makefile.am | 4 ++++ data/themes/jewelry/buttonpin.xml | 21 +++++++++++++++++++++ data/themes/jewelry/buttonpin_disabled.xml | 21 +++++++++++++++++++++ data/themes/jewelry/buttonpin_highlighted.xml | 21 +++++++++++++++++++++ data/themes/jewelry/buttonpin_pressed.xml | 21 +++++++++++++++++++++ data/themes/jewelry/pin.xml | 2 +- 27 files changed, 375 insertions(+), 3 deletions(-) create mode 100644 data/graphics/gui/buttonpin.xml create mode 100644 data/graphics/gui/buttonpin_disabled.xml create mode 100644 data/graphics/gui/buttonpin_highlighted.xml create mode 100644 data/graphics/gui/buttonpin_pressed.xml create mode 100644 data/themes/golden-delicious/buttonpin.xml create mode 100644 data/themes/golden-delicious/buttonpin_disabled.xml create mode 100644 data/themes/golden-delicious/buttonpin_highlighted.xml create mode 100644 data/themes/golden-delicious/buttonpin_pressed.xml create mode 100644 data/themes/jewelry-simple/buttonpin.xml create mode 100644 data/themes/jewelry-simple/buttonpin_disabled.xml create mode 100644 data/themes/jewelry-simple/buttonpin_highlighted.xml create mode 100644 data/themes/jewelry-simple/buttonpin_pressed.xml create mode 100644 data/themes/jewelry/buttonpin.xml create mode 100644 data/themes/jewelry/buttonpin_disabled.xml create mode 100644 data/themes/jewelry/buttonpin_highlighted.xml create mode 100644 data/themes/jewelry/buttonpin_pressed.xml (limited to 'data') diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index aca2b43cd..552d65e50 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/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 buttonplay.png buy.xml charcreate_playerbox.xml diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 049d80d95..9b167ba48 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/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 \ buttonplay.png \ buy.xml \ charcreate_playerbox.xml \ diff --git a/data/graphics/gui/buttonpin.xml b/data/graphics/gui/buttonpin.xml new file mode 100644 index 000000000..33d24e80a --- /dev/null +++ b/data/graphics/gui/buttonpin.xml @@ -0,0 +1,22 @@ + + + + + diff --git a/data/graphics/gui/buttonpin_disabled.xml b/data/graphics/gui/buttonpin_disabled.xml new file mode 100644 index 000000000..2f5c91400 --- /dev/null +++ b/data/graphics/gui/buttonpin_disabled.xml @@ -0,0 +1,22 @@ + + + + + diff --git a/data/graphics/gui/buttonpin_highlighted.xml b/data/graphics/gui/buttonpin_highlighted.xml new file mode 100644 index 000000000..fd715445c --- /dev/null +++ b/data/graphics/gui/buttonpin_highlighted.xml @@ -0,0 +1,22 @@ + + + + + diff --git a/data/graphics/gui/buttonpin_pressed.xml b/data/graphics/gui/buttonpin_pressed.xml new file mode 100644 index 000000000..3b4c71e97 --- /dev/null +++ b/data/graphics/gui/buttonpin_pressed.xml @@ -0,0 +1,22 @@ + + + + + diff --git a/data/themes/golden-delicious/CMakeLists.txt b/data/themes/golden-delicious/CMakeLists.txt index 2fc2b80f4..4d4f28328 100644 --- a/data/themes/golden-delicious/CMakeLists.txt +++ b/data/themes/golden-delicious/CMakeLists.txt @@ -6,6 +6,10 @@ SET (FILES button_highlighted.xml button_pressed.xml button.xml + buttonpin_disabled.xml + buttonpin_highlighted.xml + buttonpin_pressed.xml + buttonpin.xml buy.xml charcreate.xml CHANGELOG.txt diff --git a/data/themes/golden-delicious/Makefile.am b/data/themes/golden-delicious/Makefile.am index 0dcfcb358..c16ff1246 100644 --- a/data/themes/golden-delicious/Makefile.am +++ b/data/themes/golden-delicious/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/golden-delicious/buttonpin.xml b/data/themes/golden-delicious/buttonpin.xml new file mode 100644 index 000000000..f7b063f07 --- /dev/null +++ b/data/themes/golden-delicious/buttonpin.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/golden-delicious/buttonpin_disabled.xml b/data/themes/golden-delicious/buttonpin_disabled.xml new file mode 100644 index 000000000..1322f462b --- /dev/null +++ b/data/themes/golden-delicious/buttonpin_disabled.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/golden-delicious/buttonpin_highlighted.xml b/data/themes/golden-delicious/buttonpin_highlighted.xml new file mode 100644 index 000000000..b82ed4b55 --- /dev/null +++ b/data/themes/golden-delicious/buttonpin_highlighted.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/golden-delicious/buttonpin_pressed.xml b/data/themes/golden-delicious/buttonpin_pressed.xml new file mode 100644 index 000000000..5f3b06a03 --- /dev/null +++ b/data/themes/golden-delicious/buttonpin_pressed.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/golden-delicious/pin.xml b/data/themes/golden-delicious/pin.xml index b6b922852..52894b0da 100644 --- a/data/themes/golden-delicious/pin.xml +++ b/data/themes/golden-delicious/pin.xml @@ -2,6 +2,6 @@ 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt index afd0cc128..33a693367 100644 --- a/data/themes/jewelry/CMakeLists.txt +++ b/data/themes/jewelry/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/Makefile.am b/data/themes/jewelry/Makefile.am index 4a7f5caa2..7f7ab8ab4 100644 --- a/data/themes/jewelry/Makefile.am +++ b/data/themes/jewelry/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/buttonpin.xml b/data/themes/jewelry/buttonpin.xml new file mode 100644 index 000000000..9e99447a9 --- /dev/null +++ b/data/themes/jewelry/buttonpin.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/jewelry/buttonpin_disabled.xml b/data/themes/jewelry/buttonpin_disabled.xml new file mode 100644 index 000000000..1322f462b --- /dev/null +++ b/data/themes/jewelry/buttonpin_disabled.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/jewelry/buttonpin_highlighted.xml b/data/themes/jewelry/buttonpin_highlighted.xml new file mode 100644 index 000000000..b82ed4b55 --- /dev/null +++ b/data/themes/jewelry/buttonpin_highlighted.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/jewelry/buttonpin_pressed.xml b/data/themes/jewelry/buttonpin_pressed.xml new file mode 100644 index 000000000..5f3b06a03 --- /dev/null +++ b/data/themes/jewelry/buttonpin_pressed.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/data/themes/jewelry/pin.xml b/data/themes/jewelry/pin.xml index d417b3c52..b3b45cebf 100644 --- a/data/themes/jewelry/pin.xml +++ b/data/themes/jewelry/pin.xml @@ -2,6 +2,6 @@ -- cgit v1.2.3-70-g09d2