<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
  <menucontrol>9000</menucontrol>
	<backgroundcolor>bgcolor</backgroundcolor>
	<views>50,660,52,56,560</views>
	<controls>
		<include>BackgroundItems</include>
		<include>PicturesViews</include>
		<include>CommonItems</include>

		<!-- ================ -->
		<!-- Top Options Menu -->
		<!-- ================ -->
		<control type="group"  id="9000">
			<defaultcontrol always="true">9111</defaultcontrol>
			<include>TextViewerHideAnimations</include>
			<include>ShutdownMenuAnimation</include>
			<!-- Options -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>OptionsTopMenuHeader</include>
				<visible allowhiddenfocus="true">!ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9111">
					<include>OptionsTopMenuVars</include>
					<control type="button" id="280">
						<description>View as</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(2)]</label>
						<onclick>SetFocus(9222)</onclick>
					</control>
					<control type="togglebutton" id="296">
						<description>Change Thumbs Size (PicturesThumbnails)</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31098]</label>
						<altlabel>$LOCALIZE[31099]</altlabel>
						<onclick>Skin.ToggleSetting(ShowSmallPicturesThumbs)</onclick>
						<selected>Skin.HasSetting(ShowSmallPicturesThumbs)</selected>
						<visible>Control.IsVisible(560) + $EXP[ThumbnailsViewPictures_560]</visible>
					</control>
					<control type="togglebutton" id="297">
						<description>Change Thumbs Size (AddonsThumbnails)</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31098]</label>
						<altlabel>$LOCALIZE[31099]</altlabel>
						<onclick>Skin.ToggleSetting(ShowSmallAddonsThumbs)</onclick>
						<selected>Skin.HasSetting(ShowSmallAddonsThumbs)</selected>
						<visible>Control.IsVisible(560) + $EXP[ThumbnailsViewAddons_560]</visible>
					</control>
					<control type="togglebutton" id="295">
						<description>Disable Thumb Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisablePicturesListView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisablePicturesListView_PosterGlow)</selected>
						<visible>Control.IsVisible(50) + [[Window.IsVisible(MyPics.xml) + Container.HasFiles] | String.IsEqual(Container.FolderPath,addons://sources/audio)]</visible>
					</control>
					<control type="button" id="311">
						<description>Sort by</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(3)]</label>
						<onclick>Action(left)</onclick>
						<onclick>SendClick(3)</onclick>
						<enable>Control.IsEnabled(3)</enable>
					</control>
					<control type="togglebutton" id="4">
						<description>Sort Ascending/Descending</description>
						<label>$LOCALIZE[21429]: $LOCALIZE[584]</label>
						<altlabel>$LOCALIZE[21429]: $LOCALIZE[585]</altlabel>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="togglebutton" id="9">
						<description>Randomize</description>
						<label>$LOCALIZE[13319]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[13319]: $LOCALIZE[16041]</altlabel>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="button" id="6">
						<description>Slideshow</description>
						<label>108</label>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="button" id="7">
						<description>Slideshow Recursive</description>
						<label>361</label>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="edit" id="19">
						<description>Filter</description>
						<label>$LOCALIZE[587]</label>
						<textwidth>305</textwidth>
						<include>TopLeftMenusButton</include>
						<visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
					</control>
					<control type="button" id="98">
						<description>FilterAdvanced</description>
						<label>$LOCALIZE[587]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Action(right)</onclick>
						<selected>Container.Filtered</selected>
						<onclick>Filter</onclick>
						<visible>Container.CanFilterAdvanced</visible>
					</control>
					<control type="button" id="93">
						<description>Get more</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[21452]</label>
						<onclick>ActivateWindow(addonbrowser,addons://more/image/,return)</onclick>
						<visible>Container.Content(addons)</visible>
					</control>
					<control type="button" id="95">
						<description>Settings</description>
						<label>$LOCALIZE[5]</label>
						<include>TopLeftMenusButton</include>
						<onclick>ActivateWindow(MediaSettings,pictures)</onclick>
						<visible>String.IsEmpty(Container.PluginName)</visible>
					</control>
					<control type="button" id="94">
						<description>Settings</description>
						<label>$LOCALIZE[10140]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Addon.OpenSettings($INFO[Container.PluginName])</onclick>
						<visible>!String.IsEmpty(Container.PluginName)</visible>
					</control>
					<include>OptionsTopMenuEnd</include>
				</control>
			</control>


			<!-- Views -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>ViewsTopMenuHeader</include>
				<visible allowhiddenfocus="true">ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9222">
					<include content="OptionsTopMenuVars">
						<param name="top_id" value="997"/>
					</include>
					<control type="button" id="940">
						<description>List</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[535]$VAR[ActiveViewList, (,)]</label>
						<onclick>Container.SetViewMode(50)</onclick>
					</control>
					<control type="button" id="959">
						<description>BelloView Generic</description>
						<include>TopLeftMenusButton</include>
						<label>Bello$VAR[ActiveViewBello, (,)]</label>
						<onclick>Container.SetViewMode(660)</onclick>
						<visible>$EXP[BelloViewGeneric_660]</visible>
					</control>
					<control type="button" id="944">
						<description>GalleryViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31081]$VAR[ActiveViewGallery, (,)]</label>
						<onclick>Container.SetViewMode(52)</onclick>
						<visible>$EXP[GalleryViewPictures_52]</visible>
					</control>
					<control type="button" id="945">
						<description>ThumbnailsGeneric</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(56)</onclick>
						<visible>$EXP[ThumbnailsViewGeneric_56]</visible>
					</control>
					<control type="button" id="947">
						<description>ThumbnailsPictures</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>$EXP[ThumbnailsViewPictures_560]</visible>
					</control>
					<control type="button" id="948">
						<description>ThumbnailsAddons</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>$EXP[ThumbnailsViewAddons_560]</visible>
					</control>
					<include content="ViewsTopMenuEnd">
						<param name="end_id" value="996"/>
					</include>
				</control>
			</control>
		</control>

		<!-- ================ -->
		<!-- Top Content Info -->
		<!-- ================ -->
		<control type="group">
			<left>45</left>
			<top>25</top>
			<include>ShutdownMenuAnimation</include>
			<include>InfoDialogs_ContentInfoAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<visible>!ControlGroup(9000).HasFocus</visible>
			<control type="grouplist">
				<include>CommonTopInfoGroupList</include>
				<include>OpenCloseSlideAnimationTwo</include>
				<control type="label">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[1]</label>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
				</control>
			</control>
		</control>


		<include>HiddenDefaultButtons</include>
		<include>CommonWeatherAndClock</include>
		<include>JumpToFirstSortLetter</include>
	</controls>
</window>
