<?xml version="1.0" encoding="ISO-8859-1" ?>
<dialog name="tactics" x="1" y="4" w="32" d="25" >
	<title value="480"  />
	<!background name="tactics"  />
	<commentary value="24" />
	
	<gadgets>
	
	<radio name="ID_MENU" x="2" y="-1" w="20" d="1" options="481" background="submenu" variablewidth="true"  default="2"/>
	
	<group x="0" y="0" w="20" d="16" >
		<pitch drag="true" drop="true" w="20" d="16" name="ID_PITCH"  />		
		
		<button name="ID_SUGGEST" x="1" y="14" w="6" value="497" comment="suggest" />
		<button visible="false" name="ID_UNDO" x="15" y="14" w="4" value="498" comment="revert" />
		
		<image image="gfx/tactics/pitch.jpg" alpha="gfx/tactics/pitch.bmp" />
		
	</group>

	<group id="1" x="21" y="0" w="11" d="10" varid="1" comment="player info" >
	
		<text x="1" y="0" w="6" format="player_name" var="@p.name" />

		<text x="1" y="7" w="5" combine="499" format="percent" var="@p.energy" />
		<text x="1" y="8" w="5" combine="484" format="percent" var="@p.fitness" />
		<text x="6" y="8" w="5" combine="485" format="percent" var="@p.ability" />
		
		<text name="ID_PLAYER_POS" x="7" y="5" w="3" d="1" format="position" var="@p.position[0]" align="center" />
		<button name="ID_INFO" x="7" y="6" w="3" value="479" comment="info" />
		<text x="2" y="9" w="2" format="position" var="@p.position[1]" align="center" />
		<text x="4" y="9" w="2" format="position" var="@p.position[2]" align="center" />
		<text x="6" y="9" w="2" format="position" var="@p.position[3]" align="center" />
		<!text x="8" y="9" w="2" format="position" var="@p.position[4]" align="center" />
		
		<list name="ID_ATTR_NORMAL" x="1" y="1" w="5" options="478" singleselect="true" comment="normal" align="left" />
		<list name="ID_PLAYER_ATTR1" x="1" y="2" w="5" d="3" options="482" singleselect="true" align="left" />
		<list name="ID_PLAYER_ATTR2" x="1" y="5" w="5" d="2" options="483" multiselect="true" align="left"/>

		<imagelist enabled="false" list="tacticstatus" x="9" y="4" w="1" d="1" var="@p.matchstatus" />
		<image x="7" y="1" var="@p.photo_small" stamp="photo_60x80"/>
	
		<box name="ID_PLAYER_INFO" />
	</group>
	
	<group id="2" x="0" y="17" w="8" d="8"  comment="team instructions" >
		<text x="1" y="0" w="6" value="488" />
		<list name="ID_TEAM_ATTR1" x="1" y="1" w="6" d="6" options="489" singleselect="true" align="left" />
		<box/>
	</group>
	
	
	<group id="3" x="9" y="17" w="11" d="8" comment="subs" >

		<grid name="ID_SUBS" x="1" y="0" w="8" d="7" header="490" >
			<data source="qrySquadSubs" sort="256" />
			<columns>	
				<column w="4" drag="true" drop="true" format="string" var="@p.surname" background="team" header="1"/>
				<column w="2" format="position" var="@p.position[0]" header="2"/>
				<column w="2" format="percent" var="@p.ability" header="3"/>
			</columns>
		</grid>		
	
		<box/>
	</group>
	<group visible="false" id="4" x="21" y="11" w="11" d="14" comment="formations" >
		<text x="1" y="0" w="8" value="486" />
		<list name="ID_FORMATIONS" x="1" y="1" w="8" d="12"  />
	</group>

	<group visible="true" id="5" x="21" y="11" w="11" d="14" comment="squad" >
		<grid name="ID_SQUAD" x="0" y="0" w="9" d="13" header="491" >
			<data source="qrySquadRest" sort="256" />
			<columns>	
				<column w="1" imagelist="playerstatus" var="@p.status" format="none" background="info" />
				<column w="4" drop="true" drag="true" format="string" var="@p.surname" background="team" header="1"/>
				<column w="2" format="position" var="@p.position[0]" header="2"/>
				<column w="2" format="percent" var="@p.ability" header="3"/>
			</columns>
		</grid>		
	</group>

	<group visible="false" id="6" x="21" y="11" w="11" d="14" comment="extra tactics" >
		
		<text x="1" y="1" w="8" value="492" /><button name="ID_CAP" drop="true" x="1" y="2" w="8" format="player_name_surname" background="team"/>
		<text x="1" y="4" w="8" value="493" /><button name="ID_PEN" drop="true" x="1" y="5" w="8" format="player_name_surname" background="team"/>
		<text x="1" y="6" w="8" value="494" /><button name="ID_LC" drop="true" x="1" y="7" w="8" format="player_name_surname" background="team" />
		<text x="1" y="8" w="8" value="495" /><button name="ID_RC" drop="true" x="1" y="9" w="8" format="player_name_surname" background="team" />
		<text x="1" y="10" w="8" value="496" /><button name="ID_DFK" drop="true" x="1" y="11" w="8" format="player_name_surname" background="team" />

	</group>

	<box x="21" y="11" w="11" d="14" comment="formations/squad/players" />

	<button name="ID_RESUME" background="ProceedButton" format="list" x="33" y="23" w="6" d="2" value="487" />
				
	</gadgets>
	
</dialog>
