<?xml version='1.0' encoding='UTF-8'?>
<!-- Quick search pick (wcs/skin/title_picker.py): the skin's select dialog plus the focused title's poster card.
     Opens before the search answers; the list fills as results and details arrive. -->
<window type="dialog">
	<defaultcontrol always="false">9001</defaultcontrol>
	<include>Animation_DialogPopupOpenClose</include>
	<depth>DepthOSD</depth>
	<controls>
		<control type="group">
			<centertop>50%</centertop>
			<centerleft>50%</centerleft>
			<width>1640</width>
			<height>880</height>
			<include content="DialogBackgroundCommons">
				<param name="width" value="1640" />
				<param name="height" value="880" />
				<param name="header_label" value="$INFO[Window.Property(picker.heading)]" />
				<param name="header_id" value="" />
			</include>
			<control type="label">
				<right>100</right>
				<top>0</top>
				<width>600</width>
				<height>62</height>
				<align>right</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<label>$VAR[SelectLabel]</label>
				<visible>Integer.IsGreater(Container(6).NumItems,0)</visible>
			</control>
			<!-- results -->
			<control type="image">
				<left>0</left>
				<top>80</top>
				<width>920</width>
				<bottom>2</bottom>
				<texture border="40">buttons/dialogbutton-nofo.png</texture>
				<visible>!String.IsEqual(Window.Property(picker.modern),1)</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>80</top>
				<width>920</width>
				<bottom>2</bottom>
				<texture border="32">modern/button.png</texture>
				<visible>String.IsEqual(Window.Property(picker.modern),1)</visible>
			</control>
			<control type="label">
				<left>60</left>
				<top>100</top>
				<width>800</width>
				<bottom>20</bottom>
				<align>center</align>
				<aligny>center</aligny>
				<font>font13</font>
				<textcolor>grey</textcolor>
				<wrapmultiline>true</wrapmultiline>
				<label>$INFO[Window.Property(picker.status)]</label>
				<visible>!Integer.IsGreater(Container(6).NumItems,0)</visible>
			</control>
			<control type="list" id="6">
				<left>20</left>
				<top>100</top>
				<width>880</width>
				<bottom>20</bottom>
				<onup>6</onup>
				<ondown>6</ondown>
				<onleft>9001</onleft>
				<onright>61</onright>
				<pagecontrol>61</pagecontrol>
				<scrolltime>200</scrolltime>
				<include content="DefaultSimpleListLayout">
					<param name="width" value="880" />
					<param name="list_id" value="6" />
				</include>
			</control>
			<control type="scrollbar" id="61">
				<left>910</left>
				<top>100</top>
				<width>12</width>
				<bottom>20</bottom>
				<onleft>6</onleft>
				<onright>9001</onright>
				<orientation>vertical</orientation>
			</control>
			<control type="grouplist" id="9001">
				<left>920</left>
				<top>80</top>
				<width>700</width>
				<height>100</height>
				<onleft>61</onleft>
				<onright>6</onright>
				<onup>9001</onup>
				<ondown>9001</ondown>
				<include content="DefaultDialogButton">
					<param name="id" value="7" />
					<param name="width" value="700" />
					<param name="label" value="$LOCALIZE[222]" />
				</include>
			</control>
			<!-- the focused title: poster, facts, tagline, plot -->
			<control type="group">
				<left>920</left>
				<top>160</top>
				<width>700</width>
				<bottom>2</bottom>
				<visible>Integer.IsGreater(Container(6).NumItems,0)</visible>
				<control type="image">
					<texture border="40">buttons/dialogbutton-nofo.png</texture>
					<visible>!String.IsEqual(Window.Property(picker.modern),1)</visible>
				</control>
				<control type="image">
					<texture border="32">modern/button.png</texture>
					<visible>String.IsEqual(Window.Property(picker.modern),1)</visible>
				</control>
				<control type="group">
					<left>44</left>
					<top>44</top>
					<right>44</right>
					<bottom>44</bottom>
					<control type="image">
						<width>254</width>
						<height>381</height>
						<texture colordiffuse="14FFFFFF">colors/white.png</texture>
						<visible>!String.IsEqual(Window.Property(picker.modern),1)</visible>
					</control>
					<control type="image">
						<width>254</width>
						<height>381</height>
						<texture colordiffuse="14FFFFFF" diffuse="modern/mask_poster.png">colors/white.png</texture>
						<visible>String.IsEqual(Window.Property(picker.modern),1)</visible>
					</control>
					<control type="image">
						<left>67</left>
						<top>130</top>
						<width>120</width>
						<height>120</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="40FFFFFF">DefaultVideo.png</texture>
						<visible>String.IsEmpty(Container(6).ListItem.Art(poster))</visible>
					</control>
					<control type="image">
						<width>254</width>
						<height>381</height>
						<aspectratio>scale</aspectratio>
						<fadetime>150</fadetime>
						<texture background="true">$INFO[Container(6).ListItem.Art(poster)]</texture>
						<visible>!String.IsEqual(Window.Property(picker.modern),1)</visible>
					</control>
					<control type="image">
						<width>254</width>
						<height>381</height>
						<aspectratio>scale</aspectratio>
						<fadetime>150</fadetime>
						<texture background="true" diffuse="modern/mask_poster.png">$INFO[Container(6).ListItem.Art(poster)]</texture>
						<visible>String.IsEqual(Window.Property(picker.modern),1)</visible>
					</control>
					<control type="grouplist">
						<left>282</left>
						<top>-8</top>
						<right>0</right>
						<height>389</height>
						<orientation>vertical</orientation>
						<itemgap>6</itemgap>
						<control type="label">
							<width>330</width>
							<height>44</height>
							<aligny>center</aligny>
							<font>font14</font>
							<label>$INFO[Container(6).ListItem.Property(meta)]</label>
							<visible>!String.IsEmpty(Container(6).ListItem.Property(meta))</visible>
						</control>
						<control type="label">
							<width>330</width>
							<height>44</height>
							<aligny>center</aligny>
							<font>font14</font>
							<textcolor>$INFO[Window(Home).Property(milionar.accent.text)]</textcolor>
							<label>$INFO[Container(6).ListItem.Property(rating),★ ,]</label>
							<visible>!String.IsEmpty(Container(6).ListItem.Property(rating))</visible>
						</control>
						<control type="textbox">
							<width>330</width>
							<height>70</height>
							<font>font12</font>
							<textcolor>grey</textcolor>
							<label>$INFO[Container(6).ListItem.Property(genres)]</label>
							<visible>!String.IsEmpty(Container(6).ListItem.Property(genres))</visible>
						</control>
						<control type="textbox">
							<width>330</width>
							<height>202</height>
							<font>font13</font>
							<textcolor>$INFO[Window(Home).Property(milionar.accent.text)]</textcolor>
							<label>$INFO[Container(6).ListItem.Property(tagline),„,“]</label>
							<visible>!String.IsEmpty(Container(6).ListItem.Property(tagline))</visible>
						</control>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>405</top>
						<right>0</right>
						<height>204</height>
						<font>font12</font>
						<textcolor>grey</textcolor>
						<autoscroll delay="6000" time="3000" repeat="8000">true</autoscroll>
						<label>$INFO[Container(6).ListItem.Property(plot)]</label>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>
