<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
	
	<views>50</views>
	<menucontrol>9051</menucontrol>
	
	<onload>ClearProperty(MediaMenu,Home)</onload>
	
	<controls>
		<include>CommonBackground</include>
				<control type="image">
					<left>-30</left>
					<top>-30</top>
					<width>2040</width>
					<height>1277</height>
					<texture background="true">black.png</texture>
					<animation effect="fade" end="85" condition="true">Conditional</animation>
				</control>
		<control type="group">
			<include>WindowOpenCloseAnimation</include>
			<!-- view id = 50 -->
			<control type="group">
				<visible>Control.IsVisible(50) + !Window.IsActive(addoninformation)</visible>
				<control type="group">
					<left>100</left>
					<top>-40</top>
					<right>100</right>
					<control type="list" id="50">
						<top>180</top>
						<height>840</height>
						<onleft>SetProperty(MediaMenu,True,home)</onleft>
						<onleft>SetFocus(9050)</onleft>
						<onright>60</onright>
						<onup>50</onup>
						<ondown>50</ondown>
						<viewtype label="535">list</viewtype>
						<pagecontrol>60</pagecontrol>
						<scrolltime tween="quadratic" easing="out">200</scrolltime>
						<itemlayout height="120">
							<control type="image">
								<left>15</left>
								<top>8</top>
								<width>105</width>
								<height>105</height>
								<aspectratio>keep</aspectratio>
								<texture background="true">$INFO[ListItem.Icon,views/list/]</texture>
								<colordiffuse>grey2</colordiffuse>
								<visible>String.StartsWith(ListItem.Icon,Default)</visible>
							</control>
							<control type="image">
								<left>15</left>
								<top>8</top>
								<width>105</width>
								<height>105</height>
								<aspectratio>keep</aspectratio>
								<texture background="true">$INFO[ListItem.Icon]</texture>
								<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
							</control>
							<control type="label">
								<left>135</left>
								<right>20</right>
								<height>70</height>
								<font>font30</font>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Label]</label>
								<animation effect="slide" start="0,0" end="0,25" time="0" condition="String.IsEmpty(ListItem.Property(Event.Description))">Conditional</animation>
							</control>
							<control type="label">
								<left>135</left>
								<top>50</top>
								<right>20</right>
								<height>60</height>
								<font>font15</font>
								<textcolor>grey3</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Property(Event.Description)]</label>
							</control>
							<control type="label">
								<left>135</left>
								<right>20</right>
								<height>120</height>
								<font>font15</font>
								<align>right</align>
								<textcolor>grey2</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Label2]</label>
							</control>
						</itemlayout>
						<focusedlayout height="120">
							<control type="image">
								<height>120</height>
								<texture border="4">listselect_fo.png</texture>
								<visible>Control.HasFocus(50)</visible>
								<include>VisibleFadeAnimation</include>
							</control>
							<control type="image">
								<left>15</left>
								<top>8</top>
								<width>105</width>
								<height>105</height>
								<aspectratio>keep</aspectratio>
								<texture background="true">$INFO[ListItem.Icon,views/list/]</texture>
								<visible>String.StartsWith(ListItem.Icon,Default)</visible>
							</control>
							<control type="image">
								<left>15</left>
								<top>8</top>
								<width>105</width>
								<height>105</height>
								<aspectratio>keep</aspectratio>
								<texture background="true">$INFO[ListItem.Icon]</texture>
								<visible>!String.StartsWith(ListItem.Icon,Default)</visible>
							</control>
							<control type="label">
								<left>135</left>
								<right>20</right>
								<height>70</height>
								<font>font30</font>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Label]</label>
								<animation effect="fade" start="100" end="70" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(50)">Conditional</animation>
								<animation effect="slide" start="0,0" end="0,25" time="0" condition="String.IsEmpty(ListItem.Property(Event.Description))">Conditional</animation>
							</control>
							<control type="label">
								<left>135</left>
								<top>50</top>
								<right>20</right>
								<height>60</height>
								<font>font15</font>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Property(Event.Description)]</label>
								<animation effect="fade" start="100" end="30" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(50)">Conditional</animation>
							</control>
							<control type="label">
								<left>135</left>
								<right>20</right>
								<height>120</height>
								<font>font15</font>
								<align>right</align>
								<textcolor>white</textcolor>
								<selectedcolor>selected</selectedcolor>
								<label>$INFO[ListItem.Label2]</label>
								<animation effect="fade" start="100" end="70" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(50)">Conditional</animation>
							</control>
						</focusedlayout>
					</control>
					<control type="scrollbar" id="60">
						<left>1720</left>
						<top>180</top>
						<width>14</width>
						<height>840</height>
						<onup>60</onup>
						<ondown>60</ondown>
						<onleft>50</onleft>
						<onright>9002</onright>
						<texturesliderbackground />
						<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
						<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
						<showonepage>false</showonepage>
						<orientation>vertical</orientation>
					</control>
				</control>
			</control>
		</control>
		
		
		<control type="group">
			<left>-440</left>
			<include>SideBladeLeft</include>
			<control type="grouplist" id="9050">
				<include>MediaMenuTop</include>
				<control type="button" id="201">
					<description>View options</description>
					<textwidth>352</textwidth>
					<font>font13_title</font>
					<include>ButtonCommonValues</include>
					<label>31026</label>
					<enable>no</enable>
					<disabledcolor>themecolor</disabledcolor>
				</control>
				<control type="button" id="21">
					<description>Log level</description>
					<include>ButtonCommonValues</include>
				</control>
				<control type="radiobutton" id="22">
					<description>Only show current level</description>
					<include>ButtonCommonValues</include>
				</control>
				<control type="button" id="2003">
					<description>Actions</description>
					<textwidth>352</textwidth>
					<font>font13_title</font>
					<include>ButtonCommonValues</include>
					<label>31039</label>
					<enable>no</enable>
					<disabledcolor>themecolor</disabledcolor>
				</control>
				<control type="button" id="20">
					<description>Clear button</description>
					<include>ButtonCommonValues</include>
					<label>192</label>
				</control>
				<control type="button" id="615">
					<description>Settings button</description>
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[5]</label>
					<onclick>ActivateWindow(systemsettings,logging)</onclick>
				</control>
				<control type="button" id="616">
					<description>Go to playercontrols</description>
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[31177]</label>
					<onclick condition="Player.HasAudio">ClearProperty(MediaMenu,Home)</onclick>
					<onclick condition="Player.HasAudio">SetFocus(50)</onclick>
					<onclick condition="Player.HasAudio">ActivateWindow(playercontrols)</onclick>
					<onclick condition="Player.HasVideo">Fullscreen</onclick>
					<onclick condition="Player.HasVideo">ActivateWindow(videoosd)</onclick>
					<onclick>ClearProperty(MediaMenu,Home)</onclick>
					<visible>Player.HasMedia</visible>
				</control>
			</control>
		</control>
	</controls>
</window>
