<screen>
	<layer>3</layer> <!-- LAYER_POPUP-->
	<!-- confirmscreen -->
	<rootcomponent>
		<name>confirmform</name>
		<effects>
			<effect>
				<name>create</name>
			</effect>
			<effect>
				<name>destroy</name>
				<lifetime>100</lifetime>
			</effect>
		</effects>

		<!-- Makes fading background -->
		<component>
		<name>fadeform</name>
		<effects>
			<effect>
				<name>create</name>
				<zposition>5.0</zposition>
				<visual>
					<mesh>/mesh/gui/popupfade.xml</mesh>
					<material>/material/diff-ac.xml</material>
				</visual>
			</effect>
		</effects>
		</component>

		<!-- form -->
		<component>
			<name>panel</name>
			<effects>
				<effect>
					<name>create</name>
					<yposition>20</yposition>
					<zposition>0</zposition>
					<visual>
						<mesh>/mesh/centered-512x512.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/popup.dds</texstage>
					</visual>
					<blend>
						<timeend>250</timeend>
						<valuebegin>0</valuebegin>
						<valueend>255</valueend>
					</blend>
				</effect>
				<effect>
					<name>destroy</name>
					<!--blend>
						<timeend>250</timeend>
						<valuebegin>255</valuebegin>
						<valueend>0</valueend>
					</blend -->
					<zoom>
						<timeend>250</timeend>
						<xbegin>1.0</xbegin>
						<ybegin>1.0</ybegin>
						<zbegin>1.0</zbegin>
						<xend>0.0</xend>
						<yend>0.0</yend>
						<zend>0.0</zend>
					</zoom>
				</effect>
			</effects>
			
			<!-- input box image -->
			<component>
				<name>inputboximage</name>
				<effects>
					<effect>
						<name>create</name>
						<yposition>0</yposition>
						<zposition>-1</zposition>
						<visual>
							<mesh>/mesh/centered-512x128.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/inputbox.png</texstage>
						</visual>
					</effect>
				</effects>
			</component>

			<!-- message text -->
			<component>
				<name>messagetext</name>
				<caption>$Language.Default.quitConfirmationText</caption>
				<effects>
					<effect>
						<name>create</name>
						<xposition>0</xposition>
						<yposition>-64</yposition>
						<zposition>-1</zposition>
					</effect>
				</effects>
			</component>
			
			<!-- editbox -->
			
			<component>
				<name>editbox</name>
				<type>editbox</type>
				<visible>0</visible>
				<hasfocus>0</hasfocus>
				<maxchar>15</maxchar>
				<caption>none</caption>
				<captioncolor>0xFFFFFFFF</captioncolor>
				<effects>
					<effect>
						<name>create</name>
						<mesh>/mesh/centered-256x64.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/black.png</texstage>
						<yposition>4</yposition>
						<zposition>-2</zposition>
					</effect>
				</effects>
			</component>
			
			<!-- YES button -->
			<component>
				<name>yesbutton</name>
				<hotkey>KEY_RETURN</hotkey>
				<caption>$Language.Default.yes</caption>
				<captioncolor>0xFF04091E</captioncolor>
				<captionscale>0.85</captionscale>
				<width>100</width>
				<height>50</height>
				<effects>
					<effect>
						<name>create</name>
						<xposition>-90</xposition>
						<yposition>90</yposition>
						<zposition>-1</zposition>
						<visual>
							<mesh>/mesh/centered-128x64.xml</mesh>
							<material>/material/tex-ac.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mousein</name>
						<visual>
							<mesh>/mesh/centered-128x64.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi-highlight.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mouseout</name>
						<visual>
							<mesh>/mesh/centered-128x64.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
					</effect>
				</effects>
			</component>
			<!-- NO button -->
			<component>
				<name>nobutton</name>
				<hotkey>KEY_ESCAPE</hotkey>
				<caption>$Language.Default.no</caption>
				<captioncolor>0xFF04091E</captioncolor>
				<captionscale>0.85</captionscale>
				<width>100</width>
				<height>50</height>
				<effects>
					<effect>
						<name>create</name>
						<xposition>90</xposition>
						<yposition>90</yposition>
						<zposition>-1</zposition>
						<visual>
							<mesh>/mesh/centered-128x64-fliph.xml</mesh>
							<material>/material/tex-ac.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mousein</name>
						<visual>
							<mesh>/mesh/centered-128x64-fliph.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi-highlight.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mouseout</name>
						<visual>
							<mesh>/mesh/centered-128x64-fliph.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
					</effect>
				</effects>
			</component>
		</component>
	</rootcomponent>
</screen>