<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>8</defaultcontrol>
	<controls>
		<control type="videowindow" id="20">
			<description>videowindow</description>
			<posx>0</posx>
			<posy>0</posy>
			<include>ScreenWidth</include>
			<height>960</height>
			<visible>Player.HasVideo</visible>
		</control>
		<control type="group">
			<visible>!Player.HasVideo</visible>
			<include>CommonBackground</include>
		</control>
		<control type="image">
			<description>Overlay</description>
			<posx>0</posx>
			<posy>0</posy>
			<include>ScreenWidth</include>
			<height>960</height>
			<texture>grey.png</texture>
			<include>dialogeffect</include>
		</control>
		<control type="button">
			<description>Close Window button</description>
			<posx>100r</posx>
			<posy>0</posy>
			<width>64</width>
			<height>32</height>
			<label></label>
			<font></font>
			<onclick>Back</onclick>
			<texturefocus>DialogCloseButton-focus.png</texturefocus>
			<texturenofocus colordiffuse="grey3">DialogCloseButton.png</texturenofocus>
			<onleft>1</onleft>
			<onright>1</onright>
			<onup>1</onup>
			<ondown>1</ondown>
		</control>
		<control type="mover" id="8">
			<description>top left mover</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>128</width>
			<height>128</height>
			<texturefocus>calibrate_top.png</texturefocus>
			<texturenofocus colordiffuse="grey3">calibrate_top.png</texturenofocus>
			<movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1">
				<eventconfig type="up" />
				<eventconfig type="down" />
				<eventconfig type="left" />
				<eventconfig type="right" />
			</movingspeed>
		</control>
		<control type="mover" id="9">
			<description>right bottom mover</description>
			<posx>700</posx>
			<posy>500</posy>
			<width>128</width>
			<height>128</height>
			<texturefocus>calibrate_bottom.png</texturefocus>
			<texturenofocus colordiffuse="grey3">calibrate_bottom.png</texturenofocus>
			<movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1">
				<eventconfig type="up" />
				<eventconfig type="down" />
				<eventconfig type="left" />
				<eventconfig type="right" />
			</movingspeed>
		</control>
		<control type="resize" id="11">
			<description>pixel aspect ratio box</description>
			<posx>0</posx>
			<posy>232</posy>
			<width>500</width>
			<height>500</height>
			<texturefocus>calibrate_aspect.png</texturefocus>
			<texturenofocus colordiffuse="grey3">calibrate_aspect.png</texturenofocus>
			<movingspeed acceleration="140" maxvelocity="300" resettimeout="180" delta="1">
				<eventconfig type="left" />
				<eventconfig type="right" />
			</movingspeed>
		</control>
		<control type="mover" id="10">
			<description>subtitle position mover</description>
			<posx>200</posx>
			<posy>500</posy>
			<width>380</width>
			<height>90</height>
			<!-- NOTE: The image must have 40px of trasparent on top and bottom the bar -->
			<texturefocus>calibrate_subtitles.png</texturefocus>
			<texturenofocus colordiffuse="grey3">calibrate_subtitles.png</texturenofocus>
			<movingspeed acceleration="180" maxvelocity="300" resettimeout="200" delta="1">
				<eventconfig type="up" />
				<eventconfig type="down" />
			</movingspeed>
		</control>
		<control type="mover" id="12">
			<description>reset calibration</description>
			<posx>0</posx>
			<posy>900</posy>
			<width>100</width>
			<height>100</height>
			<texturefocus>calibrate_reset.png</texturefocus>
			<texturenofocus colordiffuse="grey3">calibrate_reset.png</texturenofocus>
		</control>
		<control type="group">
			<posx>0</posx>
			<posy>10</posy>
			<control type="label">
				<description>window title</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>100%</width>
				<label>$LOCALIZE[214]</label>
				<align>center</align>
				<font>font38_title</font>
			</control>
			<control type="label" id="2">
				<description>resolution info</description>
				<posx>0</posx>
				<posy>50</posy>
				<width>100%</width>
				<label></label>
				<align>center</align>
				<font>font22</font>
			</control>
			<control type="label" id="3">
				<description>control description and help</description>
				<posx>0</posx>
				<posy>90</posy>
				<width>100%</width>
				<label></label>
				<align>center</align>
				<font>font30</font>
			</control>
			<control type="label" id="4">
				<description>calibration value</description>
				<posx>0</posx>
				<posy>180</posy>
				<width>100%</width>
				<label></label>
				<align>center</align>
				<font>font25</font>
			</control>
		</control>
	</controls>
</window>
