<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">5</defaultcontrol>
    <menucontrol>9000</menucontrol>

    <controls>
        <control type="group">
            <posy>PosYForFullWindowDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForFullWindowDialog" />
                <param name="headerlabel" value="Game Controller Settings" />
                <param name="icontexture" value="icons/icon-gamepad.png" />
            </include>

            <control type="gamecontroller" id="31">
                <posx>600</posx>
                <posy>220</posy>
                <width>700</width>
                <height>500</height>
            </control>

            <control type="grouplist" id="5">
                <posx>1400</posx>
                <posy>80</posy>
                <width>400</width>
                <height>780</height>
                <pagecontrol>6</pagecontrol>
                <onleft>9000</onleft>
                <onright>6</onright>
            </control>
            
            <control type="button" id="7">
                <width>400</width>
                <align>left</align>
            </control>

            <control type="label" id="8">
                <width>400</width>
                <textcolor>$VAR[SelectColor]</textcolor>
            </control>            
            
            <control type="image" id="9">
                <height>20</height>
            </control>

            <include content="ScrollbarForDialog">
                <param name="id" value="6" />
                <param name="posy" value="80" />
                <param name="height" value="780" />
                <param name="onleft" value="5" />
            </include>
            
            <control type="grouplist" id="3">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="320" />
                    <param name="height" value="240" />
                </include>
                <onup>18</onup>
                <ondown>17</ondown>
                <onright>5</onright>
            </control>

            <control type="button" id="10">
                <width>480</width>
                <align>center</align>
            </control>

            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="600" />
                    <param name="height" value="280" />
                </include>
                <onup>3</onup>
                <ondown>3</ondown>
                <onright>5</onright>

                <include content="ButtonForDialog">
                    <param name="id" value="17" />
                    <param name="label" value="$LOCALIZE[10043]" />
                </include>
                <include content="ButtonForDialog">
                    <param name="id" value="21" />
                    <param name="label" value="$LOCALIZE[31274]" />
                </include>
                <include content="ResetButtonForDialog">
                    <param name="id" value="19" />
                </include>
                <include content="ButtonForDialog">
                    <param name="id" value="20" />
                    <param name="posy" value="40" />
                    <param name="label" value="$LOCALIZE[21452]" />
                </include>
                <include content="OkButtonForDialog">
                    <param name="id" value="18" />
                    <param name="posy" value="40" />
                </include>
<!--                
                <include content="CloseButtonForDialog">
                    <param name="id" value="22" />
                </include>
-->                
            </control>
        </control>
    </controls>
</window>
