<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="false">211</defaultcontrol>
    <onunload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu)</onunload>
    <onunload>control.setfocus(9000)</onunload>
    <controls>
		<!--background-->
        <include>globalBackground</include>
        <control type="group">
            <posx>col-4-begin</posx>
            <posy>row-5-begin</posy>
            <!--animations-->
            <include>modalDialogInOutVertical</include>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>18-col</width>
                <height>2-row</height>
                <texture>colors/white.png</texture>
                <colordiffuse>highlight</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>71</posy>
                <width>18-col</width>
                <height>1</height>
                <texture>colors/black.png</texture>
                <aspectratio>stretch</aspectratio>
            </control>
            <!--title-->
            <control type="label">
                <posx>24</posx>
                <posy>0</posy>
                <width>18-col-gutter</width>
                <height>2-row</height>
                <font>dialogTitle</font>
                <label>$LOCALIZE[31228]</label>
                <textcolor>textActive</textcolor>
                <shadowcolor></shadowcolor>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>18-col</width>
                <height>18-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
			<!--options-->
            <control type="grouplist" id="300">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>4-col</width>
				<height>18-row</height>
                <control type="button" id="301">
                    <description>Add a new shortcut</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32000]</label>
                </control>
                <control type="button" id="302">
                    <description>Delete shortcut</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32001]</label>
                </control>
                <control type="button" id="303">
                    <description>Move shortcut up</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32002]</label>
                </control>
                <control type="button" id="304">
                    <description>Move shortcut down</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32003]</label>
                </control>
                <control type="button" id="305">
                    <description>Change shortcut label</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32025]</label>
                </control>
                <control type="button" id="307">
                    <description>Change shortcut action</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32027]</label>
                </control>
                <control type="button" id="308">
                    <description>Reset shortcuts</description>
                    <onright>211</onright>
                    <width>5-col-gutter</width>
                    <label>$ADDON[script.skinshortcuts 32028]</label>
                </control>
            </control>
			<!-- id 211 - Current shortcuts -->
			<!--options-->
            <control type="image">
                <posx>4-col</posx>
                <posy>2-row</posy>
                <width>14-col</width>
                <height>18-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="list" id="211">
                <posx>4-col</posx>
                <posy>2-row</posy>
                <width>14-col</width>
                <height>18-row</height>
                <onleft>300</onleft>
                <orientation>vertical</orientation>
                <itemlayout width="14-col" height="2-row">
                    <control type="label">
                        <posx>24</posx>
                        <posy>0</posy>
                        <width>13-col</width>
                        <height>2-row</height>
                        <font>buttonTitle</font>
                        <aligny>center</aligny>
                        <textcolor>textActive</textcolor>
                        <shadowcolor></shadowcolor>
                        <label>$INFO[ListItem.label]</label>
                    </control>
                </itemlayout>
                <focusedlayout width="14-col" height="2-row">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>14-col</width>
                        <height>2-row</height>
                        <texture>colors/white.png</texture>
                        <colordiffuse>textActive</colordiffuse>
                        <aspectratio>stretch</aspectratio>
                        <animation effect="fade" start="100" end="50" condition="!Control.HasFocus(211)">Conditional</animation>
                    </control>
                    <control type="label">
                        <posx>24</posx>
                        <posy>0</posy>
                        <width>13-col</width>
                        <height>2-row</height>
                        <font>buttonTitle</font>
                        <aligny>center</aligny>
                        <textcolor>black</textcolor>
                        <shadowcolor></shadowcolor>
                        <label>$INFO[ListItem.label]</label>
                    </control>
                </focusedlayout>
            </control>
		</control>     
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>WindowID</include>
            <label>script-skinshortcuts.xml</label>
        </control>
    </controls>
</window>