<?xml version="1.0" encoding="UTF-8"?>
<window>
	<coordinates>
		<system>1</system>
		<left>0</left>
		<top>0</top>
	</coordinates>
	<onload condition="Control.IsVisible(712)">SetFocus(712)</onload>
<!-- 	<onload condition="!Control.IsVisible(707)">SetFocus(708)</onload> -->
	<controls>
		<control type="slider">
			<description>Seek Slider</description>
			<left>30</left>
			<top>1014</top>
			<width>1860</width>
			<height>37</height>
			<texturesliderbar />
			<textureslidernib />
			<textureslidernibfocus />
			<action>seek</action>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
		</control>
		<control type="group">
			<animation effect="slide" end="0,-120" time="240" tween="quadratic"
				condition="Window.IsVisible(pvrchannelguide) | Window.IsVisible(PVROSDTeletext) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks)">Conditional</animation>
			<animation effect="slide" start="0,-120" end="0,0" time="240" tween="quadratic">WindowOpen</animation>
			<animation effect="slide" end="0,-120" start="0,0" time="240" tween="quadratic">WindowClose</animation>
			<top>0</top>
			<control type="image">
				<top>-16</top>
				<left>-16</left>
				<width>1952</width>
				<height>138</height>
				<texture border="16">dialog_context.png</texture>
				<colordiffuse>dialog</colordiffuse>
			</control>
			<control type="grouplist" id="202">
				<top>20</top>
				<height>144</height>
				<width>FullscreenWidth</width>
				<align>center</align>

                <itemgap>28</itemgap>
                <orientation>horizontal</orientation>
                <usecontrolcoords>true</usecontrolcoords>
				
				<onup>712</onup>
<!-- 				<ondown condition="!Control.HasFocus(717)">719</ondown> -->
<!-- 				<ondown condition="Control.HasFocus(717)">12000</ondown> -->
				<onleft>202</onleft>
				<onright>202</onright>

                <control type="button" id="701">
					<visible>Skin.HasSetting(Enable.TouchScreen)</visible>
                    <texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
                    <texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
                    <width>64</width>
                    <height>64</height>
                    <label>$VAR[Icon-Back]</label>
                    <align>center</align>
                    <font>IconNormal</font>
                    <onclick>Action(Close,fullscreenvideo)</onclick>
                </control>

                <control type="button" id="702">
                    <texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
                    <texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
                    <width>64</width>
                    <height>64</height>
                    <label>$VAR[Icon-List]</label>
                    <align>center</align>
                    <font>IconNormal</font>
                    <onclick>Close</onclick>
                    <onclick>ActivateWindow(videoplaylist)</onclick>
                    <visible>!String.IsEmpty(VideoPlayer.position(1).Title)</visible>
                </control>

				<control type="button" id="703">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Bookmark]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ActivateWindow(videobookmarks)</onclick>
					<visible>!VideoPlayer.Content(livetv)</visible>
				</control>
				<control type="button" id="704">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-VideoMenu]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>PlayerControl(ShowVideoMenu)</onclick>
					<visible>VideoPlayer.HasMenu + !VideoPlayer.Content(livetv)</visible>
				</control>

				<control type="button" id="705">
					<!-- SPACER HERE -->
					<left>24</left>
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-Screen]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>ActivateWindow(PVROSDChannels)</onclick>
					<onclick>Dialog.Close(VideoOSD)</onclick>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>
				<control type="button" id="706">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-Guide]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>Close</onclick>
					<onclick>ActivateWindow(tvguide,,return)</onclick>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>

				<control type="button" id="707">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-NextChannel]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ChannelDown</onclick>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>

				<control type="button" id="708">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-PreviousChannel]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ChannelUp</onclick>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>




				<control type="button" id="709">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-PreviousTrack]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(Previous)</onclick>
					<visible>!VideoPlayer.Content(livetv)</visible>
				</control>


				<control type="button" id="710">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Rewind]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(Rewind)</onclick>
					<visible>Player.SeekEnabled</visible>
				</control>


				<control type="button" id="711">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Stop]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="togglebutton" id="712">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<alttexturefocus colordiffuse="FocusColor">osd/button_bg.png</alttexturefocus>
					<alttexturenofocus colordiffuse="22ffffff">osd/button_bg.png</alttexturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Pause]</label>
					<altlabel>$VAR[Icon-Play]</altlabel>
					<align>center</align>
					<font>IconNormal</font>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<onclick>PlayerControl(Play)</onclick>
					<visible>Player.PauseEnabled</visible>
				</control>
				<control type="button" id="728">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-StepForward]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(FrameAdvance(1))</onclick>
					<enable>Player.Paused</enable>
				</control>
				<control type="button" id="713">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-FastForward]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(Forward)</onclick>
					<visible>Player.SeekEnabled</visible>
				</control>
				<control type="button" id="714">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-NextTrack]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>PlayerControl(Next)</onclick>
					<visible>!VideoPlayer.Content(livetv)</visible>
				</control>


				<control type="button" id="715">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-Record]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>PVR.ToggleRecordPlayingChannel</onclick>
					<enable>Pvr.CanRecordPlayingChannel</enable>
					<usealttexture>Pvr.IsRecordingPlayingChannel</usealttexture>
					<visible>VideoPlayer.Content(livetv) + !Pvr.IsRecordingPlayingChannel</visible>
				</control>
				<control type="button" id="716">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-Record]</label>
 					<textcolor>red</textcolor>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<animation effect="fade" start="100" end="0" delay="650" time="350" loop="true" condition="true">conditional</animation>
					<onclick>PVR.ToggleRecordPlayingChannel</onclick>
					<enable>Pvr.CanRecordPlayingChannel</enable>
					<usealttexture>Pvr.IsRecordingPlayingChannel</usealttexture>
					<visible>VideoPlayer.Content(livetv) + Pvr.IsRecordingPlayingChannel</visible>
				</control>



