<screen>
<name>ConfirmScreen</name>
	<layer>10</layer> <!-- LAYER_POPUP-->
	<!-- confirmscreen -->
	<rootcomponent>
		<name>confirmform</name>
		<event>
			<name>create</name>
			<node></node>
		</event>
		<event>
			<name>destroy</name>
			<node>
				<lifetime>300</lifetime>
			</node>
		</event>
		<!-- Makes fading background -->
		<component>
			<name>fadeform</name>
			<event><name>create</name>
				<node>
					<position><z>5</z></position>
					<mesh>
						<width>800</width>
						<height>600</height>
						<color>0x00000000</color>
					</mesh>
					<keyframe><time>300</time>
						<color>0xAA000000</color>
					</keyframe>
				</node>
			</event>
			<event><name>destroy</name>
				<node>
					<keyframe><time>300</time>
						<color>0x00000000</color>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- form -->
		<component>
			<name>form</name>
			<event>
				<name>create</name>
				<sound>/sound/window_moves_in.ogg</sound>
				<node>
					<mesh>
						<width>512</width>
						<height>512</height>
						<anchorx>253</anchorx>
						<anchory>250</anchory>
					</mesh>
					<texture>/texture/gui/screen/popup.png</texture>
					<keyframe><time>0</time>
						<position><y>-150</y></position>
						<scale>1.8</scale>
						<color>0x00FFFFFF</color>
					</keyframe>
					<keyframe><time>300</time>
						<position><y>0</y></position>
						<scale>1.</scale>
						<color>0xFFFFFFFF</color>
					</keyframe>
				</node>
			</event>
			<event>
				<name>destroy</name>
				<sound>/sound/window_moves_out.ogg</sound>
				<node>
					<keyframe><time>300</time>
						<position><y>-150</y></position>
						<scale>1.8</scale>
						<color>0x00FFFFFF</color>
					</keyframe>
				</node>
			</event>
			<component><name>picture</name>
				<event><name>create</name>
					<node>
						<position><z>-1</z></position>
					</node>
				</event>
			</component>
			<!-- message text -->
			<component>
				<name>messagetext</name>
				<verticalalign>center</verticalalign>
				<horizontalalign>center</horizontalalign>
				<caption>$hierarchy.quitConfirmationText</caption>
				<captioncolor>0xFF000000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<event>
					<name>create</name>
					<node>
						<position>
							<x>0</x>
							<y>-40</y>
							<z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<!-- optional editbox -->
			<component>
				<name>editbox</name>
				<type>editbox</type>
				<visible>0</visible>
				<hasfocus>0</hasfocus>
				<maxchar>15</maxchar>
				<caption>none</caption>
				<captioncolor>0xFFFFFFFF</captioncolor>
				<event>
					<name>create</name>
					<node>
						<position>
							<x>0</x>
							<y>-15</y>
							<z>-1</z>
						</position>
					</node>
				</event>
			</component>

			<!-- YES BUTTON -->
			<component>
				<name>yesbutton</name>
				<hotkey>KEY_RETURN</hotkey>
				<caption>$hierarchy.yes</caption>
				<captioncolor>0xFF000000</captioncolor>
				<captionscale>0.85</captionscale>
				<width>170</width>
				<height>50</height>
				<event>
					<name>create</name>
					<node>
						<replace>/gui/component/btn-mi-normal.xml</replace>
						<position>
							<x>-66</x>
							<y>91</y>
							<z>-1</z>
						</position>
					</node>
				</event>
				<event>
					<name>mousein</name>
					<sound>/sound/mouseover.ogg</sound>
					<node>
						<replace>/gui/component/btn-mi-highlight.xml</replace>
					</node>
				</event>
				<event>
					<name>mouseout</name>
					<sound>/sound/mouseout.ogg</sound>
					<node>
						<replace>/gui/component/btn-mi-normal.xml</replace>
					</node>
				</event>
			</component>
			<!-- NO button -->
			<component>
				<name>nobutton</name>
				<hotkey>KEY_ESCAPE</hotkey>
				<caption>$hierarchy.no</caption>
				<captioncolor>0xFF000000</captioncolor>
				<captionscale>0.85</captionscale>
				<width>104</width>
				<height>36</height>
				<event>
					<name>create</name>
					<node>
						<replace>/gui/component/button2.xml</replace>
						<position>
							<x>109</x>
							<y>94</y>
							<z>-1</z>
						</position>
					</node>
				</event>
				<event>
					<name>mousein</name>
					<sound>/sound/mouseover.ogg</sound>
					<node>
						<replace>/gui/component/button2hi.xml</replace>
					</node>
				</event>
				<event>
					<name>mouseout</name>
					<sound>/sound/mouseout.ogg</sound>
					<node>
						<replace>/gui/component/button2.xml</replace>
					</node>
				</event>
			</component>
		</component>
	</rootcomponent>
</screen>
