<screen>
  <name>ProfileScreen</name>

	<!-- profile screen -->
	<rootcomponent>
		<name>profileform</name>
		<event>
			<name>create</name>
			<sound>/sound/window_moves_in.ogg</sound>
			<node>
				<mesh>
					<width>512</width>
					<height>512</height>
			        <color>0x00FFFFFF</color>
				</mesh>
				<texture>/texture/gui/screen/selectprofile.png</texture>
				<keyframe><time>0</time>
					<position><y>-220</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>
				<lifetime>300</lifetime>
				<keyframe><time>300</time>
					<position><y>-220</y></position>
					<scale>1.8</scale>
					<color>0x00FFFFFF</color>
				</keyframe>
			</node>
		</event>
		<!-- top text -->
		<component>
			<name>toptext</name>
			<caption>$hierarchy.Screen.Profile.whoAreYou</caption>
			<event>
				<name>create</name>
				<node>
					<position> <y>-168</y> <z>-1</z> </position>
				</node>
			</event>
		</component>
		<!-- DELETE button -->
		<component>
			<name>deletebutton</name>
			<hotkey>KEY_DELETE</hotkey>
			<caption>$hierarchy.Screen.Profile.delete</caption>
			<captioncolor>0xFF04091E</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>-100</x> <y>174</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>
			<event>
				<name>ondisable</name>
				<node>
					<replace>/gui/component/btn-mi-disabled.xml</replace>
				</node>
			</event>
			<event>
				<name>onenable</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component>
		<!-- CANCEL button -->
		<component>
			<name>cancelbutton</name>
			<hotkey>KEY_ESCAPE</hotkey>
			<caption>$hierarchy.cancel</caption>
			<captioncolor>0xFF04091E</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>100</x> <y>174</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>
		<!-- OK button -->
		<component>
			<name>okbutton</name>
			<hotkey>KEY_RETURN</hotkey>
			<caption>$hierarchy.ok</caption>
			<captioncolor>0xFF04091E</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>0</x> <y>110</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>

		<!-- Marker -->
		<component>
			<name>marker</name>
			<caption></caption>
			<tag>1</tag>
			<event>
				<name>create</name>
				<node>
					<mesh>
						<width>320</width>
						<height>26</height>
						<color>0x80000000</color>					
					</mesh>
					<position> <x>-100</x> <y>-70</y> <z>-1.5</z> </position>
				</node>
			</event>
		</component>
		<!-- newitem1 -->
		<component>
			<name>newbutton</name>
			<hotkey>KEY_SPACE</hotkey>
			<caption>$hierarchy.Screen.Profile.newPlayer</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>-125</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item1 -->
		<component>
			<name>item1</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<tag>1</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>-98</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item2 -->
		<component>
			<name>item2</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<enabled>0</enabled>
			<tag>2</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>-71</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item3-->
		<component>
			<name>item3</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<enabled>0</enabled>
			<tag>3</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>-44</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item4 -->
		<component>
			<name>item4</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<enabled>0</enabled>
			<tag>4</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>-17</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.0</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item5 -->
		<component>
			<name>item5</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<enabled>0</enabled>
			<tag>5</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>10</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
		<!-- item6 -->
		<component>
			<name>item6</name>
			<caption></caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<width>256</width>
			<height>20</height>
			<enabled>0</enabled>
			<tag>6</tag>
			<event>
				<name>create</name>
				<node>
					<position> <x>0</x> <y>37</y> <z>-2</z> </position>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1.1</scale>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<keyframe>
						<time>200</time>
						<scale>1</scale>
					</keyframe>
				</node>
			</event>
		</component>
	</rootcomponent>
</screen>