<?xml version="1.0" encoding="utf-8"?>

<sprites>

	<sprite name="groupsIcon">
		<image
			texture="session/icons/single/groups.png"
			size="0 0 100% 100%"
		/>
	</sprite>

	<sprite name="idleWorker">
		<image
			texture="session/icons/single/repair.png"
			cell_size="32 32"
			size="0 0 100% 100%"
		/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Unit Command Icons -->
	<!-- ================================  ================================ -->
	<sprite name="formation">
		<image
			texture="session/icons/sheets/formation_select.png"
			cell_size="64 64"
			size="0 0 100% 100%"
		/>
	</sprite>

	<sprite name="formation_disabled">
		<image
			texture="session/icons/sheets/formation_nonselect.png"
			cell_size="64 64"
			size="0 0 100% 100%"
		/>
	</sprite>
	
	<sprite name="commands">
		<image
			texture="session/icons/sheets/commands.png"
			cell_size="32 32"
			size="0 0 100% 100%"
		/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Menu -->
	<!-- ================================  ================================ -->
	<sprite name="menuButton">
		<image
			texture="session/icons/single/menu.png"
			size="0 0 100% 100%"
		/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Panel Backgrounds -->
	<!-- ================================  ================================ -->

	
	

	
	
	
	
	

	<sprite name="sessionDialog">
		<!-- background -->
		<image
			texture="global/tile/tile_dark.png"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>

		<!-- sides -->
		<image
			texture="session/border/border-top.png"
			texture_size="0 0 128 16"
			size="16 0 100%-16 16"
		/>
		<image
			texture="session/border/border-right.png"
			texture_size="0 0 16 128"
			size="100%-16 16 100% 100%-16"
		/>
		<image
			texture="session/border/border-bottom.png"
			texture_size="0 0 128 16"
			size="16 100%-16 100%-16 100%"
		/>
		<image
			texture="session/border/border-left.png"
			texture_size="0 0 16 128"
			size="0 16 16 100%-16"
		/>

		<!-- corners -->
		<image
			texture="session/border/border-corner.png"
			texture_size="0 0 16 16"
			size="100%-16 0 100% 16"
		/>
		<image
			texture="session/border/border-corner.png"
			texture_size="0 0 16 16"
			size="100%-16 100%-16 100% 100%"
		/>
		<image
			texture="session/border/border-corner.png"
			texture_size="0 0 16 16"
			size="0 100%-16 16 100%"
		/>
		<image
			texture="session/border/border-corner.png"
			texture_size="0 0 16 16"
			size="0 0 16 16"
		/>
	</sprite>
	
	
	
	
	<sprite name="sessionDialogTitleBar">
		<image	texture="session/titlebar/titlebar_left.png"
			real_texture_placement="0 0 64 32"
			size="0%+0 0% 64 0%+32" 
		/>
                <image 	texture="session/titlebar/titlebar_middle.png"
			real_texture_placement="0 0 64 32"
			size="64 0% 100%-64 0%+32" 
		/>
                <image 	texture="session/titlebar/titlebar_right.png"
			real_texture_placement="0 0 64 32"
			size="100%-64 0% 100%+0 0%+32" 
		/>
	</sprite>
	
	
	
	
	
	
	
	
	<!-- Generic Panel -->
	<sprite name="genericPanel">
		<image
			texture="global/tile/tile_dark.png"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>

		<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="100%-4 4 100% 100%-4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="0 4 4 100%-4"
		/>

		<!-- corners -->
		<image
			texture="global/border/line_corner_top_right.png"
			texture_size="0 0 4 4"
			size="100%-4 0 100% 4"
		/>
		<image
			texture="global/border/line_corner_bottom_right.png"
			texture_size="0 0 4 4"
			size="100%-4 100%-4 100% 100%"
		/>
		<image
			texture="global/border/line_corner_bottom_left.png"
			texture_size="0 0 4 4"
			size="0 100%-4 4 100%"
		/>
		<image
			texture="global/border/line_corner_top_left.png"
			texture_size="0 0 4 4"
			size="0 0 4 4"
		/>
	</sprite>

	<!-- Top Panel -->
	<sprite name="topPanel">
		<image
			texture="session/ribbon_bg.png"
			real_texture_placement="0 0 2048 32"
			size="0 0 100% 100%"
		/>
		<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
	</sprite>

	<!-- Map Panel -->
	<sprite name="mapPanel">
		<image
			texture="session/map_bg.png"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>
			<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="100%-4 4 100% 100%-4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="0 4 4 100%-4"
		/>

		<!-- corners -->
		<image
			texture="global/border/line_corner_top_right.png"
			texture_size="0 0 4 4"
			size="100%-4 0 100% 4"
		/>
		<image
			texture="global/border/line_corner_bottom_right.png"
			texture_size="0 0 4 4"
			size="100%-4 100%-4 100% 100%"
		/>
		<image
			texture="global/border/line_corner_bottom_left.png"
			texture_size="0 0 4 4"
			size="0 100%-4 4 100%"
		/>
		<image
			texture="global/border/line_corner_top_left.png"
			texture_size="0 0 4 4"
			size="0 0 4 4"
		/>
	</sprite>

	<!-- Bottom Left Panel -->
	<sprite name="bottomLeft">
		<image
			texture="session/panel_left.png"
			real_texture_placement="0 0 189 170"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>

		<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="100%-4 4 100% 100%-4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="0 4 4 100%-4"
		/>

		<!-- corners -->
		<image
			texture="global/border/line_corner_middle_left.png"
			texture_size="0 0 4 4"
			size="100%-4 0 100% 4"
		/>
		<image
			texture="global/border/line_corner_bottom_middle.png"
			texture_size="0 0 4 4"
			size="100%-4 100%-4 100% 100%"
		/>
		<image
			texture="global/border/line_corner_bottom_middle.png"
			texture_size="0 0 4 4"
			size="0 100%-4 4 100%"
		/>
		<image
			texture="global/border/line_corner_middle_right.png"
			texture_size="0 0 4 4"
			size="0 0 4 4"
		/>
	</sprite>

	<!-- Bottom Middle Panel -->
	<sprite name="bottomMiddle">
		<image
			texture="session/panel_middle.png"
			real_texture_placement="0 0 228 205"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>

		<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="100%-4 4 100% 100%-4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="0 4 4 100%-4"
		/>

		<!-- corners -->
		<image
			texture="global/border/line_corner_top_right.png"
			texture_size="0 0 4 4"
			size="100%-4 0 100% 4"
		/>
		<image
			texture="global/border/line_corner_bottom_right.png"
			texture_size="0 0 4 4"
			size="100%-4 100%-4 100% 100%"
		/>
		<image
			texture="global/border/line_corner_bottom_left.png"
			texture_size="0 0 4 4"
			size="0 100%-4 4 100%"
		/>
		<image
			texture="global/border/line_corner_top_left.png"
			texture_size="0 0 4 4"
			size="0 0 4 4"
		/>
	</sprite>

	<!-- Bottom Right Panel -->
	<sprite name="bottomRight">
		<image
			texture="session/panel_right.png"
			real_texture_placement="0 0 398 170"
			texture_size="0 0 100% 100%"
			size="0 0 100% 100%"
		/>

		<!-- sides -->
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 0 100%-4 4"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="100%-4 4 100% 100%-4"
		/>
		<image
			texture="global/border/line_horiz.png"
			texture_size="0 0 64 4"
			size="4 100%-4 100%-4 100%"
		/>
		<image
			texture="global/border/line_vert.png"
			texture_size="0 0 4 64"
			size="0 4 4 100%-4"
		/>

		<!-- corners -->
		<image
			texture="global/border/line_corner_top_right.png"
			texture_size="0 0 4 4"
			size="100%-4 0 100% 4"
		/>
		<image
			texture="global/border/line_corner_bottom_right.png"
			texture_size="0 0 4 4"
			size="100%-4 100%-4 100% 100%"
		/>
		<image
			texture="global/border/line_corner_bottom_middle.png"
			texture_size="0 0 4 4"
			size="0 100%-4 4 100%"
		/>
		<image
			texture="global/border/line_corner_middle_right.png"
			texture_size="0 0 4 4"
			size="0 0 4 4"
		/>
	</sprite>

