<controls>

<append xpath="/controls">

<windowBackgroundAdvanced depth="0" pos="0,0" width_corner="140" height_corner="140" width="100" height="100" corner_color="[black]">
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Corner -->
		<sprite name="Corner" depth="-4" sprite="Glow - Outer" pos="-20,26" width="${40+width}" height="${46+height}" color="${corner_color}" type="sliced" />
		<!-- Header -->
		<!-- <sprite name="Header" depth="-2" sprite="ui_game_header_fill" pos="0,0" width="${width}" height="43" color="[AXHeBackground]" type="sliced" /> -->
		<sprite name="Header" depth="-1" sprite="menu_empty3px" pos="0,0" width="${width}" height="43" color="[AXHeBackground]" type="sliced" />
		<sprite name="HeaderD" depth="0" sprite="menu_empty3px" pos="0,-40" width="${width}" height="3" color="[AXHeBackground]" type="sliced" />
		<!-- Background -->
		<sprite name="Background" depth="-3" sprite="ui_game_header_fill" pos="0,8" width="${width}" height="${8+height}" color="[AXWnBackground]" type="sliced" />
	</rect>
</windowBackgroundAdvanced>

<windowBackground><!-- Sizeable + height = 16 /// non globalopacitymod="1.8" -->
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Header -->
		<sprite depth="-2" name="backgroundHeader" pos="0,0" width="${width}" height="43" type="sliced"  color="[AXHeBackground]" fillcenter="true" />
		<sprite depth="-2" name="backgroundLine" pos="8,8" width="${width-16}" height="8" type="sliced"  color="[AXTextContour]" />
		<!-- <sprite depth="-1" name="backgroundBlackLine" pos="0,0" sprite="ui_interface_gradient_strip" width="${width}" height="12" type="sliced"  color="0,0,0,255" /> -->
		<!-- <sprite depth="-1" name="backgroundBlackLineA" pos="0,-31" sprite="ui_interface_gradient_strip" width="${width}" height="12" type="sliced" color="0,0,0,255" /> -->
		<!-- Corner Top -->
		<sprite depth="-2" name="backgroundCL" pos="0,8" sprite="ui_game_symbol_triangle" flip="Horizontally" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<sprite depth="-2" name="backgroundCR" pos="${width-8},8" sprite="ui_game_symbol_triangle" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<!-- Background -->
		<!-- <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="${width}" height="${height}" color="[AXWindowLine]" type="sliced" fillcenter="false" /> -->
		<sprite depth="-3" name="backgroundw" pos="0,0" width="${width}" height="${height}" type="sliced"  color="[AXWnBackground]" />	
		<sprite depth="-2" name="backgroundLineB" pos="8,${-height}" width="${width-16}" height="8" type="sliced"  color="[AXTextContour]" fillcenter="true" />
		<!-- <sprite depth="-1" name="backgroundBlackLineB" pos="0,${-height+12}" sprite="ui_interface_gradient_strip" flip="Vertically" width="${width}" height="12" type="sliced"  color="0,0,0,255" /> -->
		<!-- Corner Down -->
		<sprite depth="-2" name="backgroundCLB" pos="8,${-height}" rotation="-90" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<sprite depth="-2" name="backgroundCRB" pos="${width-8},${-height}" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXTextContour]"/>				
	</rect>
</windowBackground>

<windowBackgroundNoDown><!-- Sizeable + height = 16 /// non globalopacitymod="1.8" -->
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Header -->
		<sprite depth="-2" name="backgroundLine" pos="8,8" width="${width-16}" height="8" type="sliced"  color="[AXTextContour]" />
		<!-- Corner Top -->
		<sprite depth="-2" name="backgroundCL" pos="0,8" sprite="ui_game_symbol_triangle" flip="Horizontally" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<sprite depth="-2" name="backgroundCR" pos="${width-8},8" sprite="ui_game_symbol_triangle" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<!-- Background -->
		<sprite depth="-3" name="backgroundw" pos="0,0" width="${width}" height="${height}" type="sliced"  color="[AXWnBackground]" />				
	</rect>
