<screen subtitle="Contract Offer" version="1.0">
	<!-- actions -->
	<list id="acts">
		<record text="Confirm Offer" id="set " actn="offr"/>
		<record text="Undo Changes" actn="revt" />
		<record text="Withdraw Offer" id="disc" actn="can?"/>
	</list>

	<!-- everything inside a scrolling box, in case screen gets too small -->
	<widget kind="sbox" id="cosb">
		<layout kind="stks" algn="all" inse="0"/>
		
		<widget kind="gbox" id="cogb">
			<!-- layout objects from top to bottom -->
			<layout kind="arve" algn="top"/>
			<layout kind="fitc" algn="vertical, fill"/>
			<layout kind="stks" algn="horizontal" laye="true"/>
			
			<!-- contract requirements -->
			<widget kind="tbox">
				<string id="titl" value="Contract Requirements"/>

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

				<widget kind="text" id="requ" asiz="vertical" spec="text"/>
			</widget>

			<!-- basic offer -->
			<widget kind="tbox">
				<string id="titl" value="Offer"/>

				<layout kind="arve" algn="top" gap="0"/>
				<layout kind="fitc" algn="vertical, fill" gap="0" offs="4"/>
				<layout kind="stks" algn="horizontal" laye="true" inse="0"/>
				
				<widget kind="gbox" id="sqsp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Squad Status"/>
					<widget kind="pbtn" id="sqsw" sele="stat"/>
				</widget>

				<widget kind="gbox" id="jobp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Job"/>
					<widget kind="pbtn" id="jobw" sele="jobc"/>
				</widget>

				<widget kind="gbox" id="wagp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Wage"/>
					<widget kind="cssl" id="wagw">
						<flags id="crst" value="8"/>
						<integer id="cmnv" value="0"/>
						<true id="uswg"/>
						<flags id="sele" value="cwwg"/>
					</widget>
				</widget>

				<widget kind="gbox" id="fltp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Contract Type"/>
					<widget kind="pbtn" id="fltw" sele="conc">
						<list id="itms">
							<record id="0"><string id="text" value="Part Time"/></record>
							<record id="1"><string id="text" value="Full Time"/></record>
						</list>
					</widget>
							
				</widget>

				<widget kind="gbox" id="tdtp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Transfer Date"/>
					<widget kind="pbtn" id="tdtw" sele="free"/>
				</widget>

				<widget kind="gbox" id="clnp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Contract Length"/>
					<widget kind="lrls" id="clnw" sele="lenc"/>
				</widget>

				<widget kind="gbox" id="sofp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Signing On Fee"/>
					<widget kind="cssl" id="sofw">
						<flags id="crst" value="4"/>
						<integer id="cmnv" value="0"/>
						<false id="uswg"/>
						<flags id="sele" value="csof"/>
					</widget>
				</widget>
			</widget>

			<!-- comments -->
			<widget kind="lbox" id="cmmp">
				<string id="titl" value="Comments"/>
				<true id="scst"/>
				
				<layout kind="arve" algn="top" offs="0"/>
				<layout kind="fitc" algn="vertical, fill" offs="4"/>
				<layout kind="stks" algn="horizontal" laye="true" inse="0"/>
				
				<record id="defp">
					<flags id="asiz" value="vertical"/>
					<flags id="spec" value="text"/>
				</record>
			</widget>
			
			<!-- bonuses -->
			<widget kind="lbox" id="bnbx">
				<string id="titl" value="Bonuses"/>
				<true id="cola"/>
				<true id="scst"/>

				<layout kind="arve" algn="top" offs="0" gap="0"/>
				<layout kind="fitc" algn="vertical, fill" gap="0" offs="4"/>
				<layout kind="stks" algn="horizontal" laye="true" inse="0"/>
				
				<widget kind="gbox" id="apfp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Appearance Fee"/>
					<widget kind="cssl" id="apfw">
						<flags id="crst" value="8"/>
						<integer id="cmnv" value="0"/>
						<flags id="sele" value="apbs"/>
					</widget>
				</widget>

				<widget kind="gbox" id="glbp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Goal Bonus"/>
					<widget kind="cssl" id="glbw">
						<flags id="crst" value="8"/>
						<integer id="cmnv" value="0"/>
						<flags id="sele" value="glbs"/>
					</widget>
				</widget>


				<widget kind="gbox" id="asbp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Assist Bonus"/>
					<widget kind="cssl" id="asbw">
						<flags id="crst" value="8"/>
						<integer id="cmnv" value="0"/>
						<flags id="sele" value="asbs"/>
					</widget>
				</widget>

				<widget kind="gbox" id="csbp">
					<layout kind="arhz" algn="fill"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
					
					<widget kind="labl" text="Clean Sheet Bonus"/>
					<widget kind="cssl" id="csbw">
						<flags id="crst" value="8"/>
						<integer id="cmnv" value="0"/>
						<flags id="sele" value="csbs"/>
					</widget>
				</widget>

			</widget>
			
			<!-- clauses -->
			<widget kind="lbox" id="clbx">
				<string id="titl" value="Clauses"/>
				<true id="cola"/>
				<true id="scst"/>
	
				<layout kind="arve" algn="top" offs="0"/>
				<layout kind="fitc" algn="vertical, fill" offs="4"/>
				<layout kind="stks" algn="horizontal" laye="true" inse="0"/>
				
				<widget kind="tabl" id="clsp">
					<flags id="mode" value="select_rows, select_multiple, show_bullets"/>
					<true id="asrw"/>
					<true id="tstr"/>
					<flags id="layo" value="-1, -1"/>
					<flags id="sele" value="updc"/>
				</widget>
				
				<widget kind="gbox">
					<layout kind="arhz" algn="right" offs="0"/>
					<layout kind="fitc" algn="vertical" offs="0"/>
					<layout kind="stks" algn="top" inse="0" laye="true"/>
				
					<widget kind="abtn" id="rmcw" asiz="horizontal" clke="remc">
						<string id="text" value="Remove"/>
					</widget>

					<widget kind="pbtn" id="adcw" asiz="horizontal" fixe="true" sele="addc">
						<string id="text" value="Add"/>
					</widget>
					
				</widget>
			</widget>

		</widget>
	</widget>	
</screen>
