aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estouchy
diff options
context:
space:
mode:
authorronie <ronie@users.noreply.github.com>2021-07-31 20:44:50 +0200
committerGitHub <noreply@github.com>2021-07-31 20:44:50 +0200
commit5f726439352831c17486a77ac1a6325b7f778f56 (patch)
treeabc3c74b45ddc60eb59ff4e2ba90222c7e5b7944 /addons/skin.estouchy
parent3bf41f9f374b1a317f9a5dd654b0f43013c49df1 (diff)
parent059dd3f3c7aa5d1bf8db8a2659298d4170e0d674 (diff)
Merge pull request #20000 from ronie/password-reveal
Keyboard dialog: add password reveal button
Diffstat (limited to 'addons/skin.estouchy')
-rw-r--r--addons/skin.estouchy/media/icon_keyboard_hide.pngbin0 -> 1402 bytes
-rw-r--r--addons/skin.estouchy/media/icon_keyboard_show.pngbin0 -> 1321 bytes
-rw-r--r--addons/skin.estouchy/xml/DialogKeyboard.xml36
-rw-r--r--addons/skin.estouchy/xml/Includes.xml4
4 files changed, 37 insertions, 3 deletions
diff --git a/addons/skin.estouchy/media/icon_keyboard_hide.png b/addons/skin.estouchy/media/icon_keyboard_hide.png
new file mode 100644
index 0000000000..c3d59d3723
--- /dev/null
+++ b/addons/skin.estouchy/media/icon_keyboard_hide.png
Binary files differ
diff --git a/addons/skin.estouchy/media/icon_keyboard_show.png b/addons/skin.estouchy/media/icon_keyboard_show.png
new file mode 100644
index 0000000000..84fe827ea2
--- /dev/null
+++ b/addons/skin.estouchy/media/icon_keyboard_show.png
Binary files differ
diff --git a/addons/skin.estouchy/xml/DialogKeyboard.xml b/addons/skin.estouchy/xml/DialogKeyboard.xml
index 76afd6fc00..deeed76d3c 100644
--- a/addons/skin.estouchy/xml/DialogKeyboard.xml
+++ b/addons/skin.estouchy/xml/DialogKeyboard.xml
@@ -172,9 +172,9 @@
<control type="button" id="112">
<description>(0,12) key button</description>
<onup>306</onup>
- <ondown>132</ondown>
- <include>KeyboardButton</include>
- </control>
+ <ondown>132</ondown>
+ <include>KeyboardButton</include>
+ </control>
<control type="group">
<posx>0</posx>
<posy>0</posy>
@@ -656,6 +656,36 @@
<align>center</align>
<aligny>center</aligny>
</control>
+ <control type="group">
+ <posx>0</posx>
+ <posy>0</posy>
+ <width>76</width>
+ <height>76</height>
+ <control type="button" id="310">
+ <description>show password button</description>
+ <posx>0</posx>
+ <posy>0</posy>
+ <width>76</width>
+ <height>76</height>
+ <texturenofocus colordiffuse="grey3">white.png</texturenofocus>
+ <texturefocus>list_focus.png</texturefocus>
+ <textcolor></textcolor>
+ <font></font>
+ <align>center</align>
+ <aligny>center</aligny>
+ <label></label>
+ </control>
+ <control type="image">
+ <description>Next Icon image</description>
+ <posx>13</posx>
+ <posy>18</posy>
+ <width>50</width>
+ <height>40</height>
+ <aspectratio>keep</aspectratio>
+ <texture>$VAR[PasswordButton]</texture>
+ <visible>Control.IsVisible(310)</visible>
+ </control>
+ </control>
</control>
</control>
</control>
diff --git a/addons/skin.estouchy/xml/Includes.xml b/addons/skin.estouchy/xml/Includes.xml
index 52c036bd01..bb168e958a 100644
--- a/addons/skin.estouchy/xml/Includes.xml
+++ b/addons/skin.estouchy/xml/Includes.xml
@@ -88,6 +88,10 @@
<value condition="Player.Process(videohwdecoder)">HW</value>
<value>SW</value>
</variable>
+ <variable name="PasswordButton">
+ <value condition="String.IsEqual(Control.GetLabel(310), $LOCALIZE[12308])">icon_keyboard_show.png</value>
+ <value>icon_keyboard_hide.png</value>
+ </variable>
<include name="ScreenWidth">
<include condition="String.IsEqual(Skin.AspectRatio,16:9)">ScreenWidth-16x9</include>