<?xml version="1.0"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by vova (EMBRACE) -->
<GUI>
	<include>gui.lua</include>
	<Layer name="FadeScreen">
		<Controls>
			<SolidRect name="BlackScreen">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="160"/>
			</SolidRect>
		</Controls>
	</Layer>
	
	<Layer name="EditorList">
		<Controls>
			<SolidRect name="BlackScreen">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="160"/>
			</SolidRect>

			<ListBox name="List" numOfItems="18" step="27" width="100">
				<position x="200" y="100"/>
				<font active="arial" normal="arial"/>
			</ListBox>
			
			<Button name="c1">
				<position x="30" y="50"/>
				<text>1</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c2">
				<position x="70" y="50"/>
				<text>2</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c3">
				<position x="110" y="50"/>
				<text>3</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c4">
				<position x="150" y="50"/>
				<text>4</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c5">
				<position x="190" y="50"/>
				<text>5</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c6">
				<position x="230" y="50"/>
				<text>6</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c7">
				<position x="270" y="50"/>
				<text>7</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c8">
				<position x="310" y="50"/>
				<text>8</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c9">
				<position x="350" y="50"/>
				<text>9</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c10">
				<position x="390" y="50"/>
				<text>10</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c11">
				<position x="430" y="50"/>
				<text>11</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c12">
				<position x="470" y="50"/>
				<text>12</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c13">
				<position x="510" y="50"/>
				<text>13</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			<Button name="c14">
				<position x="550" y="50"/>
				<text>14</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c15">
				<position x="590" y="50"/>
				<text>15</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="c16">
				<position x="630" y="50"/>
				<text>16</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="cUp">
				<position x="30" y="260"/>
				<text>Up</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="cDown">
				<position x="30" y="310"/>
				<text>Down</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="cOk">
				<position x="300" y="260"/>
				<text>Ok</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<Button name="cCancel">
				<position x="300" y="310"/>
				<text>Cancel</text>
				<textPosition>
					<position x="16" y="16"/>
				</textPosition>
				<state normal="#EditorButtonNormal" active="#EditorButtonActive" pressed="#EditorButtonPressed"/>
				<font active="arial" normal="arial" pressed="arial"/>
			</Button>
			
			<RyushkaSelect name="zRyushkaSelect" />
		</Controls>
		<Script>EditorListFunc</Script>		
	</Layer>

	<Layer name="EditorFileList">
		<Controls>
			<SolidRect name="BlackScreen">
				<rectangle x="0" y="0" width="800" height="600"/>
				<color r="0" g="0" b="0" a="160"/>
			</SolidRect>

			<EditorFileList name="EditorFileList"/>

			<Button name="Return">
				<position x="30" y="590"/>
				<text>Return</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

			<Button name="Delete">
				<position x="580" y="590"/>
				<text>Delete</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

			<Button name="Load">
				<position x="510" y="570"/>
				<text>Load</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>
		
			<Button name="Save">
				<position x="510" y="590"/>
				<text>Save</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

			<Button name="Clear">
				<position x="710" y="590"/>
				<text>Clear</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>
		</Controls>
		<Script>EditorFileListFunc</Script>		
	</Layer>
	<Layer name="ConfirmRewriteLevel">
		<Controls>
			<SolidRect name="BlackScreen">
				<rectangle x="280" y="250" width="240" height="100"/>
				<color r="0" g="0" b="100" a="150"/>
			</SolidRect>

			<Text name="ConfirmText">
				<text>Do you really want to rewrite level</text>
				<align>Center</align>
				<font name="arialSmall"/>
				<position x="400" y="280"/>
			</Text>

			<Button name="Cancel">
				<position x="430" y="340"/>
				<text>Cancel</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

			<Button name="Yes">
				<position x="310" y="340"/>
				<text>Yes</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

		</Controls>
		<Script>ConfirmRewriteLevelFunc</Script>		
	</Layer>
	<Layer name="ChipSelecter">
		<Controls>
			<ChipSelecter name="ChipSelecter"/>
			<Button name="ok">
				<position x="525" y="418"/>
				<text>Ok</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

			<Button name="cancel">
				<position x="525" y="441"/>
				<text>Cancel</text>
				<textPosition>
					<position x="12" y="10"/>
				</textPosition>
				<state normal="#EditButton" active="#EditButton" pressed="#EditButtonPress"/>
				<font normal="arialSmall" active="arialSmall" pressed="arialSmall"/>
			</Button>

		</Controls>
		<Script>ChipSelecterFunc</Script>		
	</Layer>
	<Layer name="RecSelecter">
		<Controls>
			<RecSelecter name="RecSelecter"/>
		</Controls>
		<Script>RecSelecterFunc</Script>		
	</Layer>
</GUI>
