diff options
author | ronie <ronie@users.noreply.github.com> | 2018-06-29 00:54:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 00:54:46 +0200 |
commit | 83722984e2014d751ffd17ad5b71867032c85389 (patch) | |
tree | 3d629d4f3b273baae97fe25ab522ceaaef260b75 /addons/skin.estuary/xml | |
parent | 4eca55bb4c481164fac92e3e9702a195d6055742 (diff) | |
parent | 05a6ade3484ad75b8ed6870bce645eb2b4aaaf18 (diff) |
Merge pull request #14007 from DaVukovic/skin-addition
[Estuary] Add setting to show profilename
Diffstat (limited to 'addons/skin.estuary/xml')
-rw-r--r-- | addons/skin.estuary/xml/Includes.xml | 25 | ||||
-rw-r--r-- | addons/skin.estuary/xml/SkinSettings.xml | 6 | ||||
-rw-r--r-- | addons/skin.estuary/xml/Variables.xml | 5 |
3 files changed, 36 insertions, 0 deletions
diff --git a/addons/skin.estuary/xml/Includes.xml b/addons/skin.estuary/xml/Includes.xml index 01990c024e..897ce19874 100644 --- a/addons/skin.estuary/xml/Includes.xml +++ b/addons/skin.estuary/xml/Includes.xml @@ -893,6 +893,31 @@ <align>right</align> </control> </control> + <control type="group"> + <visible>Integer.IsGreater(System.ProfileCount,1) + !Player.HasMedia</visible> + <control type="image"> + <visible>Skin.HasSetting(show_profileavatar)</visible> + <top>25</top> + <left>-70</left> + <width>50</width> + <height>50</height> + <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation> + <texture>$INFO[System.ProfileThumb]</texture> + <aspectratio>scale</aspectratio> + </control> + <control type="label"> + <visible>Skin.HasSetting(show_profilename)</visible> + <font>font45</font> + <align>right</align> + <left>-630</left> + <shadowcolor>text_shadow</shadowcolor> + <aligny>center</aligny> + <height>110</height> + <width max="600">auto</width> + <animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation> + <label>$INFO[System.ProfileName]</label> + </control> + </control> <control type="label"> <font>font_clock</font> <shadowcolor>text_shadow</shadowcolor> diff --git a/addons/skin.estuary/xml/SkinSettings.xml b/addons/skin.estuary/xml/SkinSettings.xml index 61b3ffb424..d26bf839fb 100644 --- a/addons/skin.estuary/xml/SkinSettings.xml +++ b/addons/skin.estuary/xml/SkinSettings.xml @@ -67,6 +67,12 @@ <onclick>Skin.SelectBool(31024, 38018|circle_userrating, 563|circle_rating, 16018|circle_none)</onclick> <label2>$VAR[RatingSettingLabel2Var]</label2> </control> + <control type="button" id="707"> + <label>$LOCALIZE[31164]</label> + <include>DefaultSettingButton</include> + <onclick>Skin.SelectBool(31164, 31165|show_profilename, 31166|show_profileavatar, 16018|show_none)</onclick> + <label2>$VAR[ProfileIdentificationLabel2Var]</label2> + </control> </control> <control type="grouplist" id="600"> <top>160</top> diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml index fd4bb7f4ba..d57aeba763 100644 --- a/addons/skin.estuary/xml/Variables.xml +++ b/addons/skin.estuary/xml/Variables.xml @@ -141,6 +141,11 @@ <value condition="Skin.HasSetting(circle_userrating)">$LOCALIZE[38018]</value> <value>$LOCALIZE[16018]</value> </variable> + <variable name="ProfileIdentificationLabel2Var"> + <value condition="Skin.HasSetting(show_profilename)">$LOCALIZE[31165]</value> + <value condition="Skin.HasSetting(show_profileavatar)">$LOCALIZE[31166]</value> + <value>$LOCALIZE[16018]</value> + </variable> <variable name="AddonsListIconVar"> <value condition="!String.IsEmpty(ListItem.AddonBroken)">icons/addonstatus/disable.png</value> <value condition="ListItem.Property(addon.orphaned)">icons/addonstatus/orphan.png</value> |