<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="GameDialogControllers">
		<control type="group">
			<centertop>50%</centertop>
			<centerleft>50%</centerleft>
			<width>1820</width>
			<height>870</height>
			<include content="DialogBackgroundCommons">
				<param name="width" value="1820" />
				<param name="height" value="870" />
				<param name="header_label" value="$LOCALIZE[35058]" />
				<param name="header_id" value="2" />
			</include>
			<control type="group">
				<description>Controller list</description>
				<top>90</top>
				<left>30</left>
				<width>410</width>
				<height>580</height>
				<control type="label">
					<description>Controller profiles grouplist heading</description>
					<height>25</height>
					<right>20</right>
					<font>font12</font>
					<label>$LOCALIZE[35050]</label>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>button_focus</textcolor>
				</control>
				<control type="image">
					<description>Controller profiles grouplist background</description>
					<top>20</top>
					<bottom>-20</bottom>
					<left>-20</left>
					<right>0</right>
					<texture border="40">buttons/dialogbutton-nofo.png</texture>
				</control>
				<control type="grouplist" id="3">
					<description>Controller profiles grouplist</description>
					<top>40</top>
					<right>20</right>
					<onleft>9001</onleft>
					<onright>5</onright>
					<onup>3</onup>
					<ondown>3</ondown>
					<pagecontrol>62</pagecontrol>
				</control>
				<control type="scrollbar" id="62">
					<top>40</top>
					<right>0</right>
					<width>12</width>
					<orientation>vertical</orientation>
				</control>
				<control type="button" id="10">
					<description>Default controller button</description>
					<width>390</width>
					<height>60</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>font25_title</font>
					<texturefocus colordiffuse="button_focus">lists/focus.png</texturefocus>
					<texturenofocus />
				</control>
			</control>
			<control type="gamecontroller" id="31">
				<top>130</top>
				<left>470</left>
				<width>540</width>
				<height>540</height>
			</control>
			<control type="group">
				<description>Feature list</description>
				<top>90</top>
				<left>1040</left>
				<width>410</width>
				<height>580</height>
				<control type="label">
					<description>Feature list heading</description>
					<height>25</height>
					<font>font12</font>
					<label>$LOCALIZE[35059]</label>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>button_focus</textcolor>
				</control>
				<control type="image">
					<top>20</top>
					<bottom>-20</bottom>
					<left>-20</left>
					<right>0</right>
					<texture border="40">buttons/dialogbutton-nofo.png</texture>
				</control>
				<control type="grouplist" id="5">
					<description>Features grouplist</description>
					<top>40</top>
					<right>20</right>
					<onleft>3</onleft>
					<onright>9001</onright>
					<onup>5</onup>
					<ondown>5</ondown>
					<pagecontrol>61</pagecontrol>
				</control>
				<control type="scrollbar" id="61">
					<right>0</right>
					<top>40</top>
					<width>12</width>
					<orientation>vertical</orientation>
				</control>
				<control type="button" id="7">
					<description>Default feature button</description>
					<width>390</width>
					<height>60</height>
					<left>20</left>
					<right>20</right>
					<align>center</align>
					<aligny>center</aligny>
					<font>font27</font>
					<texturefocus colordiffuse="button_focus">lists/focus.png</texturefocus>
					<texturenofocus />
				</control>
				<control type="label" id="8">
					<description>Feature group title</description>
					<width>390</width>
					<height>40</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>font20_title</font>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="image" id="9">
					<description>Feature separator image</description>
					<height>3</height>
					<texture colordiffuse="AAAAAAAA" border="3">dialogs/separator-grey.png</texture>
				</control>
			</control>
			<control type="grouplist" id="9001">
				<top>110</top>
				<right>20</right>
				<width>340</width>
				<onleft>5</onleft>
				<onright>3</onright>
				<itemgap>dialogbuttons_itemgap</itemgap>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="18" />
					<param name="label" value="$LOCALIZE[186]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="19" />
					<param name="label" value="$LOCALIZE[13007]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="20" />
					<param name="label" value="$LOCALIZE[21452]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="22" />
					<param name="label" value="$LOCALIZE[35021]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="17" />
					<param name="label" value="$LOCALIZE[10043]" />
				</include>
				<include content="DefaultDialogButton">
					<param name="width" value="350" />
					<param name="id" value="21" />
					<param name="label" value="$LOCALIZE[35019]" />
				</include>
			</control>
			<control type="group">
				<description>Bottom controller description</description>
				<bottom>30</bottom>
				<left>30</left>
				<right>30</right>
				<height>140</height>
				<control type="image">
					<description>Controller description background image</description>
					<top>-20</top>
					<bottom>-20</bottom>
					<left>-20</left>
					<right>-20</right>
					<texture border="40">buttons/dialogbutton-nofo.png</texture>
				</control>
				<control type="textbox" id="32">
					<top>5</top>
					<bottom>5</bottom>
					<left>10</left>
					<right>10</right>
					<description>Controller description</description>
					<textcolor>grey</textcolor>
				</control>
			</control>
		</control>
	</include>
	<include name="GameDialogPorts">
		<control type="group">
			<centertop>50%</centertop>
			<centerleft>50%</centerleft>
			<width>1820</width>
			<height>830</height>
			<include content="DialogBackgroundCommons">
				<param name="width" value="1820" />
				<param name="height" value="830" />
				<param name="header_label" value="" />
				<param name="header_id" value="2" />
			</include>
			<control type="group">
				<description>Content area</description>
				<top>100</top>
				<bottom>30</bottom>
				<left>30</left>
				<right>30</right>
				<control type="group">
					<description>Port list</description>
					<width>1430</width>
					<height>700</height>
					<control type="image">
						<description>Port list background</description>
						<top>-20</top>
						<bottom>-20</bottom>
						<left>-20</left>
						<right>-20</right>
						<texture border="40">buttons/dialogbutton-nofo.png</texture>
					</control>
					<control type="list" id="3">
						<description>Port item list</description>
						<onright>9001</onright>
						<onup>3</onup>
						<ondown>3</ondown>
						<pagecontrol>62</pagecontrol>
						<scrolltime tween="sine">200</scrolltime>
						<orientation>vertical</orientation>
						<itemlayout width="1440" height="100">
							<control type="group">
								<control type="label">
									<top>20</top>
									<left>20</left>
									<label>$INFO[ListItem.Label]</label>
									<font>font37</font>
									<shadowcolor>text_shadow</shadowcolor>
									<align>left</align>
								</control>
								<control type="label">
									<top>20</top>
									<right>132</right>
									<label>$INFO[ListItem.Label2]</label>
									<font>font37</font>
									<shadowcolor>text_shadow</shadowcolor>
									<align>right</align>
								</control>
								<control type="gamecontroller">
									<right>12</right>
									<width>100</width>
									<texture>$INFO[ListItem.Icon]</texture>
									<portaddress>$INFO[ListItem.FilenameAndPath]</portaddress>
									<controllerdiffuse>button_focus</controllerdiffuse>
								</control>
							</control>
						</itemlayout>
						<focusedlayout width="1440" height="100">
							<control type="group">
								<control type="image">
									<top>-20</top>
									<bottom>-20</bottom>
									<left>-20</left>
									<right>-20</right>
									<texture border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texture>
									<visible>Control.HasFocus(3)</visible>
								</control>
								<control type="label">
									<top>20</top>
									<left>20</left>
									<label>$INFO[ListItem.Label]</label>
									<font>font37</font>
									<shadowcolor>text_shadow</shadowcolor>
									<align>left</align>
								</control>
								<control type="label">
									<top>20</top>
									<right>132</right>
									<label>$INFO[ListItem.Label2]</label>
									<font>font37</font>
									<shadowcolor>text_shadow</shadowcolor>
									<align>right</align>
								</control>
								<control type="gamecontroller">
									<right>12</right>
									<width>100</width>
									<texture>$INFO[ListItem.Icon]</texture>
									<portaddress>$INFO[ListItem.FilenameAndPath]</portaddress>
									<controllerdiffuse>button_focus</controllerdiffuse>
								</control>
							</control>
						</focusedlayout>
					</control>
				</control>
				<control type="scrollbar" id="62">
					<left>1430</left>
					<width>12</width>
					<orientation>vertical</orientation>
				</control>
				<control type="grouplist" id="9001">
					<top>-20</top>
					<right>-20</right>
					<width>330</width>
					<onleft>3</onleft>
					<itemgap>dialogbuttons_itemgap</itemgap>
					<include content="DefaultDialogButton">
						<param name="width" value="330" />
						<param name="id" value="18" />
						<param name="label" value="$LOCALIZE[186]" />
					</include>
					<include content="DefaultDialogButton">
						<param name="width" value="330" />
						<param name="id" value="19" />
						<param name="label" value="$LOCALIZE[13007]" />
					</include>
				</control>
			</control>
		</control>
	</include>
	<include name="GameDialogAgents">
		<control type="group">
			<centertop>50%</centertop>
			<centerleft>50%</centerleft>
			<width>1820</width>
			<height>962</height>
			<include content="DialogBackgroundCommons">
				<param name="width" value="1820" />
				<param name="height" value="962" />
				<param name="header_label" value="$LOCALIZE[35172]" />
				<param name="header_id" value="2" />
			</include>
			<control type="group">
				<description>Content area</description>
				<top>110</top>
				<bottom>40</bottom>
				<left>40</left>
				<right>40</right>
				<control type="group">
					<description>Area of the dialog for ports</description>
					<height>96</height>
					<control type="button" id="3">
						<description>Ports button</description>
						<top>-20</top>
						<bottom>-20</bottom>
						<left>-20</left>
						<right>-20</right>
						<ondown>5</ondown>
						<label>$LOCALIZE[35110]</label>
						<font>font37</font>
						<textoffsetx>36</textoffsetx>
						<align>left</align>
						<aligny>center</aligny>
						<texturefocus border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texturefocus>
						<texturenofocus border="40">buttons/dialogbutton-nofo.png</texturenofocus>
						<onclick>ActivateWindow(GamePorts)</onclick>
					</control>
					<control type="gamecontrollerlist" id="4">
						<description>Active port list. Length should fit 13 listitems (12 controllers and one "controller disconnected" indicator).</description>
						<right>0</right>
						<width>1248</width>
						<orientation>horizontal</orientation>
						<align>right</align>
						<enable>false</enable>
						<itemlayout width="96" height="96">
							<control type="gamecontroller">
								<texture>$INFO[ListItem.Icon]</texture>
								<controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
								<controlleraddress>$INFO[ListItem.FilenameAndPath]</controlleraddress>
								<controllerdiffuse>button_focus</controllerdiffuse>
							</control>
						</itemlayout>
						<focusedlayout width="96" height="96">
							<control type="gamecontroller">
								<texture>$INFO[ListItem.Icon]</texture>
								<controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
								<controlleraddress>$INFO[ListItem.FilenameAndPath]</controlleraddress>
								<controllerdiffuse>button_focus</controllerdiffuse>
							</control>
						</focusedlayout>
						<!--
							Note to skinners: this control can be populated
							with static content for testing.
						<content>
							<item>
								<icon>DefaultAddonNone.png</icon>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
							<item>
								<property name="game.controllerid">game.controller.snes</property>
							</item>
						</content>
						-->
					</control>
				</control>
				<control type="group">
					<description>Area of the dialog for players</description>
					<top>136</top>
					<height>576</height>
					<control type="image">
						<description>Player list background</description>
						<top>-20</top>
						<bottom>-20</bottom>
						<left>-20</left>
						<right>-20</right>
						<texture border="40">buttons/dialogbutton-nofo.png</texture>
					</control>
					<control type="list" id="5">
						<description>Player list</description>
						<onup>3</onup>
						<ondown>6</ondown>
						<pagecontrol>61</pagecontrol>
						<scrolltime tween="sine">200</scrolltime>
						<orientation>vertical</orientation>
						<itemlayout width="1740" height="96">
							<include>GameDialogAgentLayout</include>
						</itemlayout>
						<focusedlayout width="1740" height="96">
							<control type="image">
								<top>-20</top>
								<bottom>-20</bottom>
								<left>-20</left>
								<right>-20</right>
								<texture border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texture>
								<visible>Control.HasFocus(5)</visible>
							</control>
							<include>GameDialogAgentLayout</include>
						</focusedlayout>
						<!--
							Note to skinners: this control can be populated
							with static content for testing.
						<content>
							<item>
								<label>Player 1</label>
							</item>
							<item>
								<label>Player 2</label>
							</item>
							<item>
								<label>Player 3</label>
							</item>
							<item>
								<label>Player 4</label>
							</item>
							<item>
								<label>Player 5</label>
							</item>
							<item>
								<label>Player 6</label>
							</item>
							<item>
								<label>Player 7</label>
							</item>
							<item>
								<label>Player 8</label>
							</item>
							<item>
								<label>Player 9</label>
							</item>
							<item>
								<label>Player 10</label>
							</item>
							<item>
								<label>Player 11</label>
							</item>
							<item>
								<label>Player 12</label>
							</item>
						</content>
						-->
					</control>
				</control>
				<control type="scrollbar" id="61">
					<description>Agent list scroll bar</description>
					<top>136</top>
					<height>576</height>
					<right>-12</right>
					<width>12</width>
					<orientation>vertical</orientation>
				</control>
				<control type="grouplist" id="6">
					<description>Action buttons</description>
					<left>-20</left>
					<right>-20</right>
					<bottom>-20</bottom>
					<height>100</height>
					<onup>5</onup>
					<orientation>horizontal</orientation>
					<itemgap>dialogbuttons_itemgap</itemgap>
					<include content="DefaultDialogButton">
						<param name="width" value="330" />
						<param name="id" value="18" />
						<param name="label" value="$LOCALIZE[186]" />
					</include>
				</control>
			</control>
		</control>
	</include>
	<include name="GameDialogAgentLayout">
		<control type="label">
			<description>Player name</description>
			<top>20</top>
			<left>20</left>
			<label>$INFO[ListItem.Label]</label>
			<font>font37</font>
			<shadowcolor>text_shadow</shadowcolor>
			<align>left</align>
		</control>
		<control type="gamecontrollerlist">
			<description>Player's game controller list. Length should fit 13 listitems (12 players and one "input disabled" indicator).</description>
			<right>0</right>
			<width>1248</width>
			<orientation>horizontal</orientation>
			<align>right</align>
			<enable>false</enable>
			<itemlayout width="96" height="96">
				<control type="gamecontroller">
					<texture>$INFO[ListItem.Icon]</texture>
					<controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
					<peripherallocation>$INFO[ListItem.FilenameAndPath]</peripherallocation>
					<controllerdiffuse>button_focus</controllerdiffuse>
				</control>
			</itemlayout>
			<focusedlayout width="96" height="96">
				<control type="gamecontroller">
					<texture>$INFO[ListItem.Icon]</texture>
					<controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
					<peripherallocation>$INFO[ListItem.FilenameAndPath]</peripherallocation>
					<controllerdiffuse>button_focus</controllerdiffuse>
				</control>
			</focusedlayout>
			<!--
				Note to skinners: this control can be populated
				with static content for testing.
			<content>
				<item>
					<icon>DefaultAddonNone.png</icon>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
				<item>
					<property name="game.controllerid">game.controller.default</property>
				</item>
			</content>
			-->
		</control>
	</include>
</includes>
