<screen>
	<name>InputScreen</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>
			<node>
				<position> <x>0</x> <y>800</y> <z>0</z> </position>
				<mesh>
					<width>512</width>
					<height>512</height>
				</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>
			<node>
				<keyframe><time>300</time>
					<position><y>-150</y></position>
					<scale>1.8</scale>
					<color>0x00FFFFFF</color>
				</keyframe>
			</node>
		</event>


			<!-- input box image -->
			<component>
				<name>inputboximage</name>
				<event>
						<name>create</name>
						<node>
      				<position> <x>0</x> <y>-20</y> <z>-1</z> </position>
							<mesh>
                  <width>512</width>
                  <height>128</height>
              </mesh>
							<texture>/texture/gui/screen/inputbox.png</texture>
						</node>
				</event>
			</component>

			<!-- message text -->
			<component>
				<name>messagetext</name>
				<captioncolor>0xFF000000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<caption>!none!</caption>
				<event>
						<name>create</name>
						<node>
      				<position> <x>0</x> <y>-90</y> <z>-1</z> </position>
            </node>
				</event>
			</component>

			<!-- editbox -->
			<component>
				<name>editbox</name>
				<type>editbox</type>
				<visible>0</visible>
				<hasfocus>1</hasfocus>
				<maxchar>8</maxchar>
				<caption>!none!</caption>
				<captioncolor>0xFFFFFFFF</captioncolor>
				<event>
					<name>create</name>
					<node>
	     				<position> <x>0</x> <y>-18</y> <z>-2</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>104</width>
				<height>36</height>
				<event>
					<name>create</name>
					<node>
						<replace>/gui/component/button2.xml</replace>
						<position> 	<x>-90</x> <y>91</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>
<!-- 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>94</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>