<window type="dialog" id="1112">
	<defaultcontrol always="true">100</defaultcontrol>
	<controls>
	<control type="button" id="100">
		<include>TopButton</include>
    <onfocus>SetFocus(1000)</onfocus>
    <animation effect="fade" start="0" end="100" time="0" delay="50">Focus</animation>
  </control>
	<control type="group">
	  <visible>!Window.IsVisible(selectdialog) + !Window.IsVisible(addonsettings) + !Window.IsVisible(visualisationpresetlist) + !Window.IsVisible(FileBrowser)</visible>
		<include>DialogAnimation</include>
	  <visible>Player.HasAudio</visible>
		<control type="image">
			<description>background image</description>
			<include>FullscreenDimensions</include>
			<texture>osd/bg_osd_settings.png</texture>
			<!-- <colordiffuse>D9FFFFFF</colordiffuse> -->
		</control>
		<control type="image">
			<description>background image</description>
			<include>FullscreenDimensions</include>
			<texture>osd/bg_osd_settings_lines.png</texture>
			<!-- <colordiffuse>D9FFFFFF</colordiffuse> -->
		</control>
		<control type="label">
			<description>Heding Label</description>
			<posx>357</posx>
			<posy>165</posy>
			<width>565</width>
			<label>$LOCALIZE[31306]</label>
			<font>FontSize_36</font>
			<textcolor>white</textcolor>
			<align>center</align>
			<scroll>true</scroll>
			<scrollspeed>20</scrollspeed>
		</control>

		<control type="grouplist" id="1000">
			<posx>363</posx>
			<posy>209</posy>
			<width>555</width>
			<height>353</height>
		  <itemgap>4</itemgap>
			<onleft>Close</onleft>
			<onright>Close</onright>
			<onup>1000</onup>
			<ondown>1000</ondown>
			<scrolltime>250</scrolltime>
			<control type="radiobutton" id="991">
				<description>Enable Visualisation Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31307]</label>
        <include>DialogsRadioButton</include>
				<onclick>Skin.ToggleSetting(Vis-Visualization)</onclick>
				<selected>!Skin.HasSetting(Vis-Visualization)</selected>
			</control>
			<control type="button" id="992">
				<description>Select Visualization Type Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31308]</label>
        <include>DialogsButton</include>
				<onclick>SendClick(120,500)</onclick>
				<visible>!Skin.HasSetting(Vis-Visualization)</visible>
			</control>
			<control type="button" id="993">
				<description>Visualization Presets Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31309]</label>
        <include>DialogsButton</include>
				<onclick>ActivateWindow(visualisationpresetlist)</onclick>
				<visible>!Skin.HasSetting(Vis-Visualization)</visible>
			</control>
			<control type="button" id="994">
				<description>Visualization Settings Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31310]</label>
        <include>DialogsButton</include>
				<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
				<visible>!Skin.HasSetting(Vis-Visualization)</visible>
			</control>
			<control type="radiobutton" id="995">
				<description>Enable Fanart Button</description>
			  <width>555</width>
				<label>$LOCALIZE[24022] $LOCALIZE[20445]</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(Vis-Fanart)</selected>
				<onclick>Skin.Reset(Vis-ArtistSlideshow)</onclick>
				<onclick>Skin.Reset(Vis-CustomSlideshow)</onclick>
				<onclick>Skin.ToggleSetting(Vis-Fanart)</onclick>
			</control>
			<control type="radiobutton" id="996">
				<description>Artist Slideshow Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31312]</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(Vis-ArtistSlideshow)</selected>
				<onclick>Skin.Reset(Vis-Fanart)</onclick>
				<onclick>Skin.Reset(Vis-CustomSlideshow)</onclick>
				<onclick>Skin.ToggleSetting(Vis-ArtistSlideshow)</onclick>
				<onclick condition="IsEmpty(Window(Visualisation).Property(ArtistSlideshowRunning))">RunScript(script.artistslideshow)</onclick>
			</control>
			<control type="radiobutton" id="997">
				<description>Custom Slideshow Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31311]</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(Vis-CustomSlideshow)</selected>
				<onclick>Skin.Reset(Vis-Fanart)</onclick>
				<onclick>Skin.Reset(Vis-ArtistSlideshow)</onclick>
				<onclick condition="IsEmpty(Skin.String(Vis-CustomSlideshowDir))">Skin.SetPath(Vis-CustomSlideshowDir)</onclick>
				<onclick condition="!IsEmpty(Skin.String(Vis-CustomSlideshowDir))">Skin.ToggleSetting(Vis-CustomSlideshow)</onclick>
				<onclick condition="Skin.HasSetting(Vis-CustomSlideshow)">Skin.SetPath(Vis-CustomSlideshowDir)</onclick>
			</control>
			<control type="radiobutton" id="998">
				<description>Animation Button</description>
			  <width>555</width>
				<label>$LOCALIZE[31313]</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(Vis-Animation)</selected>
				<onclick>Skin.ToggleSetting(Vis-Animation)</onclick>
				<onclick>ReplaceWindow(visualisation)</onclick>
			</control>
			<control type="radiobutton" id="981">
				<description>Hide Diffuse Colors</description>
			  <width>555</width>
				<label>31314</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(HideOSDDiffuseColors)</selected>
				<onclick>Skin.ToggleSetting(HideOSDDiffuseColors)</onclick>
			</control>
			<control type="radiobutton" id="982">
				<description>Hide Scrolling Titles</description>
			  <width>555</width>
				<label>31315</label>
        <include>DialogsRadioButton</include>
				<selected>Skin.HasSetting(HideOSDScrollingTitles)</selected>
				<onclick>Skin.ToggleSetting(HideOSDScrollingTitles)</onclick>
			</control>
		</control>
	</control>
	</controls>
</window>
