diff options
author | jjd-uk <jjd-uk@kodi.tv> | 2024-01-24 17:57:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 17:57:10 +0000 |
commit | a4b164c00cbb20d2de48327a0189edb2e0ba3efc (patch) | |
tree | b0dc11434acc8dd3df16e8c71f822309b2e668cd /addons/skin.estuary/xml | |
parent | 09966e73a7ef7c0216d88db05d9ecf064b5c1872 (diff) | |
parent | 734d9422c119b9d72213d0d82f402eb73325da02 (diff) |
Merge pull request #24521 from jjd-uk/estuary_overlay_icons
[Estuary] Refactor of poster/widget overlay icons
Diffstat (limited to 'addons/skin.estuary/xml')
-rw-r--r-- | addons/skin.estuary/xml/Includes_Home.xml | 4 | ||||
-rw-r--r-- | addons/skin.estuary/xml/Variables.xml | 11 | ||||
-rw-r--r-- | addons/skin.estuary/xml/View_51_Poster.xml | 35 | ||||
-rw-r--r-- | addons/skin.estuary/xml/View_53_Shift.xml | 35 | ||||
-rw-r--r-- | addons/skin.estuary/xml/View_54_InfoWall.xml | 31 |
5 files changed, 74 insertions, 42 deletions
diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml index 606e4c2070..d7d274b398 100644 --- a/addons/skin.estuary/xml/Includes_Home.xml +++ b/addons/skin.estuary/xml/Includes_Home.xml @@ -496,7 +496,7 @@ <top>30</top> <width>32</width> <height>32</height> - <texture>$VAR[WallWatchedIconVar]</texture> + <texture>$VAR[ItemStatusIconVar]</texture> </control> <control type="progress"> <left>20</left> @@ -597,7 +597,7 @@ <top>30</top> <width>32</width> <height>32</height> - <texture>$VAR[WallWatchedIconVar]</texture> + <texture>$VAR[ItemStatusIconVar]</texture> </control> <control type="progress"> <left>20</left> diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml index 4b4f6a0f8f..c35195e270 100644 --- a/addons/skin.estuary/xml/Variables.xml +++ b/addons/skin.estuary/xml/Variables.xml @@ -473,18 +473,21 @@ <value condition="!String.IsEmpty(ListItem.Overlay)">$INFO[ListItem.Overlay]</value> <value condition="!ListItem.IsParentFolder">OverlayUnwatched.png</value> </variable> - <variable name="WallWatchedIconVar"> + <variable name="ItemStatusIconVar"> + <value condition="String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)">lists/played-total.png</value> <value condition="ListItem.IsRecording">windows/pvr/record.png</value> <value condition="ListItem.HasReminder">icons/pvr/timers/bell.png</value> <value condition="ListItem.HasTimer">icons/pvr/timers/recording.png</value> - <value condition="ListItem.IsCollection">overlays/set.png</value> - <value condition="ListItem.HasVideoVersions">overlays/versions.png</value> <value condition="ListItem.IsPlaying">overlays/watched/OverlayPlaying-List.png</value> <value condition="ListItem.IsResumable">overlays/watched/resume.png</value> - <value condition="ListItem.HasVideoExtras">overlays/extras.png</value> <value condition="ListItem.HasArchive">windows/pvr/archive.png</value> <value condition="Integer.IsGreater(ListItem.Playcount,0)">$INFO[ListItem.Overlay]</value> </variable> + <variable name="ItemTypeIconVar"> + <value condition="ListItem.IsCollection">overlays/set.png</value> + <value condition="ListItem.HasVideoVersions">overlays/versions.png</value> + <value condition="ListItem.HasVideoExtras">overlays/extras.png</value> + </variable> <variable name="ListPVRRecordingsIconVar"> <value condition="ListItem.IsRecording">windows/pvr/record.png</value> <value condition="ListItem.IsResumable">overlays/watched/resume.png</value> diff --git a/addons/skin.estuary/xml/View_51_Poster.xml b/addons/skin.estuary/xml/View_51_Poster.xml index dd214b7bbc..8ee39b6480 100644 --- a/addons/skin.estuary/xml/View_51_Poster.xml +++ b/addons/skin.estuary/xml/View_51_Poster.xml @@ -147,19 +147,29 @@ <visible>!String.IsEmpty(ListItem.Art(poster))</visible> </control> <control type="image"> - <left>6</left> + <left>10</left> <top>684</top> <width>32</width> <height>32</height> - <texture>$VAR[WallWatchedIconVar]</texture> - <align>right</align> + <align>left</align> + <aligny>center</aligny> + <texture>$VAR[ItemTypeIconVar]</texture> + </control> + <control type="image"> + <left>45</left> + <top>684</top> + <width>32</width> + <height>32</height> + <align>left</align> <aligny>center</aligny> + <texture>overlays/extras.png</texture> + <visible>ListItem.HasVideoVersions + ListItem.HasVideoExtras</visible> </control> <control type="label"> - <left>0</left> - <top>690</top> - <width>435</width> - <height>24</height> + <left>100</left> + <top>684</top> + <width>330</width> + <height>32</height> <label>$VAR[WatchedStatusVar]</label> <font>font20_title</font> <shadowcolor>text_shadow</shadowcolor> @@ -168,14 +178,13 @@ <visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible> </control> <control type="image"> - <left>445</left> - <top>690</top> - <width>24</width> - <height>24</height> - <texture>lists/played-total.png</texture> + <left>435</left> + <top>684</top> + <width>32</width> + <height>32</height> + <texture>$VAR[ItemStatusIconVar]</texture> <align>right</align> <aligny>center</aligny> - <visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible> </control> </control> <control type="progress"> diff --git a/addons/skin.estuary/xml/View_53_Shift.xml b/addons/skin.estuary/xml/View_53_Shift.xml index ce5a873b93..f008efdaa1 100644 --- a/addons/skin.estuary/xml/View_53_Shift.xml +++ b/addons/skin.estuary/xml/View_53_Shift.xml @@ -208,36 +208,45 @@ <texture colordiffuse="CCFFFFFF">overlays/overlayfade.png</texture> <visible>!String.IsEmpty(ListItem.Art(poster))</visible> </control> - <control type="label"> - <left>75</left> + <control type="image"> + <left>45</left> <top>522</top> - <width>222</width> + <width>24</width> <height>24</height> - <label>$VAR[WatchedStatusVar]</label> - <font>font20_title</font> - <shadowcolor>text_shadow</shadowcolor> - <align>right</align> + <align>left</align> <aligny>center</aligny> - <visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible> + <texture>$VAR[ItemTypeIconVar]</texture> </control> <control type="image"> - <left>302</left> + <left>75</left> <top>522</top> <width>24</width> <height>24</height> - <texture>lists/played-total.png</texture> + <align>left</align> + <aligny>center</aligny> + <texture>overlays/extras.png</texture> + <visible>ListItem.HasVideoVersions + ListItem.HasVideoExtras</visible> + </control> + <control type="label"> + <left>110</left> + <top>522</top> + <width>185</width> + <height>24</height> + <label>$VAR[WatchedStatusVar]</label> + <font>font20_title</font> + <shadowcolor>text_shadow</shadowcolor> <align>right</align> <aligny>center</aligny> <visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible> </control> <control type="image"> - <left>45</left> + <left>302</left> <top>522</top> <width>24</width> <height>24</height> - <align>left</align> + <texture>$VAR[ItemStatusIconVar]</texture> + <align>right</align> <aligny>center</aligny> - <texture>$VAR[WallWatchedIconVar]</texture> </control> </control> </include> diff --git a/addons/skin.estuary/xml/View_54_InfoWall.xml b/addons/skin.estuary/xml/View_54_InfoWall.xml index a2022c374b..d0d3e23af6 100644 --- a/addons/skin.estuary/xml/View_54_InfoWall.xml +++ b/addons/skin.estuary/xml/View_54_InfoWall.xml @@ -176,7 +176,7 @@ <top>175</top> <width>32</width> <height>32</height> - <texture>$VAR[WallWatchedIconVar]</texture> + <texture>$VAR[ItemStatusIconVar]</texture> </control> <control type="textbox"> <left>28</left> @@ -310,16 +310,28 @@ <visible>!String.IsEmpty(ListItem.Art(poster))</visible> </control> <control type="image"> - <left>35</left> - <top>353</top> - <width>32</width> - <height>32</height> - <texture>$VAR[WallWatchedIconVar]</texture> + <left>40</left> + <top>358</top> + <width>24</width> + <height>24</height> + <align>left</align> + <aligny>center</aligny> + <texture>$VAR[ItemTypeIconVar]</texture> + </control> + <control type="image"> + <left>70</left> + <top>358</top> + <width>24</width> + <height>24</height> + <align>left</align> + <aligny>center</aligny> + <texture>overlays/extras.png</texture> + <visible>ListItem.HasVideoVersions + ListItem.HasVideoExtras</visible> </control> <control type="label"> - <left>0</left> + <left>105</left> <top>355</top> - <width>244</width> + <width>145</width> <label>$VAR[WatchedStatusVar]</label> <font>font20_title</font> <shadowcolor>text_shadow</shadowcolor> @@ -331,8 +343,7 @@ <top>358</top> <width>24</width> <height>24</height> - <texture>lists/played-total.png</texture> - <visible>String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,set) | String.IsEqual(ListItem.DBType,season)</visible> + <texture>$VAR[ItemStatusIconVar]</texture> </control> </control> <control type="group"> |