skin.pellucid/1080i/Home.xml

220 lines
10 KiB
XML
Raw Normal View History

2014-09-28 20:47:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<window id="0">
<defaultcontrol always="true">9000</defaultcontrol>
<allowoverlay>yes</allowoverlay>
2015-03-27 21:31:13 +01:00
<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>
2014-09-28 20:47:53 +02:00
<controls>
2015-03-27 21:31:13 +01:00
<include>globalBackground</include>
2015-04-06 21:57:56 +02:00
<!--home background-->
2015-04-01 21:11:01 +02:00
<control type="image">
2015-03-30 21:32:00 +02:00
<include>dimensionsFullscreen</include>
2015-04-01 21:11:01 +02:00
<aspectratio scalediffuse="false">scale</aspectratio>
2015-04-06 21:57:56 +02:00
<texture border="0">$INFO[skin.string(homeBackground)]</texture>
2015-04-01 21:11:01 +02:00
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
2015-03-30 21:32:00 +02:00
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>backgrounds/vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
2014-09-28 20:47:53 +02:00
<!--browse controls-->
<control type="group">
2015-03-27 21:31:13 +01:00
<posx>0</posx>
<posy>row-1-begin</posy>
2014-09-28 20:47:53 +02:00
<control type="list" id="9000">
<posx>0</posx>
<posy>0</posy>
<width>2000</width>
2015-03-27 21:31:13 +01:00
<height>fullscreenHeight</height>
<orientation>vertical</orientation>
<!--
2014-09-28 20:47:53 +02:00
<onup>ActivateWindow(systeminfo)</onup>
<ondown>ActivateWindow(weather)</ondown>
2015-03-27 21:31:13 +01:00
-->
<itemlayout width="2-row" height="2-row">
2014-09-28 20:47:53 +02:00
<control type="image">
<posx>0</posx>
<posy>0</posy>
2015-03-27 21:31:13 +01:00
<width>1-col-textbox</width>
<height>1-col-textbox</height>
2014-09-28 20:47:53 +02:00
<aspectratio scalediffuse="false">scale</aspectratio>
2015-03-27 21:31:13 +01:00
<texture border="0">colors/black.png</texture>
2014-09-28 20:47:53 +02:00
<bordersize>0</bordersize>
2015-03-27 21:31:13 +01:00
<colordiffuse>textboxInactive</colordiffuse>
2014-09-28 20:47:53 +02:00
</control>
<control type="label">
2015-03-27 21:31:13 +01:00
<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>
2014-09-28 20:47:53 +02:00
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
2015-03-27 21:31:13 +01:00
<focusedlayout width="2-col" height="2-col">
2015-04-06 21:57:56 +02:00
<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 border="0">colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>500</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>0</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>
2014-09-28 20:47:53 +02:00
</control>
2015-03-27 21:31:13 +01:00
<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>
2014-09-28 20:47:53 +02:00
</focusedlayout>
<content>
<item>
2015-03-27 21:31:13 +01:00
<visible>!Skin.HasSetting(hideVideo)</visible>
2014-09-28 20:47:53 +02:00
<label>31000</label>
<label2></label2>
<thumb>-</thumb>
2015-03-27 21:31:13 +01:00
<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>
2014-09-28 20:47:53 +02:00
</item>
<item>
2015-03-27 21:31:13 +01:00
<visible>!Skin.HasSetting(hideMusic)</visible>
2014-09-28 20:47:53 +02:00
<label>31001</label>
<label2></label2>
<thumb>-</thumb>
2015-03-27 21:31:13 +01:00
<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>
2014-09-28 20:47:53 +02:00
</item>
<item>
2015-03-27 21:31:13 +01:00
<visible>!Skin.HasSetting(hidePictures)</visible>
2014-09-28 20:47:53 +02:00
<label>31002</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(pictures)</onclick>
</item>
2015-03-27 21:31:13 +01:00
<item>
<visible>!Skin.HasSetting(hideGames) + System.HasAddon(script.games.rom.collection.browser)</visible>
2014-09-28 20:47:53 +02:00
<label>31156</label>
<label2></label2>
<thumb>-</thumb>
2015-03-27 21:31:13 +01:00
<onclick>RunScript(script.games.rom.collection.browser,)</onclick>
2014-09-28 20:47:53 +02:00
</item>
2015-03-27 21:31:13 +01:00
<item>
<visible>!Skin.HasSetting(hidePrograms)</visible>
2014-09-28 20:47:53 +02:00
<label>0</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(programs,addons,return)</onclick>
</item>
2015-03-27 21:31:13 +01:00
<item>
<visible>!Skin.HasSetting(hideSearch)</visible>
2014-09-28 20:47:53 +02:00
<label>137</label>
<label2></label2>
<thumb>-</thumb>
<onclick>RunScript(script.globalsearch)</onclick>
2015-03-27 21:31:13 +01:00
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
2014-09-28 20:47:53 +02:00
</item>
2015-03-27 21:31:13 +01:00
<item>
<visible>!Skin.HasSetting(hideFavourites)</visible>
2014-09-28 20:47:53 +02:00
<label>1036</label>
2015-03-27 21:31:13 +01:00
<label2></label2>
2014-09-28 20:47:53 +02:00
<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>
2015-03-27 21:31:13 +01:00
</control>
2015-03-30 21:32:00 +02:00
<!--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>
2015-04-01 21:11:01 +02:00
<label>$INFO[System.Date(DDD)] [B]$INFO[System.Date(dd)][/B] $INFO[System.Date(MMM)]</label>
2015-03-30 21:32:00 +02:00
</control>
<control type="label">
<posx>8-col</posx>
2015-03-31 21:21:43 +02:00
<posy>182</posy>
<width>12-col</width>
2015-03-30 21:32:00 +02:00
<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>
2014-09-28 20:47:53 +02:00
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>Home.xml</label>
</control>
</controls>
2015-03-27 21:31:13 +01:00
</window>