<?xml version="1.0" encoding="UTF-8"?>
<Definition modal="true">
	<Import url="[config.mod.template.button]simpleButton.xml" />
	<Import url="[config.mod.template.button]iconButton.xml" />
	<Import url="[config.mod.template]window.xml" />
	<Import url="[config.mod.template]block.xml" />
	<Import url="[config.mod.template.button]comboBoxWithBackground.xml" />
	
   	<Constants>
		<Constant name="assets" value="[config.ui.skin]assets.swf|" />
       	<Constant name="css" value="[config.ui.skin]css/" />
		<Constant name="common" value="[config.ui.skin]common/" />
		<Constant name="texture" value="[config.ui.skin]texture/" />
   	</Constants>

	<window name="mainCtr" noHelpButton="true">
		
		<title>[ui.common.mainMenu]</title>
		
		<closeButtonName>btnClose</closeButtonName>
		
		<Anchors>
			<Anchor point="CENTER" relativePoint="CENTER" />
		</Anchors>
		
		<Size>
			<AbsDimension x="400" y="415" />
		</Size>
		
		<Content>
				
			<simpleButton name="btnOptions">
				<Anchors>
					<Anchor>
						<AbsDimension x="41" y="13" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="276" y="28" />
				</Size>
				<label>[ui.common.options]</label>
			</simpleButton>
			
					
			<Container>
				<Anchors>
					<Anchor>
						<AbsDimension  y="215" />
					</Anchor>
				</Anchors>
			
				<block>
					<Size>
						<AbsDimension x="360" y="80" />
					</Size>
				</block>
		
				<Label name="lbl_abo">
					<Anchors>
						<Anchor>
							<AbsDimension x="10" y="10" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="320" y="16" />
					</Size>
					<cssClass>center</cssClass>
					<css>[local.css]normal2.css</css>
				</Label>
		
				<simpleButton label="[ui.header.subscribe]" name="btn_subscribe">
					<Anchors>
						<Anchor>
							<AbsDimension x="41" y="40" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="256" y="28" />
					</Size>
				</simpleButton>
						
				<Texture name="tx_safe">
					<Anchors>
						<Anchor>
							<AbsDimension x="310" y="17" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="40" y="46" />
					</Size>
					<uri>[local.assets]btn_shield</uri>
				</Texture>
			</Container>
		
	
			<simpleButton name="btnCancel">
				<Anchors>
					<Anchor>
						<AbsDimension x="41" y="305" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="276" y="28" />
				</Size>
				<label>[ui.common.returnToGame]</label>
			</simpleButton>
			
	        
			
			<Container>
				<Anchors>
					<Anchor>
						<AbsDimension  y="50" />
					</Anchor>
				</Anchors>
			
				<block>
					<Size>
						<AbsDimension x="360" y="153" />
					</Size>
				</block>
		
		
				<simpleButton name="btnDisconnect">
					<Anchors>
						<Anchor>
							<AbsDimension x="41" y="80" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="276" y="28" />
					</Size>
					<label>[ui.common.disconnect]</label>
				</simpleButton>
		
				<simpleButton name="btnQuitGame">
					<Anchors>
						<Anchor>
							<AbsDimension x="41" y="115" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="276" y="28" />
					</Size>
					<label>[ui.common.quitGame]</label>
				</simpleButton>
				
				
				<comboBoxWithBackground name="cb_servers" width="287" height="39" strata="MEDIUM">
					<Anchors>
						<Anchor>
							<AbsDimension x="36" y="39" />
						</Anchor>
					</Anchors>
				</comboBoxWithBackground>
				<simpleButton name="btnChangeServer">
					<Anchors>
						<Anchor>
							<AbsDimension x="41" y="46" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="250" y="28" />
					</Size>
					<label>[ui.charsel.changeServer]</label>
				</simpleButton>
					
				<comboBoxWithBackground name="cb_characters" width="287" height="39" strata="MEDIUM">
					<Anchors>
						<Anchor>
							<AbsDimension x="36" y="5" />
						</Anchor>
					</Anchors>
					<maxHeight>250</maxHeight>
				</comboBoxWithBackground>
				<simpleButton name="btnChangeCharacter">
					<Anchors>
						<Anchor>
							<AbsDimension x="41" y="11" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="250" y="28" />
					</Size>
					<label>[ui.common.changeCharacter]</label>
				</simpleButton>
				
				<Texture name="tx_hourglass">
					<Anchors>
						<Anchor relativeTo="cb_characters" relativePoint="RIGHT" point="LEFT">
							<AbsDimension x="5" y="-2" />
						</Anchor>
					</Anchors>
					<Size>
						<AbsDimension x="23.6" y="26.9" />
					</Size>
					<uri>[local.assets]Notifications_tx_sandglass</uri>
					<visible>false</visible>
				</Texture>
			</Container>
		</Content>
	</window>
</Definition>

