<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE container SYSTEM "http://www.sigames.com/dtds/container.dtd">

<container title="Menu Bar">
	<integer id="widt" value="90" />
	
	<!-- picture -->
	<widget kind="pict" id="pict" file="panels/menubar">
	
		<!-- picture should fill its parent -->
		<layout kind="stks" algn="left,vertical" inse="0" />
		<true id="cach" />
		<flags id="asiz" value="horizontal" />
	</widget>
	
	<!-- big box, game status buttons at bottom, normal button area stretching from top -->
	<widget kind="gbox" file="menubar">
		<layout kind="arve" algn="bottom,extend" />
		<layout kind="stks" algn="horizontal" laye="true"/>
		<layout kind="stks" algn="left" inse="0" />
		<layout kind="stks" algn="all" inse="0" />
		
		<colour red="0" green="0" blue="64" />
		
		<!-- top box containing buttons going down -->
		<widget kind="gbox">
			<layout kind="arve" algn="top,extend" />
			<layout kind="stks" algn="horizontal" laye="true" inse="0" />
			
			<!-- Date -->
			<widget kind="gamd" id="gamd" height="64"/>

			<!-- Match Time -->
			<widget kind="mttm" id="mttm" height="64">
				<flags id="hidn" value="1" />
			</widget>

			<!-- Next/Prev Buttons -->
			<widget kind="gbox">
				
				<layout kind="arhz" algn="fill" gap="1" offs="0" />
				<layout kind="stks" algn="top" inse="0" laye="true" />
				<layout kind="stks" algn="left" inse="8" />
				<layout kind="fitc" algn="vertical" offs="0" />
				

				<!--
				<layout kind="arhz" algn="fill" inse="0" gap="4" />
				<layout kind="stks" algn="vertical" laye="1" inse="0" />
				<layout kind="stks" algn="horizontal" inse="0" />
				-->

				<widget kind="meno" id="prev">
					<flags id="aprn" value="icons/prev" />
					<string id="hint" value="go to previous screen" />
					<event id="clke">
						<integer id="evid" value="goto" />
						<integer id="scin" value="-3" />
						<integer id="evtg" value="scrn" />
					</event>
				</widget>
				<widget kind="meno" id="next">
					<flags id="aprn" value="icons/next" />
					<string id="hint" value="go to next screen" />
					<event id="clke">
						<integer id="evid" value="goto" />
						<integer id="scin" value="-2" />
						<integer id="evtg" value="scrn" />
					</event>
				</widget>
			</widget>

			<!-- Continue Button -->
			<widget kind="meno" id="cont">
				<string id="file" value="continue" />
				<string id="hint" value="continue game" />
				<flags id="algn" value="centre" />
				<colour id="colr" name="selection"/>
				<event id="clke">
					<integer id="evid" value="actn" />
					<integer id="actn" value="CONT" />
					<integer id="evtg" value="scrn" />
				</event>
			</widget>

			<!-- Match Play/Pause Button -->
			<widget kind="meno" id="mtpl">
				<true id="hidn" />
				<string id="file" value="continue" />
				<flags id="algn" value="centre" />
				<colour id="colr" name="selection"/>
				<event id="clke">
					<integer id="evid" value="actn" />
					<integer id="actn" value="CONT" />
					<integer id="evtg" value="scrn" />
				</event>
			</widget>
			
			<!-- main buttons -->
			<widget id="btns" kind="gbox">
				<!-- arrange buttons vertically -->
				<layout kind="arve" algn="top" gap="2" />
				<layout kind="stks" algn="horizontal" laye="1" inse="0" />

				<!-- no box to contain option tabs in this variant! -->
				<!-- Manager Options Popup -->
				<widget kind="mnp3" id="mang" text="Manager" mode="3">
					<colour id="colr" name="white" />
					<flags id="algn" value="centre" />
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event - the action parameter will get filled in by the menu items" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
					</record>
					<true id="fixe" />
				</widget>

				<!-- Change Player Popup -->
				<widget kind="mnp3" id="chpl" text="Change Player" mode="3">
					<colour id="colr" name="selection"/>
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event - the action parameter will get filled in by the menu items" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
					</record>
					<true id="fixe" />
					<true id="hidn" />
				</widget>

				<!-- Competitions Popup -->
				<widget kind="mnp3" id="cmps" text="Leagues &amp; Cups" mode="3">
					<colour id="colr" name="white" />
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
						<flags id="actn" value="LINK" comment="link action - comp id will be filled in by the menu item" />
					</record>
					<true id="fixe" />
				</widget>

				<!-- Nations Popup -->
				<widget kind="mnp3" id="clbs" text="Nations &amp; Clubs" mode="3">
					<colour id="colr" name="white" />
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
						<flags id="actn" value="NACL" comment="nations and clubs action" />
					</record>
					<true id="fixe" />
				</widget>

				<!-- Recent Items popup -->
				<widget kind="reci" id="rcit" text="Screen History" mode="3">
					<flags id="algn" value="centre" />
					<colour id="colr" name="white" />
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event - the action parameter will get filled in by the menu items" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
					</record>
					<true id="fixe" />
					<list id="itms">
						<record name="People" id="0">
							<list id="itms">
							</list>
						</record>
						<record name="Teams" id="1">
							<list id="itms">
							</list>
						</record>
					</list>
				</widget>

				<!-- Game Options Popup -->
				<widget kind="mnp3" id="gmop" text="Game Options" mode="3">
					<flags id="algn" value="centre" />
					<colour id="colr" name="selection" />
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event - the action parameter will get filled in by the menu items" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
					</record>
					<true id="fixe" />
					<list id="itms">
						<record id="gadm">
							<string id="name" value="Add Manager" />
							<flags id="actn" value="ADDM" />
						</record>
						<record id="----" />
						<record id="gsll">
							<string id="name" value="Quick Search" />
							<flags id="actn" value="DBSR" />
						</record>
							<record id="----" />
						<record>
							<string id="name" value="Game Settings" />
							<flags id="actn" value="PREF" />
						</record>
						<record id="----" />
						<record id="gcha">
							<string id="name" value="Manager Chat"/>
							<flags id="actn" value="CHAT"/>
						</record>
						<record id="----" />
						<record id="gsta">
							<string id="name" value="Game Status" />
							<flags id="actn" value="STAT" />
						</record>
						<record>
							<string id="name" value="Hall of Fame" />
							<flags id="actn" value="FAME" />
						</record>

						<record>
							<string id="name" value="Game Credits" />
							<flags id="actn" value="CRED" />
						</record>

						<record>
							<string id="name" value="Research Credits" />
							<flags id="actn" value="RSCH" />
						</record>

						<record>
							<string id="name" value="Community Info" />
							<flags id="actn" value="INFO" />
						</record>
						<record id="----" />
						<record id="gnew">
							<string id="name" value="New Game" />
							<flags id="actn" value="NEW " />
						</record>
						<record id="gopn">
							<string id="name" value="Load Game" />
							<flags id="actn" value="OPN?" />
						</record>
						<record id="gsvg">
							<string id="name" value="Save" />
							<flags id="actn" value="SAVE" />
						</record>
						<record id="gsva">
							<string id="name" value="Save As" />
							<flags id="actn" value="SAVA" />
						</record>
						<record>
							<string id="name" value="Quit Game" />
							<flags id="actn" value="QUIT" />
						</record>
					</list>
				</widget>

				<!-- Help Button -->
				<comment>
				<widget kind="meno" id="help" text="Help">
					<flags id="algn" value="centre" />
					<colour id="colr" name="white" />
					<event id="clke">
						<integer id="evid" value="actn" />
						<integer id="actn" value="hlpa" />
						<integer id="evtg" value="scrn" />
					</event>
				</widget>
				</comment>

				<!-- Debug Popup -->
				<widget kind="mnp3" id="dbgm" text="Debug" mode="3">
					<colour id="colr" red="200" green="200" blue="200"/>
					<record id="sele">
						<flags id="evid" value="actn" comment="this gives us an action event - the action parameter will get filled in by the menu items" />
						<flags id="evtg" value="scrn" comment="target the event on the screen" />
					</record>
					<true id="fixe" />
					<true id="hidn" />
					<list id="itms">
						<record name="SIOS" id="sidb">
							<list id="itms">
								<record name="Show Widgets" togt="Hide Widgets" actn="Dshw" />
								<record name="Show Drawing" togt="Hide Drawing" actn="Ddrw" />
								<record name="Show Blitting" togt="Hide Blitting" actn="Dblt" />
								<record name="Setup Root" actn="Droo" />
								<record name="Setup Screen" actn="Dset" />
								<record name="Layout Screen" actn="Dlay" />
								<record name="Redraw Screen" actn="Dred" />
								<record name="Reset to 1024 x 768" width="1024" height="768" actn="Rwin" />
								<record name="Report Memory" actn="Drpm" />
								<record name="Enable XML Reloading" actn="Drlx" />
							</list>
						</record>
						<record name="Output Comp Stats">
							<list id="itms">
								<record name="Do It" actn="ODCS" />
							</list>
						</record>
						<record name="Shortlist">
							<list id="itms">
								<record name="All Players" actn="DALL" />
								<record name="Player" actn="DPLY" />
								<record name="Club" actn="DCLB" />
							</list>
						</record>
						<record name="Screens">
							<list id="itms">
								<record name="Show Translation Line Numbers" togt="Hide Translation Line Numbers" actn="DTLN" />
								<record name="Manager Test Screen" evid="goto" scid="33" />
								<record name="History Of Football" actn="hofs" />
								<record name="Help" actn="hlps" />
							</list>
						</record>
						<record name="Media">
							<list id="itms">
								<record name="Any Club">
									<list id="itms">
										<record name="Generate Random Bigname News" actn="DBIG" />
										<record name="Generate Random LongServing News" actn="DLON" />
										<record name="Generate Random Form News" actn="DFOR" />
										<record name="Generate Random Transfer News" actn="DTRA" />
										<record name="Generate Random Morale News" actn="DMOR" />
										<record name="Generate Random Removal Of Morale News" actn="DREM" />
										<record name="Generate Random Match Summary News" actn="DMAT" />
										<record name="Generate Random RPS News" actn="DRPS" />
									</list>
								</record>
								<record name="Own Club">
									<list id="itms">
										<record name="Generate Random Bigname News" actn="DBIG" usec="true" />
										<record name="Generate Random LongServing News" actn="DLON" usec="true" />
										<record name="Generate Random Form News" actn="DFOR" usec="true" />
										<record name="Generate Random Transfer News" actn="DTRA" usec="true" />
										<record name="Generate Random Morale News" actn="DMOR" usec="true" />
										<record name="Generate Random Removal Of Morale News" actn="DREM" usec="true" />
										<record name="Generate Random Match Summary News" actn="DMAT" usec="true" />
										<record name="Generate Random RPS News" actn="DRPS" usec="true" />
									</list>
								</record>
							</list>
						</record>
						<record name="Morale">
							<list id="itms">
								<record name="Advance Warning For Season Ended Promises" actn="WSEP" />
								<record name="Advance Warning For End of Season Promises" actn="WESP" />
								<record name="Evaluate Season Ended Promises" actn="ESEP" />
								<record name="Evaluate End of Season Promises" actn="EESP" />
							</list>
						</record>
						<record name="Training">
							<list id="itms">
								<record name="Advance 1 week" actn="DTAW" />
							</list>
						</record>
					</list>
				</widget>
			</widget>
		</widget>

		<!-- unread news button -->
		<widget kind="urnp" id="urnp">
			<flags id="spec" value="control,small"/>
			<flags id="algn" value="centre" />
			<colour id="colr" name="red" />
			<flags id="clke" value="NEWS"/>
		</widget>

		<!-- players waiting label -->
		<widget kind="meno" id="hmwt">
			<flags id="algn" value="centre" />
			<flags id="spec" value="control,small"/>
			<colour id="colr" name="selection" />
			<event id="clke">
				<integer id="evid" value="actn" />
				<integer id="actn" value="STAT" />
				<integer id="evtg" value="scrn" />
			</event>
		</widget>
		
		<!-- Version String -->
		<widget kind="labl" text="version" id="vers" spec="control,small" algn="centre">
			<colour name="selection" />
		</widget>

		<!-- SPACER -->
		<widget kind="gbox" height="1"/>

	</widget>
</container>