</windowBackgroundNoDown>

<windowBackgroundNoUp><!-- Sizeable + height = 16 /// non globalopacitymod="1.8" -->
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Background -->
		<sprite depth="-3" name="backgroundw" pos="0,0" width="${width}" height="${height}" type="sliced"  color="[AXWnBackground]" />	
		<sprite depth="-2" name="backgroundLineB" pos="8,${-height}" width="${width-16}" height="8" type="sliced"  color="[AXTextContour]" fillcenter="true" />
		<!-- Corner Down -->
		<sprite depth="-2" name="backgroundCLB" pos="8,${-height}" rotation="-90" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXTextContour]"/>
		<sprite depth="-2" name="backgroundCRB" pos="${width-8},${-height}" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXTextContour]"/>				
	</rect>
</windowBackgroundNoUp>

<OnlyHeader><!-- Sizeable + height = 16 /// non globalopacitymod="1.8" Header = 26 -->
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Header -->
		<sprite depth="-2" name="backgroundHeader" pos="0,0" width="${width}" height="26" type="sliced"  color="[AXHeaderBackgroundPAlpha]" fillcenter="true" />
		<sprite depth="-2" name="backgroundLine" pos="8,8" width="${width-16}" height="8" type="sliced"  color="[AXWindowCornerAlpha]" />
		<sprite depth="-2" name="backgroundCL" pos="0,8" sprite="ui_game_symbol_triangle" flip="Horizontally" width="8" height="8" type="sliced"  color="[AXWindowCornerAlpha]"/>
		<sprite depth="-2" name="backgroundCR" pos="${width-8},8" sprite="ui_game_symbol_triangle" width="8" height="8" type="sliced"  color="[AXWindowCornerAlpha]"/>
		<!-- Background -->
		<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="${width}" height="${height}" color="[AXWindowLineAlpha]" type="sliced" fillcenter="false" />
		<sprite depth="-3" name="backgroundw" pos="0,0" width="${width}" height="${height}" type="sliced"  color="[AXWindowBackgroundAlpha]" />	
		<sprite depth="-2" name="backgroundLineB" pos="8,${-height}" width="${width-16}" height="8" type="sliced"  color="[AXWindowCornerAlpha]" fillcenter="true" />
		<!-- Corner Down -->
		<sprite depth="-2" name="backgroundCLB" pos="8,${-height}" rotation="-90" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXWindowCornerAlpha]"/>
		<sprite depth="-2" name="backgroundCRB" pos="${width-8},${-height}" sprite="ui_game_symbol_triangle" flip="Vertically" width="8" height="8" type="sliced"  color="[AXWindowCornerAlpha]"/>				
	</rect>
</OnlyHeader>

<windowBackgroundNoHeader><!-- Sizeable -->
	<rect name="background_design" width="${width}" height="${height}" pos="${pos}" depth="${depth}">
		<!-- Header -->
		<label name="windowTitle" width="200" height="18" pos="5,0" text_key="${text_key}" />
		<!-- <sprite depth="-2" name="backgroundHeader" pos="0,0" width="${width}" height="25" type="sliced"  color="[AXTextContour]" fillcenter="true" /> -->
		<sprite depth="-2" name="backgroundHeader" pos="0,-19" width="${width}" height="2" type="sliced"  color="[AXTextContour]" fillcenter="true" />
		<!-- Background -->
		<!-- <sprite depth="-1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="${width}" height="${height}" color="[black]" type="sliced" fillcenter="false" /> -->
		<!-- <sprite depth="-3" name="backgroundw" pos="1,-1" width="${width-2}" height="${height-2}" type="sliced"  color="[darkGrey]" />					 -->
	</rect>
</windowBackgroundNoHeader>

<WindowDivider depth="4" pos="0,0" width="200">
	<rect depth="${depth}" pos="${pos}">
		<sprite depth="2" pos="0,-1" width="${width}" height="6" color="[AXDivider]" type="sliced" foregroundlayer="true"/>
	</rect>
</WindowDivider>

</append>

</controls>
