<screen name="compare" title="Person Compare" subtitle="" version="1.0">

	<layout kind="arve" algn="top,extend" offs="0" />
	<layout kind="stks" algn="horizontal" laye="true" inse="0" />
	
	<comment>
		-- the colour definitions used for differences:
			cpob: Big positive difference
			cpon: Normal positive difference
			cneb: Big negative difference
			cnen: Normal negative difference
			csam: No difference
			coth: Text colour for 'other' attributes (non-standard, like avg rat)
			
		-- the positional indicators
			tpeq: text for positional equally rated
			tpd1..5: text for positional rated +/- 1..5
	</comment>
		
	<colour id="cpob" red="255" green="153" blue="255" /> 	<!-- light purple -->
	<colour id="cpon" red="255" green="102" blue="255" />	<!-- dark purple -->
	<colour id="cneb" red="255" green="255" blue="153" />	<!-- light yellow -->
	<colour id="cnen" red="255" green="255" blue="102" />	<!-- dark yellow -->
	<colour id="csam" red="200" green="200" blue="200" />	<!-- grey -->
	<colour id="coth" red="255" green="204" blue="0" />	<!-- orange -->

	<string id="tpeq" value="=" />
	<string id="tpd1" value="*" />
	<string id="tpd2" value="**" />
	<string id="tpd3" value="***" />
	<string id="tpd4" value="****" />
	<string id="tpd5" value="*****" />
	
	<comment> --- compare menu --- </comment>

	<widget kind="gbox" height="32" id="xxx" >
		
		<layout kind="arhz" algn="left" />

		<widget kind="pbtn" id="pccm" sele="pccm" text="" fixe="1" asize="horizontal" >
			<layout kind="stks" algn="top" />
		</widget>

	</widget>

	<comment> --- main box containing tables --- </comment>
	
	<widget kind="gbox">

			<layout kind="arhz" algn="fill" offs="0" gap="1" />
			<layout kind="fitc" algn="vertical" offs="0" />
			<layout kind="stks" algn="horizontal" inse="0" />

			<widget kind="tbox" title="Technical">
				<layout kind="stks" algn="vertical" inse="0" />
				<layout kind="stks" algn="all" laye="true" inse="0" />

				<widget kind="tabl" id="pcte" mode="stripe_rows,fill_rows" layout="-6,-1">
					<integer id="rowh" value="20" />
					<true id="tstr" />

					<list id="cdpr">
						<record indx="0">
							<integer id="left" value="4"/> 	<!-- indents text by 4 pixels -->
						</record>
					</list>
				</widget>
			</widget>

			<widget kind="tbox" title="Mental">
				<layout kind="stks" algn="vertical" inse="0" />
				<layout kind="stks" algn="all" laye="true" inse="0" />

				<widget kind="tabl" id="pcme" mode="stripe_rows,fill_rows" layout="-6,-1">
					<integer id="rowh" value="20" />
					<true id="tstr" />

					<list id="cdpr">
						<record indx="0">
							<integer id="left" value="4"/> 	<!-- indents text by 4 pixels -->
						</record>
					</list>
				</widget>
			</widget>

			<widget kind="tbox" title="Physical">
				<layout kind="stks" algn="top" inse="0" />
				<layout kind="fitc" algn="vertical,fill" offs="0" />
				<layout kind="stks" algn="all" laye="true" inse="0" />

				<widget kind="tabl" id="pcph" mode="stripe_rows,fill_rows" layout="-6,-1">
					<integer id="rowh" value="20" />
					<true id="tstr" />

					<list id="cdpr">
						<record indx="0">
							<integer id="left" value="4"/> 	<!-- indents text by 4 pixels -->
						</record>
					</list>
				</widget>
			</widget>

	</widget>

	<widget kind="tbox" title="Positions"  >

		<layout kind="arve" algn="top" gap="0" offs="0" />
		<layout kind="fitc" algn="vertical,fill" />
		<layout kind="stks" algn="horizontal" laye="1" inse="0" />

		<widget kind="tabl" id="pcpt" mode="fill_columns,stripe_rows" layout="-4,-2,-4,-2,-4,-2" asiz="vertical" >

			<true id="asrw" />

			<list id="clpr">
				<record indx="0">
					<colour id="colr" name="white"/>
					<flags id="algn" value="left" />
				</record>
				<record indx="1">
					<flags id="algn" value="centre" />
				</record>
				<record indx="2">
					<colour id="colr" name="white"/>
					<flags id="algn" value="left" />
				</record>
				<record indx="3">
					<flags id="algn" value="centre" />
				</record>
				<record indx="4">
					<colour id="colr" name="white"/>
					<flags id="algn" value="left" />
				</record>
				<record indx="5">
					<flags id="algn" value="centre" />
				</record>
			</list>

			<list id="cdpr">
				<record indx="1">
					<flags id="bsty" value="no_border"/>
					<colour id="bcol" name="blue"/>
					<real id="btrn" value="0.1"/>
				</record>
				<record indx="3">
					<flags id="bsty" value="no_border"/>
					<colour id="bcol" name="blue"/>
					<real id="btrn" value="0.1"/>
				</record>
				<record indx="5">
					<flags id="bsty" value="no_border"/>
					<colour id="bcol" name="blue"/>
					<real id="btrn" value="0.1"/>
				</record>
			</list>
		</widget>

	</widget>


	<widget kind="tbox" title="Legend" >

		<layout kind="arve" algn="middle" gap="0" offs="0" />
		<layout kind="stks" algn="horizontal" laye="1" inse="0" />

		<widget kind="tabl" id="pclt" mode="fill_rows,stripe_rows" layout="-1,-4,-1,-4" >

			<true id="asrw" />
			<true id="tstr" />

			<list id="cdpr">
				<record indx="0">
					<flags id="bsty" value="no_border"/>
					<colour id="bcol" name="blue"/>
					<real id="btrn" value="0.1"/>
				</record>
			</list>

			<widget kind="labl" col="0" row="0" text="Purple" algn="centre" />
			<widget kind="labl" col="1" row="0" text="Player 1 is better than Player 2" algn="left" />

			<widget kind="labl" col="0" row="1" text="Yellow" algn="centre" />
			<widget kind="labl" col="1" row="1" text="Player 2 is better than Player 1" algn="left" />

			<widget kind="labl" col="2" row="0" text="Grey" algn="centre" />
			<widget kind="labl" col="3" row="0" text="Player 1 and Player 2 are both the same" algn="left" />

			<widget kind="labl" col="2" row="1" text="-" algn="centre" />
			<widget kind="labl" col="3" row="1" text="Attribute is masked and requires further scouting" algn="left" />

		</widget>


	</widget>

</screen>
