<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<views>50</views>
	<controls>
		<include>CommonBackground</include>
		<control type="image">
			<left>0</left>
			<top>100r</top>
			<width>1280</width>
			<height>100</height>
			<texture>floor.png</texture>
			<animation effect="fade" time="250" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="250" condition="Window.Next(Home)">WindowClose</animation>
		</control>
		<control type="group">
			<include>Window_OpenClose_Animation</include>		
			<control type="image">
				<left>0</left>
				<top>100r</top>
				<width>1280</width>
				<height>100</height>
				<texture>floor.png</texture>
				<animation effect="fade" time="250" condition="Window.Previous(Home)">WindowOpen</animation>
				<animation effect="fade" time="250" condition="Window.Next(Home)">WindowClose</animation>
			</control>
			<control type="group">
				<include>Window_OpenClose_Animation</include>		
				<control type="group">
					<include>VisibleFadeEffect</include>
					<control type="image">
						<left>55</left>
						<top>60</top>
						<width>1170</width>
						<height>600</height>
						<texture border="15">ContentPanel.png</texture>
					</control>
					<control type="image">
						<left>55</left>
						<top>652</top>
						<width>1170</width>
						<height>64</height>
						<texture border="15">ContentPanelMirror.png</texture>
					</control>
				</control>
			</control>
		</control>
		<include>MainWindowMouseButtons</include>
		<include>PVRHeader</include>

			
		<control type="group">
			<include>Window_OpenClose_Animation</include>
			<description>TV Search group</description>
			<visible>Control.IsVisible(50)</visible>
			<include>VisibleFadeEffect</include>
			<control type="group">
				<left>80</left>
				<top>60</top>
				<control type="label">
					<description>Channel label</description>
					<left>0</left>
					<top>20</top>
					<width>220</width>
					<height>20</height>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<aligny>center</aligny>
					<label>19148</label>
				</control>
				<control type="label">
					<description>Title header label</description>
					<left>240</left>
					<top>20</top>
					<width>300</width>
					<height>20</height>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<aligny>center</aligny>
					<label>369</label>
				</control>
				<control type="label">
					<description>Time label</description>
					<left>750</left>
					<top>20</top>
					<width>300</width>
					<height>20</height>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<aligny>center</aligny>
					<label>21820</label>
				</control>
				<control type="label">
					<description>Status header label</description>
					<left>980</left>
					<top>20</top>
					<width>140</width>
					<height>20</height>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<aligny>center</aligny>
					<label>126</label>
				</control>
				<control type="image">
					<description>separator image</description>
					<left>0</left>
					<top>50</top>
					<width>1100</width>
					<height>1</height>
					<colordiffuse>88FFFFFF</colordiffuse>
					<texture>separator2.png</texture>
				</control>
				<control type="list" id="50">
					<left>0</left>
					<top>55</top>
					<width>1100</width>
					<height>520</height>
					<onup>50</onup>
					<ondown>50</ondown>
					<onleft>104</onleft>
					<onright>77</onright>
					<pagecontrol>77</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout height="40">
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>1100</width>
							<height>41</height>
							<texture border="5">MenuItemNF.png</texture>
						</control>
						<control type="group">
							<visible>IsEmpty(ListItem.Date)</visible>
							<control type="label">
								<left>50</left>
								<top>0</top>
								<width>650</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>	
						</control>
						<control type="group">
							<visible>!IsEmpty(ListItem.Date)</visible>
							<control type="image">
								<left>0</left>
								<top>5</top>
								<width>30</width>
								<height>30</height>
								<texture border="1">$INFO[ListItem.Icon]</texture>
								<aspectratio>keep</aspectratio>
								<visible>!IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>50</left>
								<top>0</top>
								<width>190</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.ChannelName</info>
								<visible>!IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>0</left>
								<top>0</top>
								<width>190</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.ChannelName</info>
								<visible>IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>240</left>
								<top>0</top>
								<width>510</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>
							<control type="label">
								<left>750</left>
								<top>0</top>
								<width>230</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Date</info>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>30</width>
								<height>20</height>
								<texture>PVR-IsRecording.png</texture>
								<visible>ListItem.IsRecording</visible>
							</control>
							<control type="label">
								<left>1015</left>
								<top>0</top>
								<width>80</width>
								<height>40</height>
								<font>font10</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>19043</label>
								<visible>ListItem.IsRecording</visible>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>20</width>
								<height>20</height>
								<texture>PVR-HasTimer.png</texture>
								<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
							</control>
							<control type="label">
								<left>1010</left>
								<top>0</top>
								<width>80</width>
								<height>40</height>
								<font>font10</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>31510</label>
								<visible>ListItem.HasTimer</visible>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>20</width>
								<height>20</height>
								<texture>PVR-HasRecording.png</texture>
								<visible>ListItem.HasRecording + !ListItem.IsRecording + !ListItem.HasTimer</visible>
							</control>
						</control>
					</itemlayout>
					<focusedlayout height="40">
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>1100</width>
							<height>41</height>
							<texture border="5">MenuItemNF.png</texture>
						</control>
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>1100</width>
							<height>41</height>
							<texture border="5">MenuItemFO.png</texture>
							<visible>Control.HasFocus(50)</visible>
						</control>
						<control type="group">
							<visible>IsEmpty(ListItem.Date)</visible>
							<control type="label">
								<left>50</left>
								<top>0</top>
								<width>650</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>	
						</control>
						<control type="group">
							<visible>!IsEmpty(ListItem.Date)</visible>
							<control type="image">
								<left>0</left>
								<top>5</top>
								<width>30</width>
								<height>30</height>
								<texture border="1">$INFO[ListItem.Icon]</texture>
								<aspectratio>keep</aspectratio>
								<visible>!IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>50</left>
								<top>0</top>
								<width>190</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.ChannelName</info>
								<visible>!IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>0</left>
								<top>0</top>
								<width>190</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.ChannelName</info>
								<visible>IsEmpty(ListItem.Icon)</visible>
							</control>
							<control type="label">
								<left>240</left>
								<top>0</top>
								<width>510</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>
							<control type="label">
								<left>750</left>
								<top>0</top>
								<width>230</width>
								<height>40</height>
								<font>font12</font>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Date</info>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>30</width>
								<height>20</height>
								<texture>PVR-IsRecording.png</texture>
								<visible>ListItem.IsRecording</visible>
							</control>
							<control type="label">
								<left>1015</left>
								<top>0</top>
								<width>80</width>
								<height>40</height>
								<font>font10</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>19043</label>
								<visible>ListItem.IsRecording</visible>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>20</width>
								<height>20</height>
								<texture>PVR-HasTimer.png</texture>
								<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
							</control>
							<control type="label">
								<left>1010</left>
								<top>0</top>
								<width>80</width>
								<height>40</height>
								<font>font10</font>
								<aligny>center</aligny>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>31510</label>
								<visible>ListItem.HasTimer</visible>
							</control>
							<control type="image">
								<left>980</left>
								<top>10</top>
								<width>20</width>
								<height>20</height>
								<texture>PVR-HasRecording.png</texture>
								<visible>ListItem.HasRecording + !ListItem.IsRecording + !ListItem.HasTimer</visible>
							</control>
						</control>
					</focusedlayout>
				</control>
				<control type="scrollbar" id="77">
					<left>1105</left>
					<top>50</top>
					<width>25</width>
					<height>520</height>
					<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
					<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
					<texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
					<textureslidernib>ScrollBarNib.png</textureslidernib>
					<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
					<onleft>50</onleft>
					<onright>104</onright>
					<showonepage>false</showonepage>
					<orientation>vertical</orientation>
				</control>
			</control>
			<control type="label">
				<animation effect="slide" start="0,0" end="-90,0" time="0" condition="system.getbool(input.enablemouse)">Conditional</animation>
				<description>Page Count Label</description>
				<right>40</right>
				<top>53r</top>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>([COLOR=blue]$INFO[Container(50).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(50).CurrentPage]/$INFO[Container(50).NumPages][/COLOR])</label>
			</control>
		</control>

		<include>CommonNowPlaying</include>
		<include>BehindDialogFadeOut</include>
		<include>ScrollOffsetLabel</include>

		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="200">Hidden</animation>
			<visible>Window.IsActive(FileBrowser) | Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo) | Window.IsActive(PVRTimerSetting) | Window.IsActive(PVRGroupManager) | Window.IsActive(PVRGuideSearch)</visible>
		</control>

		<include>PVRSideBlade</include>
		<include>Clock</include>
	</controls>
</window>
