<?xml version="1.0" encoding="UTF-8"?>
<window>
	<controls>

        <control type="image">
            <include>FullscreenDimensions</include>
            <texture>background.png</texture>
            <colordiffuse>BackgroundColor</colordiffuse>
		</control>

		<control type="group">
			<top>105</top>
			<left>200</left>
			<centerleft>50%</centerleft>
			<visible>true</visible>

			<include>Animation.Dialog</include>
			<include content="DialogBackgroundCommons">
				<param name="DialogBackgroundWidth" value="1520" />
				<param name="DialogBackgroundHeight" value="870" />
				<param name="DialogHeaderLabel" value="$LOCALIZE[-]" />
				<param name="DialogHeaderId" value="2" />
			</include>

			<control type="image">
				<top>150</top>
				<left>60</left>
				<width>400</width>
				<height>600</height>
				<align>center</align>
				<aligny>center</aligny>
				<aspectratio>keep</aspectratio>
				<texture fallback="DefaultVideo.png" background="true">$VAR[VideoVersionPosterVar]</texture>
			</control>


			<control type="group" id="100">
				<top>90</top>
				<left>500</left>
				<control type="image">
					<top>0</top>
					<left>0</left>
					<width>680</width>
					<height>600</height>
					<texture border="21">dialogs/dialog-bg.png</texture>
				</control>
				<control type="list" id="50">
					<description>version list</description>
					<top>20</top>
					<left>20</left>
					<height>580</height>
					<onleft>9001</onleft>
					<onright>60</onright>
					<pagecontrol>60</pagecontrol>
					<scrolltime>200</scrolltime>
					<include content="DefaultSimpleListLayout">
						<param name="width" value="640" />
						<param name="height" value="80" />
						<param name="list_id" value="50" />
						<param name="align" value="left" />
					</include>
				</control>
				<control type="scrollbar" id="60">
					<left>660</left>
					<top>20</top>
					<width>12</width>
					<height>560</height>
					<onleft>50</onleft>
					<onright>101</onright>
					<orientation>vertical</orientation>
				</control>
			</control>

			<control type="label">
				<align>left</align>
				<top>740</top>
				<left>40</left>
				<right>40</right>
				<height>44</height>
				<scroll>true</scroll>
				<font>font20_title</font>
				<textcolor>99FFFFFF</textcolor>
				<shadowcolor>text_shadow</shadowcolor>
				<haspath>false</haspath>
				<label>$INFO[Container(50).ListItem.FileNameAndPath]</label>
				<animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
				<animation effect="fade" start="0" end="100" time="300">Visible</animation>
				<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
			</control>

			<control type="grouplist" id="101">
				<left>1200</left>
				<top>50</top>
				<width>300</width>
				<height>800</height>
				<onleft condition="Integer.IsGreater(Container(50).NumItems,0)">100</onleft>
				<align>center</align>
				<aligny>top</aligny>
				<scrolltime tween="quadratic">200</scrolltime>

				<control type="button" id="21">
					<description>Play</description>
					<label>$LOCALIZE[208]</label>
				</control>
				
				<control type="button" id="22">
					<description>Add Version</description>
					<label>40014</label>
					<visible>Window.IsVisible(managevideoversions)</visible>
				</control>
				
				<control type="button" id="23">
					<description>Add Extras</description>
					<label>40015</label>
					<visible>Window.IsVisible(managevideoextras)</visible>
				</control>

				<control type="button" id="27">
					<description>Choose Art</description>
					<label>13511</label>
				</control>

				<control type="button" id="24">
					<description>Rename Version/Version Type</description>
					<label>40004</label>
<!-- 					<label>31550</label> -->
					<visible>Window.IsVisible(managevideoversions)</visible>
				</control>

				<control type="button" id="28">
					<description>Rename Extra</description>
					<label>118</label>
					<visible>Window.IsVisible(managevideoextras)</visible>
				</control>

				<control type="button" id="26">
					<description>Remove</description>
					<label>15015</label>
				</control>

				<control type="button" id="25">
					<description>Set Default</description>
					<label>40023</label>
					<visible>Window.IsVisible(managevideoversions)</visible>
				</control>


			</control>
		</control>
	</controls>
</window>
