skin.pellucidPlus/1080i/Home.xml

253 lines
8.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
<defaultcontrol always="true">9000</defaultcontrol>
<include>fadeInOut</include>
<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu)</onload>
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
<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>
<colordiffuse>99ffffff</colordiffuse>
</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">
<posx>col-5-begin</posx>
<posy>row-12-begin</posy>
<width>18-col</width>
<height>12-row</height>
<ondown>9001</ondown>
<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>
<colordiffuse>77000000</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="textbox">
<posx>12</posx>
<posy>0</posy>
<width>252</width>
<height>3-row</height>
<font>dialogTitle</font>
<wrapmultiline>true</wrapmultiline>
<aligny>center</aligny>
<align>center</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<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>
<control type="textbox">
<posx>12</posx>
<posy>0</posy>
<width>252</width>
<height>3-row</height>
<font>dialogTitle</font>
<wrapmultiline>true</wrapmultiline>
<aligny>center</aligny>
<align>center</align>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
</control>
</focusedlayout>
<content>
<include>skinshortcuts-mainmenu</include>
</content>
</control>
<!--power / settings-->
<control type="group">
<posx>851</posx>
<posy>row-26-begin</posy>
<control type="panel" id="9001">
<posx>0</posx>
<posy>0</posy>
<width>3-col</width>
<height>1-col</height>
<orientation>horizontal</orientation>
<onup>9000</onup>
<itemlayout width="1-col" height="1-col">
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>1-col</height>
<font>symbolLarge</font>
<align>center</align>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="1-col" height="1-col">
<control type="image">
<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>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>1-col</height>
<font>symbolLarge</font>
<align>center</align>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
<content>
<item>
<label></label>
<onclick>ActivateWindow(Settings)</onclick>
</item>
<item>
<label></label>
<onclick>ActivateWindow(shutdownmenu)</onclick>
</item>
<item>
<label></label>
<onclick>ActivateWindow(systeminfo)</onclick>
</item>
</content>
</control>
</control>
<!--Date / time and weather-->
<control type="group">
<posx>col-1-begin</posx>
<posy>row-8-begin</posy>
<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>
<shadowcolor>44000000</shadowcolor>
<label>$INFO[System.Time]</label>
</control>
<control type="label">
<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>
</control>
<!--now playing music-->
<control type="group">
<visible>player.hasaudio</visible>
<posx>col-1-begin</posx>
<posy>row-24-begin</posy>
<control type="grouplist">
<posx>0</posx>
<posy>0</posy>
<width>24-col</width>
<align>center</align>
<itemgap>18</itemgap>
<orientation>horizontal</orientation>
<control type="image">
<visible>!player.paused + !System.Platform.Linux.RaspberryPi</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col-gutter</width>
<height>1-col-gutter</height>
<texture>equaliser.gif</texture>
</control>
<control type="label">
<visible>!player.paused + System.Platform.Linux.RaspberryPi</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>
<shadowcolor>-</shadowcolor>
<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>
<shadowcolor>-</shadowcolor>
<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>
<height>2-row</height>
<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>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>Home.xml</label>
</control>
</controls>
</window>