This commit is contained in:
theDeadMan 2018-10-16 19:14:30 +01:00
parent 7c0e6c0152
commit f0a5d3996d
5 changed files with 85 additions and 31 deletions

View File

@ -62,6 +62,8 @@
<!--photos--> <!--photos-->
<expression name="isPhotoAlbum">container.content(images)</expression> <expression name="isPhotoAlbum">container.content(images)</expression>
<!--games-->
<expression name="isGame">container.content(games)</expression>
<!--weather--> <!--weather-->
<expression name="hasWeather">!String.IsEmpty(Window(Weather).Property(WeatherProvider)) + !String.String.IsEmpty(weather.temperature) + !String.String.IsEmpty(weather.conditions)</expression> <expression name="hasWeather">!String.IsEmpty(Window(Weather).Property(WeatherProvider)) + !String.String.IsEmpty(weather.temperature) + !String.String.IsEmpty(weather.conditions)</expression>

View File

@ -29,7 +29,7 @@
<value condition="Window.isactive(programs)">$LOCALIZE[10506]</value> <value condition="Window.isactive(programs)">$LOCALIZE[10506]</value>
<value condition="Window.isactive(musicplaylist) | Window.isactive(videoplaylist)">$LOCALIZE[31123]</value> <value condition="Window.isactive(musicplaylist) | Window.isactive(videoplaylist)">$LOCALIZE[31123]</value>
<value condition="Window.isactive(pictures)">$LOCALIZE[31056]</value> <value condition="Window.isactive(pictures)">$LOCALIZE[31056]</value>
<value condition="Window.isactive(games)">$LOCALIZE[31232]</value> <value condition="Window.isactive(games)">$LOCALIZE[31232] [LOWERCASE][COLOR highlight]$INFO[container.foldername][/COLOR][/LOWERCASE]</value>
</variable> </variable>
<variable name="listSubTitle"> <variable name="listSubTitle">
<value condition="Window.isactive(Videos)">$INFO[Container.NumAllItems,, $LOCALIZE[31014]] $VAR[unwatchedOnly]</value> <value condition="Window.isactive(Videos)">$INFO[Container.NumAllItems,, $LOCALIZE[31014]] $VAR[unwatchedOnly]</value>

View File

@ -2,7 +2,7 @@
<window> <window>
<defaultcontrol always="true">9999</defaultcontrol> <defaultcontrol always="true">9999</defaultcontrol>
<include>fadeInOut</include> <include>fadeInOut</include>
<views>50</views> <views>51</views>
<controls> <controls>
<include>globalBackground</include> <include>globalBackground</include>
<!--page container group--> <!--page container group-->

View File

@ -2,6 +2,8 @@
<includes> <includes>
<include name="games"> <include name="games">
<control type="panel" id="50"> <control type="panel" id="50">
<!--<visible>$EXP[isGame]</visible>-->
<visible>false</visible>
<posx>col-1-begin</posx> <posx>col-1-begin</posx>
<posy>row-5-begin</posy> <posy>row-5-begin</posy>
<width>1800</width> <width>1800</width>
@ -84,5 +86,81 @@
</control> </control>
</focusedlayout> </focusedlayout>
</control> </control>
<control type="panel" id="51">
<!--<visible>!$EXP[isGame]</visible>-->
<posx>col-1-begin</posx>
<posy>row-5-begin</posy>
<width>24-col</width>
<height>23-row</height>
<onleft>9000</onleft>
<onright>61</onright>
<ondown>51</ondown>
<onup>51</onup>
<pagecontrol>61</pagecontrol>
<itemlayout width="24-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>3</posy>
<width>66</width>
<height>66</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/black.png" diffuse="masks/circle.png" border="0">$INFO[Listitem.thumb]</texture>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>23-col</width>
<height>69</height>
<aspectratio>stretch</aspectratio>
<texture border="0">colors/black.png</texture>
<colordiffuse>textboxInactive</colordiffuse>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>22-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor></shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout width="24-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>3</posy>
<width>66</width>
<height>66</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/white.png" diffuse="masks/circle.png" border="0">$INFO[Listitem.thumb]</texture>
<animation type="focus" loop="false" reversible="false">
<effect type="fade" time="500"/>
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>23-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture border="0">colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>22-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor></shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
</include> </include>
</includes> </includes>

View File

@ -117,8 +117,8 @@
<height>23-row</height> <height>23-row</height>
<onleft>9000</onleft> <onleft>9000</onleft>
<onright>61</onright> <onright>61</onright>
<ondown>55</ondown> <ondown>51</ondown>
<onup>55</onup> <onup>51</onup>
<pagecontrol>61</pagecontrol> <pagecontrol>61</pagecontrol>
<itemlayout width="24-col" height="2-row"> <itemlayout width="24-col" height="2-row">
<control type="image"> <control type="image">
@ -149,19 +149,6 @@
<shadowcolor></shadowcolor> <shadowcolor></shadowcolor>
<label>$INFO[ListItem.Label]</label> <label>$INFO[ListItem.Label]</label>
</control> </control>
<control type="label">
<visible>!String.IsEmpty(ListItem.playcount)</visible>
<posx>23-col-gutter</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aligny>center</aligny>
<align>right</align>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor></shadowcolor>
<label></label>
</control>
</itemlayout> </itemlayout>
<focusedlayout width="24-col" height="2-row"> <focusedlayout width="24-col" height="2-row">
<control type="image"> <control type="image">
@ -196,19 +183,6 @@
<shadowcolor></shadowcolor> <shadowcolor></shadowcolor>
<label>$INFO[ListItem.Label]</label> <label>$INFO[ListItem.Label]</label>
</control> </control>
<control type="label">
<visible>!String.IsEmpty(ListItem.playcount)</visible>
<posx>23-col-gutter</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aligny>center</aligny>
<align>right</align>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor></shadowcolor>
<label></label>
</control>
</focusedlayout> </focusedlayout>
</control> </control>
</include> </include>