diff options
author | DaVukovic <dvukovic@gmx.de> | 2018-04-22 13:24:33 +0200 |
---|---|---|
committer | DaVukovic <dvukovic@gmx.de> | 2018-06-27 14:02:49 +0200 |
commit | 05a6ade3484ad75b8ed6870bce645eb2b4aaaf18 (patch) | |
tree | 8a2a8023c3d20cd46743e4ff13fad7bcad660917 /addons/skin.estuary/xml | |
parent | e6b2c79950465a3401d33a83aa21fdc2a40ac4fb (diff) |
Add functionality to show profile name
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 a8fb1562d8..5953bf2f76 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 0f2ed54034..a342cea21f 100644 --- a/addons/skin.estuary/xml/SkinSettings.xml +++ b/addons/skin.estuary/xml/SkinSettings.xml @@ -67,6 +67,12 @@ <onclick>Skin.SelectBool($LOCALIZE[31024], 38018|circle_userrating, 563|circle_rating, 16018|)</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> |