<!-- Older Panel Sprites -->
	<sprite name="goldPanel">
		<!-- (currently this is all a hack - need proper textures) -->
		<image
			texture="global/titlebar/middle_gold_fern.dds"
			texture_size="0 0 64 32"
			size="0 -6 100% 0"
		/>
		<image
			texture="global/titlebar/middle_gold_fern.dds"
			texture_size="0 0 64 32"
			size="0 100%+5 100% 100%"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			texture_size="0 0 16 100%"
			size="-4 -4 0 100%+4"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			texture_size="0 0 16 100%"
			size="100% 0%-4 100%+4 100%+4"
		/>
		<image
			texture="global/tile/sandstone.dds"
			texture_size="0 0 128 128"
		/>
	</sprite>

	<sprite name="goldPanelFrilly">
		<!-- (currently this is all a hack - need proper textures) -->
		<image
			texture="global/titlebar/middle_gold_fern.dds"
			texture_size="0 0 64 32"
			size="0 -6 100% 0"
		/>
		<image
			texture="global/titlebar/middle_gold_fern.dds"
			texture_size="0 0 64 32"
			size="0 100%+5 100% 100%"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			texture_size="0 0 16 100%"
			size="-4 -4 0 100%+4"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			texture_size="0 0 16 100%"
			size="100% 0%-4 100%+4 100%+4"
		/>
		<image
			texture="global/titlebar/left_gold_fern.dds"
			texture_size="0 0 64 32"
			size="-48 50%-16 0 50%+16"
		/>
		<image
			texture="global/titlebar/right_gold_fern.dds"
			texture_size="-16 0 48 32"
			size="100% 50%-16 100%+48 50%+16"
		/>
		<image
			texture="global/tile/sandstone.dds"
			texture_size="0 0 128 128"
		/>
	</sprite>

	<sprite name="frilly">
		<!-- (currently this is all a hack - need proper textures) -->
		<image
			texture="global/titlebar/left_gold_fern.dds"
			texture_size="0 0 64 32"
			size="-48 50%-16 0 50%+16"
		/>
		<image
			texture="global/titlebar/right_gold_fern.dds"
			texture_size="-16 0 48 32"
			size="100% 50%-16 100%+48 50%+16"
		/>
	</sprite>

	<sprite name="veryThinWheatWindowSand">
		<!-- Starting with top left corner continuing in a clockwise manner -->
		<image 	texture="global/border/top_marble.dds"
			texture_size="0 0 128 16"
			size="-5 0%-5 100%+5 27" 
		/>
		<image	texture="global/border/right_marble.dds"
			texture_size="0 0 16 128"
			size="100%-27 0 100%+5 100%" 
		/>
        <image	texture="global/border/bottom_marble.dds"
			texture_size="0 0 128 16"
			size="-5 100%-27 100%+5 100%+5" 
		/>
		<image 	texture="global/border/left_marble.dds"
			texture_size="0 0 16 128"
			size="0%-5 0 0%+27 100%" 
		/>
		<!-- middle -->
		<image	texture="global/tile/sandstone.dds"
			texture_size="0 0 128 128"
			size="0 0 100% 100%" 
		/>
	</sprite>

	<sprite name="mainPanel">
		<!-- (currently this is all a hack - need proper textures) -->
		<image
			texture="global/tile/sandstone.dds"
			texture_size="0 0 128 128"
		/>

		<image
			texture="global/titlebar/middle_gold_fern.dds"
			real_texture_placement="0 4 64 6"
			texture_size="0 0 64 32"
			size="0 0 100% 3"
		/>
		<image
			texture="global/titlebar/middle_gold_fern.dds"
			real_texture_placement="0 4 64 6"
			texture_size="0 0 64 32"
			size="0 100%-3 100% 100%"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			real_texture_placement="1 1 15 15"
			texture_size="0 0 16 100%"
			size="0 0 3 100%"
		/>
		<image
			texture="global/border/corner_bronze.dds"
			real_texture_placement="1 1 15 15"
			texture_size="0 0 16 100%"
			size="100%-3 0 100% 100%"
		/>
	</sprite>
	
	<sprite name="insetWheatWindow">
		<!-- middle -->
		<image	texture="global/tile/sandstone.dds"
			texture_size="0 0 128 128"
			size="15 15 100%-15 100%-15" 
		/>

		<!-- Sides -->
		<image 	texture="global/border/top_marble.dds"
			texture_size="0 0 128 32"
			size="15 0 100%-15 15"
		/>
		<image	texture="global/border/right_marble.dds"
			texture_size="0 0 32 128"
			size="100% 15 100%-15 100%-15"
		/>
        <image	texture="global/border/bottom_marble.dds"
			texture_size="0 0 128 32"
			size="15 100% 100%-15 100%-15"
		/>
		<image 	texture="global/border/left_marble.dds"
			texture_size="0 0 32 128"
			size="0 15 15 100%-15"
		/>

		<!-- corners -->
		<image 	texture="global/border/corner_bronze.dds"
			real_texture_placement="0 0 15 15"
			size="0 0 16 16" 
		/>
		<image 	texture="global/border/corner_bronze.dds"
			real_texture_placement="0 0 15 15"
			size="100%-16 0 100% 16"
		/>
		<image	texture="global/border/corner_bronze.dds"
			real_texture_placement="0 0 15 15"
			size="100%-16 100%-16 100% 100%" 
		/>
		<image 	texture="global/border/corner_bronze.dds"
			real_texture_placement="0 0 15 15"
			size="0 100%-16 16 100%"
		/>
	</sprite>

	<sprite name="titleBar">
		<image	texture="global/titlebar/left_gold_fern.dds"
			real_texture_placement="0 0 64 30"
			size="0%+0 0% 64 0%+30" 
		/>
                <image 	texture="global/titlebar/middle_gold_fern.dds"
			real_texture_placement="0 0 64 30"
			size="64 0% 100%-64 0%+30" 
		/>
                <image 	texture="global/titlebar/right_gold_fern.dds"
			real_texture_placement="0 0 64 30"
			size="100%-64 0% 100%+0 0%+30" 
		/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Shading -->
	<!-- ================================  ================================ -->	
	<sprite name="glassSquareMap">
		<image backcolor="255 255 255 56" size="0 0 100% 1"/>
		<image backcolor="255 255 255 56" size="100%-1 1 100% 100%"/>
		<image backcolor="255 255 255 56" size="0 100%-1 100% 100%"/>
		<image backcolor="255 255 255 56" size="0 1 1 100%-1"/>
		
		<image backcolor="255 255 255 44" size="1 1 100%-1 2"/>
		<image backcolor="255 255 255 44" size="100%-2 2 100%-1 100%-1"/>
		<image backcolor="255 255 255 44" size="1 100%-2 100%-1 100%-1"/>
		<image backcolor="255 255 255 44" size="1 2 2 100%-2"/>
		
		<image backcolor="255 255 255 32" size="2 2 100%-2 3"/>
		<image backcolor="255 255 255 32" size="100%-3 3 100%-2 100%-2"/>
		<image backcolor="255 255 255 32" size="2 100%-3 100%-2 100%-2"/>
		<image backcolor="255 255 255 32" size="2 3 3 100%-3"/>
	</sprite>

	<sprite name="glassSquareIcon">
		<image backcolor="255 255 255 128" size="0 0 100% 1"/>
		<image backcolor="255 255 255 44" size="100%-1 1 100% 100%"/>
		<image backcolor="255 255 255 44" size="0 100%-1 100% 100%"/>
		<image backcolor="255 255 255 128" size="0 1 1 100%-1"/>
		
		<image backcolor="255 255 255 96" size="1 1 100%-1 2"/>
		<image backcolor="255 255 255 32" size="100%-2 2 100%-1 100%-1"/>
		<image backcolor="255 255 255 32" size="1 100%-2 100%-1 100%-1"/>
		<image backcolor="255 255 255 96" size="1 2 2 100%-2"/>
		
		<image backcolor="255 255 255 64" size="2 2 100%-2 3"/>
		<image backcolor="255 255 255 16" size="100%-3 3 100%-2 100%-2"/>
		<image backcolor="255 255 255 16" size="2 100%-3 100%-2 100%-2"/>
		<image backcolor="255 255 255 64" size="2 3 3 100%-3"/>
	</sprite>

	<sprite name="statsBarShader">
		<image backcolor="0 0 0 192" size="0 0 100% 1"/>
		<image backcolor="0 0 0 192" size="100%-1 1 100% 100%-1"/>
		<image backcolor="0 0 0 192" size="0 100%-1 100% 100%"/>
		<image backcolor="0 0 0 192" size="0 1 1 100%-1"/>
		
		<image backcolor="0 0 0 128" size="0 1 100% 2"/>
		<image backcolor="0 0 0 128" size="100%-2 2 100%-1 100%-2"/>
		<image backcolor="0 0 0 128" size="0 100%-2 100% 100%-1"/>
		<image backcolor="0 0 0 128" size="1 2 2 100%-2"/>
		
		<image backcolor="0 0 0 64" size="0 2 100% 3"/>
		<image backcolor="0 0 0 64" size="100%-3 3 100%-2 100%-3"/>
		<image backcolor="0 0 0 64" size="0 100%-3 100% 100%-2"/>
		<image backcolor="0 0 0 64" size="2 3 3 100%-3"/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Colored Bars -->
	<!-- ================================  ================================ -->
	<sprite name="queueProgressSlider">
		<image backcolor="0 255 0 128"/>
	</sprite>

	<sprite name="healthBackground">
		<image backcolor="red"/>
	</sprite>

	<sprite name="healthForeground">
		<image backcolor="green"/>
	</sprite>

	<sprite name="resourceBackground">
		<image backcolor="darkgray"/>
	</sprite>

	<sprite name="resourceForeground">
		<image backcolor="255 165 0"/>
	</sprite>
	
	<sprite name="staminaBackground">
		<image backcolor="black"/>
	</sprite>

	<sprite name="staminaForeground">
		<image backcolor="blue"/>
	</sprite>
	
	<sprite name="experienceBackground">
		<image backcolor="darkgray"/>
	</sprite>

	<sprite name="experienceForeground">
		<image backcolor="white"/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Chat -->
	<!-- ================================  ================================ -->
	<sprite name="chatInput">
		<image backcolor="255 255 255 192" size="0 0 100% 1"/>
		<image backcolor="255 255 255 192" size="100%-1 1 100% 100%-1"/>
		<image backcolor="255 255 255 192" size="0 100%-1 100% 100%"/>
		<image backcolor="255 255 255 192" size="0 1 1 100%-1"/>
		
		<image backcolor="255 255 255 128" size="0 1 100% 2"/>
		<image backcolor="255 255 255 128" size="100%-2 2 100%-1 100%-2"/>
		<image backcolor="255 255 255 128" size="0 100%-2 100% 100%-1"/>
		<image backcolor="255 255 255 128" size="1 2 2 100%-2"/>
		
		<image backcolor="255 255 255 64" size="0 2 100% 3"/>
		<image backcolor="255 255 255 64" size="100%-3 3 100%-2 100%-3"/>
		<image backcolor="255 255 255 64" size="0 100%-3 100% 100%-2"/>
		<image backcolor="255 255 255 64" size="2 3 3 100%-3"/>
		
		<image backcolor="0 0 0 144" size="3 3 100%-3 100%-3"/>
	</sprite>
	
	<sprite name="chatInputHighlight">
		<image backcolor="255 165 0 192" size="-2 1 100% 100%+1"/>
	</sprite>

	<!-- ================================  ================================ -->
	<!-- Misc -->
	<!-- ================================  ================================ -->
	<sprite name="bandbox">
		<image backcolor="black" size="0 0 100% 1"/>
		<image backcolor="black" size="100%-1 0 100% 100%"/>
		<image backcolor="black" size="0 100%-1 100% 100%"/>
		<image backcolor="black" size="0 0 1 100%"/>
		<image backcolor="white" size="1 1 100%-1 2"/>
		<image backcolor="white" size="100%-2 1 100%-1 100%-1"/>
		<image backcolor="white" size="1 100%-2 100%-1 100%-1"/>
		<image backcolor="white" size="1 1 2 100%-1"/>
	</sprite>
	
	<sprite name="devCommandsBackground">
		<image backcolor="0 0 0 85"/>
	</sprite>

	<sprite name="netStatusBackground">
		<image backcolor="0 0 0 195"/>
	</sprite>

</sprites>
