<?xml version="1.0" encoding="utf-8"?>
<window id="120">
    <defaultcontrol always="true">15</defaultcontrol>
    <controls>
        <control type="group">
            <visible>!Window.IsVisible(AddonSettings) + !Window.IsVisible(VisualisationPresetList)</visible>
			<control type="group">
                <animation type="WindowOpen">
                    <effect type="zoom" start="108" end="100" time="400" center="640,360" tween="cubic" easing="out" />
                    <effect type="fade" start="0" end="100" time="400" />
                </animation>
                <animation type="WindowClose">
                    <effect type="zoom" start="100" end="108" time="400" center="640,360" tween="cubic" easing="out" />
                    <effect type="fade" start="100" end="0" time="400" />
                </animation>
                <left>0</left>
                <top>10</top>
				
			<control type="label">
				<height>60</height>
				<width>60</width>
				<label>-</label>
				<left>470</left>
				<top>0</top>
				<font>Panel_Description_Title</font>
				<aligny>center</aligny>
				<visible>System.getbool(input.enablemouse)</visible>
			</control>
			<control type="slider">
				<left>500</left>
				<top>30</top>
				<width>280</width>
				<height>10</height>
				<texturefocus></texturefocus>
				<texturenofocus></texturenofocus>
				<texturesliderbar>tile.png</texturesliderbar>
				<textureslidernib border="0,10,0,10">progresswhite.png</textureslidernib>
				<textureslidernibfocus border="0,10,0,10">progresslime.png</textureslidernibfocus>
				<info>Player.Volume</info>
				<action>Volume</action>
				<visible>System.getbool(input.enablemouse)</visible>
			</control>
			<control type="label">
				<top>13</top>
				<height>40</height>
				<width>40</width>
				<label>+</label>
				<left>790</left>
				<top>0</top>
				<font>Panel_Description_Title</font>
				<aligny>center</aligny>
				<visible>System.getbool(input.enablemouse)</visible>
			</control>
		
				
				
				<control type="label">
					<label>$INFO[System.Time(hh:mm)][COLOR Accent]$INFO[System.Time(xx), ][/COLOR]</label>
					<left>720</left>
					<top>5</top>
					<height>50</height>
					<width>550</width>
					<font>Clock</font>
					<align>right</align>
				</control>
				<control type="button" id="13">
                    <left>37</left>
                    <top>536</top>
                    <width>74</width>
                    <height>74</height>
                    <label>210</label>
                    <font></font>
                    <onleft>noop</onleft>
                    <onright>14</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/prevtrack.png</texturefocus>
                    <texturenofocus>other_textures/osd/prevtrack.png</texturenofocus>
                    <onclick>PlayerControl(Previous)</onclick>
                </control>
                <control type="button" id="14">
                    <description>rewind</description>
                    <left>540</left>
                    <top>599</top>
                    <width>40</width>
                    <height>40</height>
                    <label>31036</label>
                    <font></font>
                    <onleft>13</onleft>
                    <onright>15</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/rewindmusic.png</texturefocus>
                    <texturenofocus>other_textures/osd/rewindmusic.png</texturenofocus>
                    <onclick>PlayerControl(rewind)</onclick>
                </control>
                <control type="togglebutton" id="15">
                    <description>Play/pause</description>
                    <left>585</left>
                    <top>587</top>
                    <width>66</width>
                    <height>66</height>
                    <label>31037</label>
                    <altlabel>208</altlabel>
                    <font></font>
                    <onleft>14</onleft>
                    <onright>16</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/pausemusic.png</texturefocus>
                    <texturenofocus>other_textures/osd/pausemusic.png</texturenofocus>
                    <usealttexture>Player.paused | Player.Forwarding | Player.rewinding</usealttexture>
                    <alttexturefocus colordiffuse="Accent">other_textures/osd/playmusic.png</alttexturefocus>
                    <alttexturenofocus>other_textures/osd/playmusic.png</alttexturenofocus>
                    <onclick>PlayerControl(Play)</onclick>
                </control>
                <control type="button" id="16">
                    <description>Stop</description>
                    <left>655</left>
                    <top>599</top>
                    <width>40</width>
                    <height>40</height>
                    <label>31038</label>
                    <font></font>
                    <onleft>15</onleft>
                    <onright>17</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/stopmusic.png</texturefocus>
                    <texturenofocus>other_textures/osd/stopmusic.png</texturenofocus>
                    <onclick>Skin.Reset(showLyricsDialog)</onclick>
					<onclick>PlayerControl(Stop)</onclick>
					
                </control>
                <control type="button" id="17">
                    <description>Fast Forward</description>
                    <left>700</left>
                    <top>599</top>
                    <width>40</width>
                    <height>40</height>
                    <label>31039</label>
                    <font></font>
                    <onleft>16</onleft>
                    <onright>18</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/forwardmusic.png</texturefocus>
                    <texturenofocus>other_textures/osd/forwardmusic.png</texturenofocus>
                    <onclick>PlayerControl(Forward)</onclick>
                </control>
                <control type="button" id="18">
                    <left>1168</left>
                    <top>536</top>
                    <width>74</width>
                    <height>74</height>
                    <label>209</label>
                    <font></font>
                    <onleft>17</onleft>
                    <onright>18</onright>
                    <onup>100</onup>
                    <ondown>noop</ondown>
                    <texturefocus colordiffuse="Accent">other_textures/osd/nexttrack.png</texturefocus>
                    <texturenofocus>other_textures/osd/nexttrack.png</texturenofocus>
                    <onclick>PlayerControl(Next)</onclick>
                </control>
                <control type="group">
					<left>5</left>
                    <top>5</top>
					<control type="image" id="2">
						<width>40</width>
						<height>40</height>
						<texture>other_textures/osd/repeat.png</texture>
						<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
						<visible>!Control.HasFocus(1)</visible>
					</control>
					<control type="image" id="3">
						<width>40</width>
						<height>40</height>
						<texture colordiffuse="Accent">other_textures/osd/repeat.png</texture>
						<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
						<visible>Control.HasFocus(1)</visible>
					</control>
					<control type="image" id="4">
						<width>40</width>
						<height>40</height>
						<texture>other_textures/osd/repeatone.png</texture>
						<visible>Playlist.IsRepeatOne</visible>
						<visible>!Control.HasFocus(1)</visible>
					</control>
					<control type="image" id="5">
						<width>40</width>
						<height>40</height>
						<texture colordiffuse="Accent">other_textures/osd/repeatone.png</texture>
						<visible>Playlist.IsRepeatOne</visible>
						<visible>Control.HasFocus(1)</visible>
					</control>
					<control type="image" id="6">
						<width>40</width>
						<height>40</height>
						<texture>other_textures/osd/repeatall.png</texture>
						<visible>Playlist.IsRepeat</visible>
						<visible>!Control.HasFocus(1)</visible>
					</control>
					<control type="image" id="7">
						<width>40</width>
						<height>40</height>
						<texture colordiffuse="Accent">other_textures/osd/repeatall.png</texture>
						<visible>Playlist.IsRepeat</visible>
						<visible>Control.HasFocus(1)</visible>
					</control>
				</control>	
				<control type="grouplist" id="100">
					<left>5</left>
                    <top>5</top>
                    <width>400</width>
                    <height>40</height>
                    <itemgap>5</itemgap>
                    <orientation>horizontal</orientation>
                    <align>left</align>
					<onleft>100</onleft>
					<onright>100</onright>
					<onup>noop</onup>
					<ondown>noop</ondown>
					<control type="button" id="1">
						<description>Repeat</description>
						<width>40</width>
						<height>40</height>
						<ondown>15</ondown>
						<label>$LOCALIZE[486]$INFO[Playlist.Repeat, : ]</label>
						<font></font>
						<texturefocus></texturefocus>
						<texturenofocus></texturenofocus>
						<onclick>PlayerControl(Repeat)</onclick>
					</control>
					 <control type="togglebutton" id="21">
                        <description>Random</description>
                        <width>40</width>
                        <height>40</height>
                        <ondown>15</ondown>
                        <label>$LOCALIZE[590]$INFO[Playlist.Random, : ]</label>
                        <font></font>
                        <texturefocus colordiffuse="Accent">other_textures/osd/shuffleoff.png</texturefocus>
                        <texturenofocus>other_textures/osd/shuffleoff.png</texturenofocus>
                        <usealttexture>Playlist.IsRandom</usealttexture>
                        <alttexturefocus colordiffuse="Accent">other_textures/osd/shuffleon.png</alttexturefocus>
                        <alttexturenofocus>other_textures/osd/shuffleon.png</alttexturenofocus>
                        <onclick>PlayerControl(Random)</onclick>
                    </control>
					<control type="button" id="12">
						<description>Playlist</description>
						<width>40</width>
						<height>40</height>
						<ondown>15</ondown>
						<label>10517</label>
						<font></font>
						<texturefocus colordiffuse="Accent">other_textures/osd/playlist.png</texturefocus>
						<texturenofocus>other_textures/osd/playlist.png</texturenofocus>
						<onclick>Close</onclick>
						<onclick>Skin.Reset(showLyricsDialog)</onclick>
						<onclick>ActivateWindow(musicplaylist)</onclick>
					</control>
					<control type="button" id="10">
						<description>Lyrics</description>
						<width>40</width>
                        <height>40</height>
						<ondown>15</ondown>
						<texturefocus colordiffuse="Accent">other_textures/osd/lyrics.png</texturefocus>
						<texturenofocus>other_textures/osd/lyrics.png</texturenofocus>
						<onclick>Close</onclick>
						<!--
						<onclick condition="!String.IsEmpty(Skin.String(LyricScript_Path))">RunScript($INFO[Skin.String(LyricScript_Path)])</onclick>
						<onclick condition="String.IsEmpty(Skin.String(LyricScript_Path))">Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
						<onclick condition="String.IsEmpty(Skin.String(LyricScript_Path))">Close</onclick>
						<onclick condition="String.IsEmpty(Skin.String(LyricScript_Path))">RunScript($INFO[Skin.String(LyricScript_Path)])</onclick>
						-->
						<onclick>RunScript(script.cu.lrclyrics)</onclick>
						<visible>system.hasaddon(script.cu.lrclyrics)</visible>
						
					</control>
					<control type="button" id="500">
                        <description>Visualisation</description>
                        <width>40</width>
                        <height>40</height>
                        <ondown>15</ondown>
                        <label>12006</label>
                        <font></font>
                        <texturefocus colordiffuse="Accent">other_textures/osd/visualisation.png</texturefocus>
                        <texturenofocus>other_textures/osd/visualisation.png</texturenofocus>
						<visible>Skin.HasSetting(Visualization)</visible>
                    </control>
                    <control type="button" id="19">
                        <description>Visualisation settings</description>
                        <width>40</width>
                        <height>40</height>
                        <ondown>15</ondown>
                        <label>$LOCALIZE[250] $LOCALIZE[21417]</label>
                        <font></font>
                        <texturefocus colordiffuse="Accent">other_textures/osd/presetsettings.png</texturefocus>
                        <texturenofocus>other_textures/osd/presetsettings.png</texturenofocus>
                        <onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
                        <visible>Skin.HasSetting(Visualization) + Visualisation.Enabled</visible>
                    </control>
                    <control type="button" id="20">
                        <description>Visualisation Presets</description>
                        <width>40</width>
                        <height>40</height>
                        <ondown>15</ondown>
                        <label>31040</label>
                        <font></font>
                        <texturefocus colordiffuse="Accent">other_textures/osd/presets.png</texturefocus>
                        <texturenofocus>other_textures/osd/presets.png</texturenofocus>
                        <onclick>ActivateWindow(122)</onclick>
                        <visible>Skin.HasSetting(Visualization) + Visualisation.Enabled + Visualisation.HasPresets</visible>
                    </control>
					<control type="button" id="22">
						<description>Exit FullSCreen</description>
						<width>40</width>
						<height>40</height>
						<ondown>15</ondown>
						<label></label>
						<font></font>
						<texturefocus colordiffuse="Accent">other_textures/osd/minimize.png</texturefocus>
                        <texturenofocus>other_textures/osd/minimize.png</texturenofocus>
						<onclick>Dialog.Close(all,true)</onclick>
						<onclick>ParentDir</onclick>
						<visible>System.Platform.IOS | System.Platform.Android | System.getbool(input.enablemouse)</visible>
					</control>

                 </control>
            </control>
        </control>

    </controls>
</window>