skin.pellucidPlus/1080i/Home.xml

295 lines
9.5 KiB
XML
Raw Normal View History

2014-09-28 20:47:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
2017-09-21 00:51:51 +02:00
<defaultcontrol always="true">9000</defaultcontrol>
2017-09-24 01:12:32 +02:00
<include>fadeInOut</include>
2018-02-05 20:44:04 +01:00
<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu)</onload>
2017-09-21 00:51:51 +02:00
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
2017-10-07 11:53:15 +02:00
<onload>AlarmClock(hidemenu,setfocus(9999),00:20,true)</onload>
2017-09-21 00:51:51 +02:00
<controls>
<include>globalBackground</include>
<control type="group">
<control type="multiimage">
<animation effect="fade" start="0" end="100" time="1000">WindowOpen</animation>
<include>dimensionsFullscreen</include>
<imagepath>$VAR[homeBackgroundLocation]</imagepath>
<timeperimage>45000</timeperimage>
<fadetime>200</fadetime>
<pauseatend>10000</pauseatend>
<randomize>true</randomize>
<loop>yes</loop>
<aspectratio>scale</aspectratio>
2017-09-21 21:32:06 +02:00
<colordiffuse>99ffffff</colordiffuse>
2017-09-21 00:51:51 +02:00
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<!--mini window-->
<include>miniVideoPlayer</include>
<!--main menu-->
<control type="panel" id="9000">
2017-10-07 11:53:15 +02:00
<animation type="conditional" condition="control.hasfocus(9999)" reversible="true">
<effect type="fade" start="100" end="0" time="500" delay="0"/>
</animation>
2017-09-21 00:51:51 +02:00
<posx>col-5-begin</posx>
2018-06-17 18:24:30 +02:00
<animation condition="string.isEqual(Container(9000).NumItems,1)" effect="slide" end="432,0" time="0">conditional</animation>
<animation condition="string.isEqual(Container(9000).NumItems,2)" effect="slide" end="288,0" time="0">conditional</animation>
<animation condition="string.isEqual(Container(9000).NumItems,3)" effect="slide" end="144,0" time="0">conditional</animation>
2017-09-21 00:51:51 +02:00
<posy>row-12-begin</posy>
2017-09-24 20:19:10 +02:00
<width>18-col</width>
2017-09-21 00:51:51 +02:00
<height>12-row</height>
2017-10-07 11:53:15 +02:00
<ondown>setfocus(9001,1)</ondown>
2017-09-21 00:51:51 +02:00
<orientation>vertical</orientation>
<itemlayout width="4-col" height="3-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>4-col-textbox</width>
<height>105</height>
<texture>colors/black.png</texture>
2017-09-24 13:30:00 +02:00
<colordiffuse>77000000</colordiffuse>
2017-09-21 00:51:51 +02:00
<aspectratio>stretch</aspectratio>
</control>
2017-09-21 21:32:06 +02:00
<control type="textbox">
<posx>12</posx>
2017-09-21 00:51:51 +02:00
<posy>0</posy>
2017-09-21 21:32:06 +02:00
<width>252</width>
2017-09-21 00:51:51 +02:00
<height>3-row</height>
<font>dialogTitle</font>
<wrapmultiline>true</wrapmultiline>
<aligny>center</aligny>
<align>center</align>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-09-21 00:51:51 +02:00
<label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
</control>
</itemlayout>
<focusedlayout width="4-col" height="3-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>4-col-textbox</width>
<height>105</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
2017-09-21 21:32:06 +02:00
<control type="textbox">
<posx>12</posx>
2017-09-21 00:51:51 +02:00
<posy>0</posy>
2017-09-21 21:32:06 +02:00
<width>252</width>
2017-09-21 00:51:51 +02:00
<height>3-row</height>
<font>dialogTitle</font>
<wrapmultiline>true</wrapmultiline>
<aligny>center</aligny>
2017-09-21 21:32:06 +02:00
<align>center</align>
2017-09-21 00:51:51 +02:00
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-09-21 00:51:51 +02:00
<label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
</control>
</focusedlayout>
<content>
<include>skinshortcuts-mainmenu</include>
</content>
</control>
2017-09-19 22:24:15 +02:00
<!--power / settings-->
<control type="group">
2017-09-30 16:21:39 +02:00
<posx>851</posx>
2017-09-21 00:51:51 +02:00
<posy>row-26-begin</posy>
2017-09-19 22:24:15 +02:00
<control type="panel" id="9001">
<posx>0</posx>
2017-10-07 11:53:15 +02:00
<posy>18</posy>
<width>4-col</width>
2017-09-19 22:24:15 +02:00
<height>1-col</height>
<orientation>horizontal</orientation>
2017-09-21 00:51:51 +02:00
<onup>9000</onup>
2017-09-19 22:24:15 +02:00
<itemlayout width="1-col" height="1-col">
<control type="label">
2019-02-03 22:09:09 +01:00
<posx>0.5</posx>
2017-12-04 20:36:47 +01:00
<posy>-1</posy>
2017-09-19 22:24:15 +02:00
<width>1-col</width>
<height>1-col</height>
<font>symbolLarge</font>
<align>center</align>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-09-19 22:24:15 +02:00
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="1-col" height="1-col">
<control type="image">
2017-09-21 00:51:51 +02:00
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>1-col</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/circle.png">colors/white.png</texture>
2017-09-19 22:24:15 +02:00
<colordiffuse>highlight</colordiffuse>
2017-09-21 00:51:51 +02:00
</control>
2017-09-19 22:24:15 +02:00
<control type="label">
2019-02-03 22:09:09 +01:00
<posx>0.5</posx>
2017-12-04 20:36:47 +01:00
<posy>-1</posy>
2017-09-19 22:24:15 +02:00
<width>1-col</width>
<height>1-col</height>
<font>symbolLarge</font>
<align>center</align>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-09-19 22:24:15 +02:00
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
<content>
<item>
2017-09-21 00:51:51 +02:00
<label></label>
<onclick>ActivateWindow(Settings)</onclick>
</item>
2017-09-19 22:24:15 +02:00
<item>
2017-10-07 11:53:15 +02:00
<visible>control.hasfocus(9999)</visible>
<label></label>
<onclick>setfocus(9000,0)</onclick>
2017-09-21 00:51:51 +02:00
</item>
2017-09-30 16:21:39 +02:00
<item>
2017-10-07 11:53:15 +02:00
<visible>!control.hasfocus(9999)</visible>
<label></label>
<onclick>setfocus(9999)</onclick>
</item>
<item>
<label></label>
<onclick>ActivateWindow(shutdownmenu)</onclick>
2017-09-30 16:21:39 +02:00
</item>
2017-09-19 22:24:15 +02:00
</content>
</control>
</control>
2017-09-21 00:51:51 +02:00
<!--Date / time and weather-->
2017-10-07 11:53:15 +02:00
<control type="group">
<posx>col-1-begin</posx>
<posy>row-8-begin</posy>
<animation type="conditional" condition="control.hasfocus(9999) + !player.hasaudio" reversible="true">
<effect type="slide" start="0,0" end="0,538" time="200" delay="0"/>
</animation>
<animation type="conditional" condition="control.hasfocus(9999) + player.hasaudio" reversible="true">
<effect type="slide" start="0,0" end="0,484" time="200" delay="0"/>
</animation>
<control type="label">
<posx>0</posx>
<posy>-48</posy>
<width>24-col</width>
<height>2-row</height>
<align>center</align>
<font>veryLarge</font>
<textcolor>textActive</textcolor>
2017-09-21 21:32:06 +02:00
<shadowcolor>44000000</shadowcolor>
2017-10-07 11:53:15 +02:00
<label>$INFO[System.Time]</label>
</control>
<control type="label">
2017-12-02 21:30:51 +01:00
<visible>$EXP[hasWeather]</visible>
2017-10-07 11:53:15 +02:00
<posx>0</posx>
<posy>1-row</posy>
<width>24-col</width>
<height>2-row</height>
<font>regular</font>
<align>center</align>
<textcolor>textActive</textcolor>
2017-09-21 21:32:06 +02:00
<shadowcolor>44000000</shadowcolor>
2017-11-19 21:43:21 +01:00
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)] [B]$INFO[weather.temperature][/B] [CAPITALIZE]$INFO[weather.conditions][/CAPITALIZE]</label>
2017-10-07 11:53:15 +02:00
</control>
2017-12-02 21:30:51 +01:00
<control type="label">
<visible>!$EXP[hasWeather]</visible>
<posx>0</posx>
<posy>1-row</posy>
<width>24-col</width>
<height>2-row</height>
<font>regular</font>
<align>center</align>
<textcolor>textActive</textcolor>
<shadowcolor>44000000</shadowcolor>
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
</control>
2017-10-07 11:53:15 +02:00
</control>
2017-09-24 20:19:10 +02:00
<!--now playing music-->
2017-10-07 11:53:15 +02:00
<control type="group">
<visible>player.hasaudio</visible>
<posx>col-1-begin</posx>
<posy>row-24-begin</posy>
<control type="grouplist">
<posx>0</posx>
2017-11-19 21:43:21 +01:00
<posy>8</posy>
2017-10-07 11:53:15 +02:00
<width>24-col</width>
<align>center</align>
<itemgap>18</itemgap>
<orientation>horizontal</orientation>
<control type="image">
2017-11-19 21:43:21 +01:00
<visible>!player.paused + !System.Platform.Linux.RaspberryPi + !Skin.HasSetting(lowPowerMode)</visible>
2017-10-07 11:53:15 +02:00
<posx>0</posx>
<posy>0</posy>
<width>1-col-gutter</width>
<height>1-col-gutter</height>
<texture>equaliser.gif</texture>
</control>
<control type="label">
2017-11-19 21:43:21 +01:00
<visible>!player.paused + [System.Platform.Linux.RaspberryPi | Skin.HasSetting(lowPowerMode)]</visible>
2017-10-07 11:53:15 +02:00
<posx>0</posx>
<posy>0</posy>
<width>1-col-gutter</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-10-07 11:53:15 +02:00
<label></label>
</control>
<control type="label">
<visible>player.paused</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col-gutter</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-10-07 11:53:15 +02:00
<label></label>
</control>
<control type="label">
<description>Artist</description>
<posx>0</posx>
<posy>0</posy>
<font>small</font>
<width>auto</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[MusicPlayer.TimeRemaining,, ][B]$INFO[musicplayer.Artist,, ][/B]$INFO[MusicPlayer.Title]</label>
<scroll>true</scroll>
<textcolor>textActive</textcolor>
<wrapmultiline>false</wrapmultiline>
</control>
</control>
</control>
<control type="button" id="9999">
<posx>-500</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<onleft>setfocus(9000,0)</onleft>
<onright>setfocus(9000,0)</onright>
<onup>setfocus(9000,0)</onup>
<ondown>setfocus(9000,0)</ondown>
<onclick>setfocus(9000,0)</onclick>
</control>
2017-09-21 00:51:51 +02:00
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>Home.xml</label>
</control>
</controls>
</window>