<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">401</defaultcontrol>
    <controls>
        <include>GlobalOverlay</include>

        <control type="group">
            <include>Animation.FadeIn.Slide</include>
            <centerleft>50%</centerleft>
            <centertop>50%</centertop>
            <width>1065</width>
            <height>864</height>
            <control type="image">
                <description>background image</description>
                <top>-8</top>
                <bottom>-8</bottom>
                <left>-8</left>
                <right>-8</right>
                <texture border="16" colordiffuse="White100">common/rounded-shadow8.png</texture>
            </control>

            <control type="label" id="500">
                <description>header label</description>
                <posy>10</posy>
                <left>22</left>
                <right>22</right>
                <font>SmallBold</font>
                <align>left</align>
                <textcolor>Black70</textcolor>
            </control>
            
            <!-- Left List: Current Shortcuts -->
            <control type="list" id="211">
                <description>Rules List Control</description>
                <left>15</left>
                <bottom>15</bottom>
                <width>600</width>
                <height>759</height>
                <onup>211</onup>
                <onleft>211</onleft>
                <onright>9100</onright>
                <ondown>211</ondown>
                <itemlayout width="600" height="69">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>100%</width>
                        <height>66</height>
                        <texture border="5" colordiffuse="Black12">common/box.png</texture>
                    </control>
                    <control type="label">
                        <left>30</left>
                        <right>30</right>
                        <info>ListItem.Label</info>
                    </control>
                    <control type="image">
                        <right>0</right>
                        <top>0</top>
                        <width>66</width>
                        <height>66</height>
                        <texture colordiffuse="Black30">$INFO[ListItem.Icon]</texture>
                        <visible>substring(ListItem.Icon,special://skin/extras/icons)</visible>
                        <visible>Skin.HasSetting(home.showicons) | stringcompare(Window.Property(groupname),movieshub) | stringcompare(Window.Property(groupname),episodeshub)</visible>
                    </control>
                </itemlayout>
                <focusedlayout width="600" height="69">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>100%</width>
                        <height>66</height>
                        <texture border="5" colordiffuse="$VAR[ColorHighlight]">common/box.png</texture>
                        <visible>Control.HasFocus(211)</visible>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>100%</width>
                        <height>66</height>
                        <texture border="5" colordiffuse="PanelBlack30">common/box.png</texture>
                        <visible>!Control.HasFocus(211)</visible>
                    </control>
                    <control type="label">
                        <left>30</left>
                        <right>30</right>
                        <info>ListItem.Label</info>
                        <textcolor>Selected</textcolor>
                    </control>
                    <control type="image">
                        <right>0</right>
                        <top>0</top>
                        <width>66</width>
                        <height>66</height>
                        <texture colordiffuse="Selected">$INFO[ListItem.Icon]</texture>
                        <visible>substring(ListItem.Icon,special://skin/extras/icons)</visible>
                        <visible>Skin.HasSetting(home.showicons) | stringcompare(Window.Property(groupname),movieshub) | stringcompare(Window.Property(groupname),episodeshub)</visible>
                    </control>
                </focusedlayout>
            </control>
            
            <!-- Right Buttons -->
            <control type="grouplist" id="9100">
                <onleft>211</onleft>
                <onright>111</onright>
                <onup>9100</onup>
                <ondown>9100</ondown>
                <right>15</right>
                <bottom>15</bottom>
                <width>420</width>
                <height>759</height>
                <orientation>vertical</orientation>
                <itemgap>3</itemgap>
                
                
                
                <control type="button" id="401" description="Alt chooser">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="307" description="Custom">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="305" description="Set Label">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                
                <control type="button" id="309" description="Widget">
                    <width>100%</width>
                    <height>66</height>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                </control>
                <control type="button" id="310" description="Background">
                    <width>100%</width>
                    <height>66</height>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="311" description="Browse for Thumb">
                    <width>100%</width>
                    <height>66</height>
                    <label>31181</label>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>stringcompare(Window.Property(groupname),movieshub) | stringcompare(Window.Property(groupname),episodeshub) | Skin.HasSetting(home.showicons)</visible>
                </control>
                <control type="button" id="405" description="Set Submenu">
                    <width>100%</width>
                    <height>66</height>
                    <label>31112</label>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>!stringcompare(Container(211).ListItem.Label2,MovieHub) + !stringcompare(Container(211).ListItem.Label2,TVHub)</visible>
                </control>
                <control type="button" id="9301" description="Set MovieHub">
                    <width>100%</width>
                    <height>66</height>
                    <label>31178</label>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>stringcompare(Container(211).ListItem.Label2,MovieHub)</visible>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=movieshub)</onclick>
                </control>
                <control type="button" id="9302" description="Set TVHub">
                    <width>100%</width>
                    <height>66</height>
                    <label>31178</label>
                    <visible>stringcompare(Window.Property(groupname),mainmenu)</visible>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>stringcompare(Container(211).ListItem.Label2,TVHub)</visible>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=episodeshub)</onclick>
                </control>
                <control type="button" id="303" description="Up">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="304" description="Down">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="301" description="Add">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                <control type="button" id="302" description="Delete">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>
                
                <control type="button" id="308" description="Reset">
                    <width>100%</width>
                    <height>66</height>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                    <visible>!stringcompare(Window.Property(groupname),mainmenu)</visible>
                </control>
            </control>
        
            
           
        </control>
    </controls>
</window>
