<screen>
	<name>EditorScreen</name>
	<!-- editor  screen -->
	<layer>-10</layer>
	<rootcomponent><name>root</name>
		<event><name>create</name>
			<node>
				<position>
					<x>240</x><y>212</y>
				</position>
			</node>
		</event>
		<event><name>destroy</name>
			<node />
		</event>
		
		<component><name>bg</name>
			<event><name>create</name>
				<node/>
			</event>
			<component><name>bg_left</name>
				<event><name>create</name>
					<node>
						<mesh>
							<width>200</width>
							<height>1024</height>
							<color>0xFF002000</color>
						</mesh>
						<position>
							<x>-540</x>
						</position>
					</node>
				</event>
			</component>

			<component><name>bg_right</name>
				<event><name>create</name>
					<node>
						<mesh>
							<width>280</width>
							<height>1024</height>
							<color>0xFF002000</color>
						</mesh>
						<position>
							<x>500</x>
						</position>
					</node>
				</event>
			</component>

			<component><name>bg_top</name>
				<event><name>create</name>
					<node>
						<mesh>
							<width>800</width>
							<height>60</height>
							<color>0xFF002000</color>
						</mesh>
						<position>
							<x>-40</x><y>-482</y>
						</position>
					</node>
				</event>
			</component>

			<component><name>bg_bottom</name>
				<event><name>create</name>
					<node>
						<mesh>
							<width>800</width>
							<height>364</height>
							<color>0xFF002000</color>
						</mesh>
						<position>
							<x>-40</x><y>330</y>
						</position>
					</node>
				</event>
			</component>
		</component><!-- bg  -->

		<component><name>gameroot</name>
			<width>800</width><height>600</height>
			<event><name>create</name>
				<node>
					<position><x>-40</x><y>-152</y></position>
				</node>
			</event>
		</component><!--gameroot-->

		<component><name>radar_ctrl</name>
			<event><name>create</name>
				<node>
					<mesh>
						<width>260</width>
						<height>260</height>
						<color>0xFFFFFFFF</color>
					</mesh>
					<position>
						<x>500</x><y>-372</y><z>-1</z>
					</position>
				</node>
			</event>
			<component><name>radarroot</name>
				<width>256</width><height>256</height>
				<event><name>create</name>
					<node>
						<position>
							<x>0</x><y>0</y>
						</position>
					</node>
				</event>
			</component>
		</component><!--radarroot-->

		<component><name>x</name>
			<captioncolor>0xFFFFFF3F</captioncolor>
			<align>right</align>
			<event><name>create</name>
				<node>
					<position>
						<x>436</x><y>-218</y>
					</position>
				</node>
			</event>
			<component><name>map_width</name>
				<captioncolor>0xFF7F7F7F</captioncolor>
				<align>left</align>
				<event><name>create</name>
					<node>
						<position>
							<x>0</x>
						</position>
					</node>
				</event>
			</component>
		</component>

		<component><name>y</name>
			<captioncolor>0xFFFFFF3F</captioncolor>
			<align>right</align>
			<event><name>create</name>
				<node>
					<position>
						<x>564</x><y>-218</y>
					</position>
				</node>
			</event>
			<component><name>map_height</name>
				<captioncolor>0xFF7F7F7F</captioncolor>
				<align>left</align>
				<event><name>create</name>
					<node>
						<position>
							<x>0</x>
						</position>
					</node>
				</event>
			</component>
		</component>

		<component><name>obj_ctrl</name>
			<event><name>create</name>
				<node>
					<position>
						<x>500</x><y>-76</y><z>-1</z>
					</position>
				</node>
			</event>
		</component><!--obj_ctrl-->

		<component><name>obj_descri</name>
			<event><name>create</name>
				<node>
					<position>
						<x>500</x><y>100</y>
					</position>
				</node>
			</event>
			<component><name>obj_stats</name>
				<align>right</align>
				<event><name>create</name>
					<node>
						<position>
							<x>128</x><y>0</y>
						</position>
					</node>
				</event>
			</component>
			<component><name>obj_icon</name>
				<align>left</align>
				<event><name>create</name>
					<node>
						<position>
							<x>-80</x><y>64</y>
						</position>
					</node>
				</event>
			</component>
		</component>


		<component><name>mainmenu</name>
			<event><name>create</name>
				<node>
					<position>
						<x>-595</x><y>-450</y>	<z>-1</z>
					</position>
				</node>
			</event>
			<component><name>new</name>
				<caption>New</caption>
				<captioncolor>0xFF00FFFF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>0</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>save</name>
				<caption>Save</caption>
				<captioncolor>0xFFFFFF00</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>50</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>load</name>
				<caption>Load</caption>
				<captioncolor>0xFF0000FF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>100</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>reload</name>
				<caption>#{!0xFFFF0000}Re#{!0xFF0000FF}Load</caption>
				<captioncolor>0xFFFF00FF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>150</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>play</name>
				<caption>Play</caption>
				<captioncolor>0xFF00FF00</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>200</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>run_stop</name>
				<caption>Run</caption>
				<captioncolor>0xFFCF6000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<hotkey>KEY_SPACE</hotkey>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>250</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>quit</name>
				<caption>Quit</caption>
				<captioncolor>0xFFFF0000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>300</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
		</component><!--mainmenu-->

		<component><name>filters</name>
			<event><name>create</name>
				<node>
					<position>
						<x>-490</x><y>-450</y>	<z>-1</z>
					</position>
				</node>
			</event>
			<component><name>fog_filter</name>
				<caption>Fog</caption>
				<captioncolor>0xFF9300FF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>0</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>build_filter</name>
				<caption>Build</caption>
				<captioncolor>0xFFFFDF00</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>50</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>pass_filter</name>
				<caption>Pass</caption>
				<captioncolor>0xFFA0FF99</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>100</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>area_filter</name>
				<caption>Area</caption>
				<captioncolor>0xFF00ECFF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>150</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>object_filter</name>
				<caption>Object</caption>
				<captioncolor>0xFF66FF00</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>80</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>80</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>200</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
		</component><!--filters-->

		<component><name>etc_menu</name>
			<event><name>create</name>
				<node>
					<position>
						<x>-540</x><y>-80</y><z>-1</z>
					</position>
				</node>
			</event>
			<component><name>owner</name>
				<caption>owner</caption>
				<width>120</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>0</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>add_composition</name>
				<captioncolor>0xFFFF80C0</captioncolor>
				<caption>Store</caption>
				<width>120</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>60</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>del_composition</name>
				<captioncolor>0xFFFF4060</captioncolor>
				<caption>Erase</caption>
				<width>120</width>
				<height>48</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>48</height>
						</mesh>
						<position>
							<x>0</x><y>110</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
		</component><!--etc_menu-->


		<component><name>palette_selector</name>
			<event><name>create</name>
				<node>
					<position>
						<x>-565</x><y>188</y><z>-1</z>
					</position>
				</node>
			</event>
			<component><name>composition_palette</name>
				<caption>Composition</caption>
				<captioncolor>0xFFFF80C0</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>-40</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>terrain_palette</name>
				<caption>Terrain</caption>
				<captioncolor>0xFFFFC040</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>0</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>landmark_palette</name>
				<caption>Landmark</caption>
				<captioncolor>0xFF40C040</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>40</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>spawn_palette</name>
				<caption>Spawn</caption>
				<captioncolor>0xFF00C0FF</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>80</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>structure_palette</name>
				<caption>Structure</caption>
				<captioncolor>0xFFFFFF80</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>120</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>building_palette</name>
				<caption>Building</caption>
				<captioncolor>0xFF808000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>160</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>unit_palette</name>
				<caption>Unit</caption>
				<captioncolor>0xFF00FF40</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>200</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>item_palette</name>
				<caption>Item</caption>
				<captioncolor>0xFF0000C0</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>240</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>
			<component><name>magic_palette</name>
				<caption>Magic</caption>
				<captioncolor>0xFFFFC000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<width>120</width>
				<height>36</height>
				<event><name>create</name>
					<node>
						<mesh>
							<color>0xA0404040</color>
							<width>120</width>
							<height>36</height>
						</mesh>
						<position>
							<x>0</x><y>280</y><z>-1</z>
						</position>
					</node>
				</event>
			</component>

		</component><!--palette_selector-->

		<component><name>palette</name>
			<event><name>create</name>
				<node>
					<position>
						<x>-50</x><y>250</y><z>-1</z>
						<!--x>-50</x><y>330</y><z>-1</z-->
					</position>
				</node>
			</event>
		</component><!--palette-->

		<component><name>filename</name>
			<align>right</align>
			<captioncolor>0xFF00C030</captioncolor>
			<event><name>create</name>
				<node>
					<position>
						<x>350</x><y>-472</y><z>-1</z>
					</position>
				</node>
			</event>
		</component><!--filename-->

		<component><name></name>
			<event><name>create</name>
				<node>
					<position>
						<x>0</x><y>0</y><z>-1</z>
					</position>
				</node>
			</event>
			
		</component><!---->


	</rootcomponent>
</screen>