skin.pellucidPlus/1080i/Home.xml

196 lines
9.5 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>
<include>homeBackground</include>
<!--browse controls-->
<control type="group">
<posx>0</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>
<onleft>ActivateWindow(systeminfo)</onleft>
<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 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">
<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 type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col-textbox</width>
<height>2-col-textbox</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0">colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>highlight</colordiffuse>
</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 id="1">
<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 id="2">
<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 id="3">
<visible>!Skin.HasSetting(hidePictures)</visible>
<label>31002</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(pictures)</onclick>
</item>
<item id="4">
<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 id="9">
<label>31197</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(weather)</onclick>
</item>
<item id="6">
<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 id="7">
<label>5</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(settings)</onclick>
</item>
<item id="8">
<label>31004</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
</item>
</content>
</control>
</control>
<!--Date / time and weather-->
<control type="group">
<posx>18-col</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>