<!-- 				<control type="button" id="717"> -->
<!-- 					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus> -->
<!-- 					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus> -->
<!-- 					<width>64</width> -->
<!-- 					<height>64</height> -->
<!-- 					<label>$VAR[Icon-TempoDown]</label> -->
<!-- 					<align>center</align> -->
<!-- 					<font>IconNormal</font> -->
<!-- 					<onclick>PlayerControl(tempodown)</onclick> -->
<!-- 					<visible>Player.TempoEnabled</visible> -->
<!-- 				</control> -->

				<control type="button" id="727">
					<!-- SPACER HERE -->
					<left>24</left>
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>auto</width>
					<height>64</height>
					<font>font14</font>
					<label>$INFO[Player.Playspeed,,x]</label>
					<onclick condition="String.IsEqual(Control.GetLabel(799),Low)">PlayerControl(tempo(0.80))</onclick>
					<onclick condition="String.IsEqual(Control.GetLabel(799),Up)">PlayerControl(tempoup)</onclick>
					<onclick condition="String.IsEqual(Control.GetLabel(799),One)">PlayerControl(play)</onclick>
					<onclick condition="String.IsEqual(Control.GetLabel(799),One)">PlayerControl(tempo(1.00))</onclick>
					<visible>Player.TempoEnabled</visible>
					<enable>!Player.Paused</enable>
				</control>
				
<!-- 				<control type="button" id="718"> -->
<!-- 					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus> -->
<!-- 					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus> -->
<!-- 					<width>64</width> -->
<!-- 					<height>64</height> -->
<!-- 					<label>$VAR[Icon-TempoUp]</label> -->
<!-- 					<align>center</align> -->
<!-- 					<font>IconNormal</font> -->
<!-- 					<onclick>PlayerControl(tempoup)</onclick> -->
<!-- 					<visible>Player.TempoEnabled</visible> -->
<!-- 				</control> -->



				<control type="button" id="719">
					<!-- SPACER HERE -->
					<left>24</left>
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Audio]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ActivateWindow(osdaudiosettings)</onclick>
				</control>
				<control type="button" id="720">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Subtitles]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ActivateWindow(osdsubtitlesettings)</onclick>
				</control>
				<control type="button" id="721">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>P</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>ActivateWindow(Teletext)</onclick>
					<visible>Pvr.HasTxt</visible>
				</control>


				<control type="button" id="723">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-Video]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ActivateWindow(osdvideosettings)</onclick>
				</control>
				<control type="button" id="724">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-3DMode]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>StereoMode</onclick>
					<visible>VideoPlayer.IsStereoscopic</visible>
				</control>


				<control type="button" id="725">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<width>64</width>
					<height>64</height>
					<label>$VAR[Icon-ColorManagement]</label>
					<align>center</align>
					<font>IconNormal</font>
					<onclick>ActivateWindow(osdcmssettings)</onclick>
					<visible>System.HasCMS</visible>
				</control>

				<control type="button" id="726">
					<texturefocus colordiffuse="FocusColor">osd/button_bg.png</texturefocus>
					<texturenofocus colordiffuse="22ffffff">osd/button_bg.png</texturenofocus>
					<label>$VAR[Icon-Info]</label>
					<align>center</align>
					<width>64</width>
					<height>64</height>
					<font>IconNormal</font>
					<onclick>Close</onclick>
					<onclick>ActivateWindow(fullscreeninfo)</onclick>
					<visible>VideoPlayer.Content(movies) | VideoPlayer.Content(episodes) | VideoPlayer.Content(files) | VideoPlayer.Content(livetv)</visible>
				</control>
			</control>
		</control>
		
		<control type="label" id="799">
		<sedcription>hidden control to hold rule for tempo change</sedcription>
		<label>$VAR[TempoRule]</label>
		<visible>false</visible>		
		</control>

		
		
	</controls>
</window>