<?xml version="1.0" encoding="utf-8"?>
<!-- Released under GPL v3 -->
<Context ColorSet="Beige_Black_Alpha" Font="TwCenMT14" FontStyle="Shadow" ConsumeMouse="0" >

	<Instance Name="TabInstance" >
		<Container ID="Root" Size="70,52">
			<Container ID="SelectionFrame" Anchor="C,C" Size="70,52">
				<Grid Size="68,50" Color="255,255,255,200" Anchor="C,T" StateOffsetIncrement="0,0" Style="GridBlue8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0"/>
				<Grid Size="70,50" Color="255,255,255,200" Anchor="C,T" StateOffsetIncrement="0,0" Style="Grid9Frame" LLSize="0,0" LRSize="0,0" LCSize="13,0" ULSize="0,0" URSize="0,0" UCSize="13,0"/>
			</Container>
			
			<Button ID="Button" Size="70,64" Anchor="C,B" >
				<Image ID="Icon" Anchor="C,B" Offset="0,0" Size="64,64" />
			</Button>

			<ShowOnMouseOver>
				<Grid Anchor="C,T" Size="68,50" Color="255,255,255,200" Offset="0,0" StateOffsetIncrement="0,0" Style="Grid9Highlight8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0"/>
			</ShowOnMouseOver>

			<Image ID="TopButton" Anchor="C,T" AnchorSide="i,o" Offset="0,10" Size="64,64" ToolTipType="IGE_ToolTip" Texture="64x64FrameButtons.dds" >
				<Image ID="TopIcon" Anchor="C,C" Size="64,64"/>
			</Image>
		</Container>
	</Instance>

	<Instance Name="SmallTabInstance" >
		<Container ID="Root" Size="50,34">
			<Container ID="SelectionFrame" Anchor="C,C" Size="50,32">
				<Grid Size="48,34" Color="255,255,255,200" Anchor="C,C" StateOffsetIncrement="0,0" Style="GridBlue8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0"/>
				<Grid Size="50,34" Color="255,255,255,200" Anchor="C,C" StateOffsetIncrement="0,0" Style="Grid9Frame" LLSize="0,0" LRSize="0,0" LCSize="13,0" ULSize="0,0" URSize="0,0" UCSize="13,0"/>
			</Container>
			
			<Button ID="Button" Size="50,45" Anchor="C,B">
				<Image ID="Icon" Anchor="C,B" Offset="0,0" Size="45,45" />
			</Button>

			<ShowOnMouseOver>
				<Grid Anchor="C,C" Size="48,34" Color="255,255,255,200" Offset="0,0" StateOffsetIncrement="0,0" Style="Grid9Highlight8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0"/>
			</ShowOnMouseOver>

			<Image ID="TopButton" Anchor="C,T" AnchorSide="i,o" Offset="0,5" Size="64,64" ToolTipType="IGE_ToolTip" Texture="64x64FrameButtons.dds" >
				<Image ID="TopIcon" Anchor="C,C" Size="64,64"/>
			</Image>
		</Container>
	</Instance>

	<!--=======================================================================================================================-->
	<!--		BODY	-->
	<!--=======================================================================================================================-->
	<Box ID="Container" Offset="0,0" Size="1286,52" ConsumeMouseOver="1" Color="Black" Padding="0">
		<!-- Tabs -->
		<Grid ID="TabsGrid" Size="969,50" Color="0,255,255,255" Offset="0,1" Style="Grid9FrameBlack" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0" LSize="0,25" RSize="0,28">
			<Stack ID="TabsStack" StackGrowth="Right" Size="5,50" Offset="10,0">
				<Label ID="Label_Edit" String="TXT_KEY_IGE_EDIT" Font="TwCenMT24" FontStyle="Stroke" Anchor="L,C" Offset="40,0"/>
				<Stack ID="EditTabsStack" StackGrowth="Right" Size="100,64" Offset="5,0" />

				<Label ID="Label_Paint" String="TXT_KEY_IGE_PAINT" Font="TwCenMT24" FontStyle="Stroke" Anchor="L,C" Offset="95,0"/>
				<Stack ID="PaintTabsStack" StackGrowth="Right" Size="100,64" Offset="5,0" />

				<Label ID="Label_Change" String="TXT_KEY_IGE_CHANGE" Font="TwCenMT24" FontStyle="Stroke" Anchor="L,C" Offset="95,0"/>
				<Stack ID="ChangeTabsStack" StackGrowth="Right" Size="100,64" Offset="5,0" />
			</Stack>
		</Grid>

		<!-- Player selection -->
		<Button ID="PlayerButton" Anchor="R,T" Offset="-2,-1" Size="320,52" StateOffsetIncrement="0,0"
				ToolTip="TXT_KEY_IGE_ACTIVE_PLAYER_BUTTON_HELP">
			<Grid ID="PlayerBackground" Anchor="L,T" Size="316,50" Color="255,255,255,200" Offset="2,2" StateOffsetIncrement="0,0" Style="Grid9Green8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0" LSize="0,28" RSize="0,28"/>
			<!--Grid Anchor="L,T" Size="300,52" Color="255,255,255,200" Offset="0,0" StateOffsetIncrement="0,0" Style="Grid9Frame" LLSize="0,0" LRSize="0,0" LCSize="13,0" /-->

			<ShowOnMouseOver>
				<Grid ID="PlayerHover" Anchor="L,T" Size="316,50" Color="255,255,255,200" Offset="2,2" StateOffsetIncrement="0,0" Style="Grid9Yellow8" LLSize="0,0" LRSize="0,0" LCSize="28,0" ULSize="0,0" URSize="0,0" UCSize="28,0" LSize="0,28" RSize="0,28"/>
			</ShowOnMouseOver>

			<Container ID="PlayerContainer" Anchor="L,T" Size="320,52" >
				<Image ID="PlayerImage" Texture="LeaderPortraits512.dds" TextureOffset="0,0" Size="64,64" Offset="4,0" Anchor="L,C" />
				<Label ID="PlayerLabel" Anchor="L,C" Font="TwCenMT20" Offset="64,0" String="TXT_KEY_IGE_PLAYER"/>
			</Container>
		</Button>

		<Image ID="LowerFrame" Anchor="L,B" Size="1286,3" Offset="0,0" Texture="CivilopediaButtons272x27.dds" />
	</Box>
</Context>