<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">2</defaultcontrol>
	<include>OpenClose</include>

	<!-- Needed to auto close the video osd after any settings dialog is closed -->
	<onunload condition="!String.IsEmpty(Window(home).Property(ShowingOSDSettings))">ActivateWindow(1196)</onunload>
	<onunload condition="!String.IsEmpty(Window(home).Property(ShowingOSDSettings))">ClearProperty(ShowingOSDSettings,home)</onunload>

	<controls>
		<control type="image">
			<left>165</left>
			<top>150</top>
			<width>1590</width>
			<height>740</height>
			<texture border="90,0,90,0">dialogs/DialogBG.png</texture>
			<colordiffuse>eeaaaaaa</colordiffuse>
		</control>
		<control type="group">
			<left>145</left>
			<top>145</top>
			<control type="label">
				<description>header label</description>
				<top>25</top>
				<width>1630</width>
				<align>center</align>
				<label>[UPPERCASE]$LOCALIZE[298][/UPPERCASE] - $INFO[Container(11).NumItems,, $LOCALIZE[31025]]</label>
				<textcolor>$VAR[HighlightColor]</textcolor>
			</control>
			<control type="image">
				<left>50</left>
				<top>85</top>
				<width>1490</width>
				<description>Default seperator</description>
				<height>2</height>
				<texture>img/LineST.png</texture>
			</control>
			<control type="panel" id="11">
				<left>95</left>
				<top>98</top>
				<width>1440</width>
				<height>540</height>
				<onleft>11</onleft>
				<onright>11</onright>
				<ondown>9000</ondown>
				<onup>9000</onup>
				<scrolltime>200</scrolltime>
				<viewtype label="536">icon</viewtype>
				<pagecontrol></pagecontrol>
				<orientation>horizontal</orientation>
				<itemlayout height="270" width="360">
					<control type="image">
						<posx>15</posx>
						<posy>8</posy>
						<width>320</width>
						<height>200</height>
						<aspectratio>scale</aspectratio>
						<texture background="true" fallback="DefaultEpisode.png">$INFO[ListItem.Icon]</texture>
						<bordersize>16</bordersize>
					</control>
					<control type="image">
						<posx>159</posx>
						<posy>24</posy>
						<width>160</width>
						<height>36</height>
						<texture>img/OverlayStripe.png</texture>
					</control>
					<control type="label">
						<posx>159</posx>
						<posy>24</posy>
						<width>160</width>
						<height>36</height>
						<align>center</align>
						<aligny>center</aligny>
						<scroll>false</scroll>
						<font>Details</font>
						<label>$INFO[ListItem.Label2]</label>
					</control>
					<control type="image">
						<left>10</left>
						<top>215</top>
						<width>338</width>
						<height>45</height>
						<texture>img/WhiteRoundedT.png</texture>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="label">
						<posx>10</posx>
						<posy>220</posy>
						<width>338</width>
						<height>36</height>
						<align>center</align>
						<scroll>false</scroll>
						<font>Details</font>
						<label>$INFO[ListItem.Label]</label>
					</control>
				</itemlayout>
				<focusedlayout height="270" width="360">
					<control type="image">
						<posx>15</posx>
						<posy>8</posy>
						<width>320</width>
						<height>200</height>
						<aspectratio>scale</aspectratio>
						<texture background="true" fallback="DefaultEpisode.png">$INFO[ListItem.Icon]</texture>
						<bordertexture colordiffuse="$VAR[HighlightColor]" border="8">thumbs/IconBorder_FO.png</bordertexture>
						<bordersize>16</bordersize>
					</control>
					<control type="image">
						<posx>159</posx>
						<posy>24</posy>
						<width>160</width>
						<height>36</height>
						<texture>img/OverlayStripe.png</texture>
					</control>
					<control type="label">
						<posx>159</posx>
						<posy>24</posy>
						<width>160</width>
						<height>36</height>
						<align>center</align>
						<aligny>center</aligny>
						<scroll>false</scroll>
						<font>Details</font>
						<textcolor>$VAR[HighlightColor]</textcolor>
						<label>$INFO[ListItem.Label2]</label>
					</control>
					<control type="image">
						<left>10</left>
						<top>215</top>
						<width>338</width>
						<height>45</height>
						<texture border="4">img/WhiteRoundedST2.png</texture>
						<colordiffuse>$VAR[HighlightColor]</colordiffuse>
						<aspectratio>stretch</aspectratio>
					</control>
					<control type="label">
						<posx>10</posx>
						<posy>220</posy>
						<width>338</width>
						<height>36</height>
						<align>center</align>
						<scroll>false</scroll>
						<font>Details</font>
						<textcolor>$VAR[FocusedTextColor]</textcolor>
						<shadowcolor></shadowcolor>
						<label>$INFO[ListItem.Label]</label>
					</control>
				</focusedlayout>
			</control>
			<control type="image">
				<left>50</left>
				<top>635</top>
				<width>1490</width>
				<description>Default seperator</description>
				<height>2</height>
				<texture>img/LineST.png</texture>
			</control>
			<control type="grouplist" id="9000">
				<top>650</top>
				<width>1630</width>
				<height>75</height>
				<itemgap>30</itemgap>
				<align>center</align>
				<orientation>horizontal</orientation>
				<onleft>9000</onleft>
				<onright>9000</onright>
				<onup>11</onup>
				<ondown>11</ondown>
				<control type="button" id="2">
					<description>Create Bookmark button</description>
					<label>$LOCALIZE[294]</label>
					<width>375</width>
					<align>center</align>
				</control>
				<control type="button" id="3">
					<description>Clear Bookmark button</description>
					<label>$LOCALIZE[296]</label>
					<width>375</width>
					<align>center</align>
				</control>
				<control type="button" id="4">
					<description>Set episode bookmark</description>
					<label>$LOCALIZE[20406]</label>
					<width>375</width>
					<align>center</align>
					<visible>Control.IsEnabled(4)</visible>
				</control>
			</control>
		</control>
	</controls>
</window>