skin.pellucidPlus/1080i/Home.xml

221 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
<defaultcontrol always="true">9000</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
<onload>Skin.Reset(keepMusicMenuActive)</onload>
<animation effect="fade" start="100" end="0" time="250">WindowClose</animation>
<animation effect="fade" start="0" end="100" time="500" reversible="true">WindowOpen</animation>
<controls>
<include>globalBackground</include>
<!--home background-->
<control type="image">
<visible>false</visible>
<include>dimensionsFullscreen</include>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0">$INFO[skin.string(homeBackground)]</texture>
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>backgrounds/vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--browse controls-->
<control type="group">
<posx>24</posx>
<posy>row-1-begin</posy>
<control type="list" id="9000">
<posx>0</posx>
<posy>0</posy>
<width>2000</width>
<height>fullscreenHeight</height>
<orientation>vertical</orientation>
<!--
<onup>ActivateWindow(systeminfo)</onup>
<ondown>ActivateWindow(weather)</ondown>
-->
<itemlayout width="2-row" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</width>
<height>1-col-textbox</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">colors/black.png</texture>
<bordersize>0</bordersize>
<colordiffuse>textboxInactive</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</width>
<height>1-col-textbox</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
<focusedlayout width="2-col" height="2-col">
<control type="group">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col-textbox</width>
<height>2-col-textbox</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>highlight</colordiffuse>
<animation type="focus" loop="false" reversible="false">
<effect type="rotatey" start="0" end="-15" center="70" tween="back" easing="out" time="300"/>
<effect type="rotatey" start="0" end="15" center="70" tween="back" easing="out" delay="300" time="300"/>
</animation>
</control>
<control type="label">
<posx>0</posx>
<posy>-2</posy>
<width>2-col-textbox</width>
<height>2-col-textbox</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolVeryLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</control>
<control type="label">
<posx>col-2-begin</posx>
<posy>0</posy>
<width>8-col-gutter</width>
<height>2-col</height>
<aligny>center</aligny>
<font>large</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<content>
<item>
<visible>!Skin.HasSetting(hideVideo)</visible>
<label>31000</label>
<label2></label2>
<thumb>-</thumb>
<onclick condition="!Library.HasContent(Video)">ActivateWindow(Videos,files)</onclick>
<onclick condition="!Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="Library.HasContent(Video)">ActivateWindow(Videos,videodb://)</onclick>
<onclick condition="Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,true)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hideMusic)</visible>
<label>31001</label>
<label2></label2>
<thumb>-</thumb>
<onclick condition="!Library.HasContent(Music)">ActivateWindow(MusicFiles,root)</onclick>
<onclick condition="!Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick condition="Library.HasContent(Music)">ActivateWindow(musiclibrary)</onclick>
<onclick condition="Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,true)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hidePictures)</visible>
<label>31002</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(pictures)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hideGames) + System.HasAddon(script.games.rom.collection.browser)</visible>
<label>31156</label>
<label2></label2>
<thumb>-</thumb>
<onclick>RunScript(script.games.rom.collection.browser,)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hidePrograms)</visible>
<label>0</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(programs,addons,return)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hideSearch)</visible>
<label>137</label>
<label2></label2>
<thumb>-</thumb>
<onclick>RunScript(script.globalsearch)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible>!Skin.HasSetting(hideFavourites)</visible>
<label>1036</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ReplaceWindow(favourites)</onclick>
</item>
<item>
<label>5</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(settings)</onclick>
</item>
<item>
<label>31004</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
</item>
</content>
</control>
</control>
<!--Date / time and weather-->
<control type="group">
<posx>col-17-begin</posx>
<posy>row-21-begin</posy>
<control type="label">
<posx>8-col</posx>
<posy>12</posy>
<width>8-col</width>
<height>4-row</height>
<align>right</align>
<font>veryLarge</font>
<textcolor>selected</textcolor>
<label>$INFO[System.Time]</label>
</control>
<control type="label">
<posx>8-col</posx>
<posy>3-row</posy>
<width>8-col</width>
<height>4-row</height>
<align>right</align>
<font>Large</font>
<textcolor>selected</textcolor>
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
</control>
<control type="label">
<posx>8-col</posx>
<posy>182</posy>
<width>12-col</width>
<height>3-row</height>
<align>right</align>
<font>regular</font>
<textcolor>selected</textcolor>
<label>$INFO[weather.location] [B]$INFO[weather.temperature][/B] [LOWERCASE]$INFO[weather.conditions][/LOWERCASE]</label>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>Home.xml</label>
</control>
</controls>
</window>