<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">5</defaultcontrol>
     
    <controls>
	<control type="group">

        <animation type="WindowOpen">
            <effect type="fade" start="0" end="100" time="200" delay="300" />
        </animation>
        <animation type="WindowClose">
            <effect type="fade" start="100" end="0" time="200" />
        </animation>
		<visible>!Window.IsVisible(SliderDialog) + !Window.IsVisible(SubtitleSearch) </visible>
	<!--
			<animation type="WindowOpen">
                <effect type="slide" time="400" start="1280" end="0" easing="out" tween="cubic" />
            </animation>
            <animation type="WindowClose">
                <effect type="slide" time="400" start="0" end="1280" easing="in" tween="cubic" />
            </animation>
		-->
		
		<control type="group">
			<visible>!Window.IsVisible(SliderDialog)</visible>
			<include>SkinTransparentBackground</include>
		</control>
		<!-- Solid Background 	-->
		<control type="group">
			<visible>!Skin.HasSetting(ThemeBackgroundColor) + !Window.Is(osdvideosettings) + !Window.Is(osdaudiosettings) + !Window.Is(osdsubtitlesettings)</visible>
			<control type="image">
				<width>1280</width>
				<height>720</height>
				<texture>other_textures/black-back.png</texture>
			</control>           
			<control type="image">
			<width>1280</width>
				<height>720</height>
				<texture>other_textures/black-back.png</texture>
			</control>
			<control type="image">
				<width>1280</width>
				<height>720</height>
				<texture>boxBackground.png</texture>
			</control>
			<control type="image">
			<width>1280</width>
				<height>720</height>
				<texture>music_fanart_diffuse.png</texture>
			</control>
			
		</control>
		
		<control type="group">
			<visible>Skin.HasSetting(ThemeBackgroundColor) + !Window.Is(osdvideosettings) + !Window.Is(osdaudiosettings) + !Window.Is(osdsubtitlesettings)</visible>
			<control type="image">
			<width>1280</width>
				<height>720</height>
				<texture>button.png</texture>
			</control>           
			<control type="image">
			<width>1280</width>
				<height>720</height>
				<texture>tile.png</texture>
			</control>

		</control>	
		<include>BarClock</include>
		
		<!-- Dialog Elements -->
		<control type="group">
            <left>50</left>
			<!--
            <animation effect="fade" start="100" end="0" time="400" condition="Window.IsVisible(SliderDialog) | Window.IsVisible(FileBrowser)">Conditional</animation>
            
			-->
			 <animation type="TYPE" condition="Window.IsVisible(DialogAudioDSPSettings.xml) | Window.IsVisible(AddonSettings)" reversible="false">
                <effect type="slide" end="-1500,0" time="200" />
            </animation>
            <animation type="TYPE" condition="!Window.IsVisible(DialogAudioDSPSettings.xml) + !Window.IsVisible(AddonSettings)" reversible="false">
                <effect type="slide" start="-1500,0" time="200" />
            </animation>
			
			<!-- Background -->
			<control type="image">
                <top>290</top>
                <width>1000</width>
                <height>360</height>
                <texture>tile.png</texture>
            </control>
			<control type="label" id="2">
                <description>header label</description>
                <top>215</top>
                <height>30</height>
                <width>1100</width>
                <font>Panel_Title</font>
                <align>Left</align>
				<aligny>Top</aligny>
                <textcolor>White</textcolor>
            </control>
            <control type="grouplist" id="5">
                <description>Control Area</description>
                <top>290</top>
                <width>1000</width>
                <height>360</height>
                <itemgap>0</itemgap>
                <orientation>vertical</orientation>
				<onright>9000</onright>
			</control>
            <control type="button" id="7">
                <description>Default Button</description>
                <align>left</align>
                <focusedcolor>Accent</focusedcolor>
				<font>List_Settings</font>
            </control>
            <control type="radiobutton" id="8">
                <description>Default RadioButton</description>
				<align>left</align>
                <focusedcolor>Accent</focusedcolor>
				<font>List_Settings</font>
            </control>
            <control type="spincontrolex" id="9">
                <description>Default spincontrolex</description>
                <align>left</align>
                <reverse>yes</reverse>
                <focusedcolor>Accent</focusedcolor>
                <textureup>other_textures/arrowupfo.png</textureup>
                <textureupfocus>other_textures/arrowupg.png</textureupfocus>
                <texturedown>other_textures/arrowdownfo.png</texturedown>
                <texturedownfocus>other_textures/arrowdowng.png</texturedownfocus>
				<font>List_Settings</font>
            </control>
			
			<control type="edit" id="12">
                <description>Default Label</description>
				<height>45</height>
				<label></label>
				<font>List_Settings</font>
				<textcolor>white</textcolor>
				<focusedcolor>Accent</focusedcolor>
				<textoffsetx>20</textoffsetx>
				<textoffsety>10</textoffsety>
				<texturefocus>tile.png</texturefocus>
            </control>
			
			<control type="sliderex" id="13">
                <description>Default Slider</description>
                <align>left</align>
                <focusedcolor>Accent</focusedcolor>
				<font>List_Settings</font>
            </control>
            <control type="label" id="14">
                <description>Default Label</description>
                <height>45</height>
				<font>List_Settings_Title</font>
				<textcolor>Accent</textcolor>
				<textoffsetx>10</textoffsetx>
				<align>left</align>
            </control>
			<control type="image" id="11">
                <description>Default Seperator</description>
                <height>2</height>
                <texture>button.png</texture>
            </control>
			<control type="image">
                <left>-40</left>
                <top>290</top>
                <width>40</width>
                <height>40</height>
                <texture flipy="true">down_arrow.png</texture>
                <visible>Container(5).HasPrevious</visible>
                <animation effect="fade" time="400">VisibleChange</animation>
            </control>
            <control type="image">
                <left>-40</left>
                <top>620</top>
                <width>40</width>
                <height>40</height>
                <texture>down_arrow.png</texture>
                <visible>Container(5).HasNext</visible>
                <animation effect="fade" time="400">VisibleChange</animation>
            </control>
		   <control type="grouplist" id="9000">
				<left>1005</left>
				<top>290</top>
				<width>160</width>
				<height>360</height>
				<orientation>vertical</orientation>
				<onleft>5</onleft>
				<control type="button" id="28">
					<description>OK</description>
					<width>160</width>
					<label></label>
					<font>Panel_Hint</font>
					<focusedcolor>White</focusedcolor>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
				</control>
				<control type="button" id="29">
					<description>Cancel</description>
					<width>160</width>
					<label></label>
					<font>Panel_Hint</font>
					<focusedcolor>White</focusedcolor>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
				</control>			
				<control type="button" id="30">
					<description>Clear Setings</description>
					<width>160</width>
					<label></label>
					<font>Panel_Hint</font>
					<focusedcolor>White</focusedcolor>
					<texturefocus>button.png</texturefocus>
					<texturenofocus>tile.png</texturenofocus>
				</control>	
			</control>
		</control>
    
	</control>
	</controls>
</window>