<screen>
	<layer>10</layer> <!-- LAYER_POPUP-->
	<!-- confirmscreen -->
	<rootcomponent>
		<name>confirmform</name>
		<effects>
			<effect>
				<name>create</name>
    	 <sound>
				<stream>/sound/window_moves_in.wav</stream>
			 </sound>
			</effect>
			<effect>
				<name>destroy</name>
    	 <sound>
				<stream>/sound/window_moves_out.wav</stream>
			 </sound>
				<lifetime>300</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/gui/popup-512x256.xml</mesh>
						<material>/material/tex-ac_diff-a.xml</material>
						<texstage>/texture/gui/popup.png</texstage>
					</visual>
		              		<movement>
					          <timeend>300</timeend>
               					  <ybegin>-600</ybegin>
	            				  <yend>0</yend>
				        </movement>
    			        </effect>
               			<effect>
			        	<name>destroy</name>
                                        <movement>
					          <timebegin>100</timebegin>
					          <timeend>300</timeend>
					          <ybegin>0</ybegin>
                                                  <yend>-600</yend>
				       </movement>
	          		</effect>
			</effects>
			
			<!-- message text -->
			<component>
				<name>messagetext</name>
				<verticalalign>center</verticalalign>
				<horizontalalign>center</horizontalalign>
				<caption>$Language.Default.quitConfirmationText</caption>
				<captioncolor>0xFFFFFFFF</captioncolor>
				<effects>
					<effect>
						<name>create</name>
						<xposition>0</xposition>
						<yposition>0</yposition>
						<zposition>-1</zposition>
					</effect>
				</effects>
			</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>
				<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>-15</yposition>
						<zposition>-1</zposition>
					</effect>
				</effects>
			</component>
		</component>
		
<!-- YES button -->
			<component>
				<name>yesbutton</name>
				<hotkey>KEY_RETURN</hotkey>
				<caption>$Language.Default.yes</caption>
    		<captioncolor>0xEE000000</captioncolor>
		   	<captionshadowcolor>0xFFF0B955</captionshadowcolor>
			  <captionscale>0.90</captionscale>
				<width>150</width>
				<height>50</height>
				<effects>
					<effect>
						<name>create</name>
						<zposition>-1</zposition>
						<visual>
							<mesh>/mesh/gui/button.xml</mesh>
							<material>/material/tex-ac.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>

	        <movement>
             <timebegin>100</timebegin>
             <timeend>400</timeend>
		         <ybegin>400</ybegin>
		         <yend>150</yend>
          </movement>
         </effect>
     		<effect>
       	<name>destroy</name>
         <movement>
 	         <timeend>300</timeend>
	         <ybegin>150</ybegin>
           <yend>400</yend>
          </movement>
      		</effect>

					<effect>
						<name>mousein</name>
     			<sound>
     	     		<stream>/sound/mouseover.wav</stream>
	     	  </sound>
						<visual>
							<mesh>/mesh/gui/button.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi-highlight.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mouseout</name>
     			<sound>
     	     		<stream>/sound/mouseout.wav</stream>
	     	  </sound>
						<visual>
							<mesh>/mesh/gui/button.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>0xEE000000</captioncolor>
		   	<captionshadowcolor>0xFFF0B955</captionshadowcolor>
			  <captionscale>0.90</captionscale>
				<width>150</width>
				<height>50</height>
				<effects>
					<effect>
						<name>create</name>
						<xposition>90</xposition>
						<yposition>75</yposition>
						<zposition>-1</zposition>
						<visual>
							<mesh>/mesh/gui/button.xml</mesh>
							<material>/material/tex-ac.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
 	  	        <movement>
                 <timebegin>100</timebegin>
                 <timeend>400</timeend>
               	 <xbegin>1130</xbegin>
	            	 <xend>1130</xend>
               	 <ybegin>400</ybegin>
	            	 <yend>150</yend>
				      </movement>
    			  </effect>
            <effect>
                 	<name>destroy</name>
                  <movement>
	                  <timeend>300</timeend>
                   <xbegin>1130</xbegin>
	                <xend>1130</xend>
                   <ybegin>150</ybegin>
                   <yend>400</yend>
         		      </movement>
					</effect>
					<effect>
						<name>mousein</name>
     			  <sound>
     	     		<stream>/sound/mouseover.wav</stream>
            </sound>
						<visual>
							<mesh>/mesh/gui/button.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi-highlight.png</texstage>
						</visual>
					</effect>
					<effect>
						<name>mouseout</name>
       			<sound>
     	     		<stream>/sound/mouseout.wav</stream>
	          </sound>
						<visual>
							<mesh>/mesh/gui/button.xml</mesh>
							<material>/material/tex-ac_diff-a.xml</material>
							<texstage>/texture/gui/mi.png</texstage>
						</visual>
					</effect>
				</effects>
			</component>

	</rootcomponent>
</screen>