<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">8000</defaultcontrol>
    <onunload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu)</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[20077]</label>
                <textcolor>textActive</textcolor>
                <shadowcolor></shadowcolor>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>18-col</width>
                <height>17-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <!--sub menu-->
            <control type="group">
                <posx>0</posx>
                <posy>2-row</posy>
                <!-- Category buttons -->
                <control type="list" id="8000">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>4-col</width>
                    <height>18-row</height>
                    <onright>200</onright>
                    <itemlayout height="2-row" width="4-col">
                        <control type="label">
                            <posx>24</posx>
                            <posy>2</posy>
                            <width>4-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>textActive</textcolor>
                            <label>$INFO[ListItem.label]</label>
                            <shadowcolor></shadowcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout height="2-row" width="4-col">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>287</width>
                            <height>2-row</height>
                            <aspectratio>stretch</aspectratio>
                            <texture>colors/white.png</texture>
                        </control>
                        <control type="label">
                            <posx>24</posx>
                            <posy>0</posy>
                            <width>4-col-gutter</width>
                            <height>2-row</height>
                            <aligny>center</aligny>
                            <font>buttonTitle</font>
                            <textcolor>black</textcolor>
                            <label>$INFO[ListItem.label]</label>
                            <shadowcolor></shadowcolor>
                        </control>
                    </focusedlayout>
                    <content>
                        <item id="1">
                            <label>$LOCALIZE[128]</label>
                        </item>
                        <item id="2">
                            <label>$LOCALIZE[31170]</label>
                        </item>
                        <item id="3">
                            <label>$LOCALIZE[31044]</label>
                        </item>
                    </content>
                </control>
            </control>
            <!--options-->
            <control type="image">
                <posx>4-col</posx>
                <posy>2-row</posy>
                <width>14-col</width>
                <height>17-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="grouplist" id="200">
                <posx>4-col</posx>
                <posy>2-row</posy>
                <width>14-col</width>
                <height>17-row</height>
                <onleft>8000</onleft>
                <itemgap>0</itemgap>
                <orientation>vertical</orientation>
                <control type="radiobutton" id="6">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Stop video on return to menu</description>
                    <width>14-col</width>
                    <label>31138</label>
                    <onclick>Skin.ToggleSetting(stopVideoOnMenu)</onclick>
                    <selected>Skin.HasSetting(stopVideoOnMenu)</selected>
                </control>
                <control type="button" id="2">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Set home background image directory</description>
                    <width>14-col</width>
                    <label>31116</label>
                    <label2>$INFO[Skin.String(homeBackground)]</label2>
                    <onclick>Skin.SetPath(homeBackground)</onclick>
                    <textwidth>8-col</textwidth>
                </control>
                <control type="button" id="3">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Reset home background image directory</description>
                    <width>14-col</width>
                    <label>31122</label>
                    <onclick>Skin.Reset(homeBackground)</onclick>
                    <textwidth>8-col</textwidth>
                </control>
                <control type="radiobutton" id="1">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Reverse power down options</description>
                    <width>14-col</width>
                    <label>31142</label>
                    <onclick>Skin.ToggleSetting(exitFirst)</onclick>
                    <selected>Skin.HasSetting(exitFirst)</selected>
                </control>
                <control type="radiobutton" id="7">
                    <visible>Container(8000).Hasfocus(3)</visible>
                    <description>Enable Debug Grid</description>
                    <width>14-col</width>
                    <label>31034</label>
                    <onclick>Skin.ToggleSetting(DebugGrid)</onclick>
                    <selected>Skin.HasSetting(DebugGrid)</selected>
                </control>
                <control type="radiobutton" id="8">
                    <visible>Container(8000).Hasfocus(3)</visible>
                    <description>Disable Debug Info</description>
                    <width>14-col</width>
                    <label>31035</label>
                    <onclick>Skin.ToggleSetting(DebugInfo)</onclick>
                    <selected>Skin.HasSetting(DebugInfo)</selected>
                </control>
                <control type="button" id="9">
                    <visible>Container(8000).Hasfocus(3)</visible>
                    <description>Reload skin</description>
                    <width>14-col</width>
                    <label>31043</label>
                    <onclick>ReloadSkin()</onclick>
                    <onclick>activateWindow(home)</onclick>
                </control>
                <control type="radiobutton" id="10">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Disable fanart animation effect</description>
                    <width>14-col</width>
                    <label>31102</label>
                    <onclick>Skin.ToggleSetting(lowPowerMode)</onclick>
                    <onclick>ReloadSkin()</onclick>
                    <selected>Skin.HasSetting(lowPowerMode)</selected>
                </control>
                <control type="button" id="12">
                    <visible>Container(8000).Hasfocus(2)</visible>
                    <description>Edit home menu</description>
                    <width>14-col</width>
                    <label>31171</label>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=mainmenu)</onclick>
                </control>
                <control type="button" id="13">
                    <visible>Container(8000).Hasfocus(2)</visible>
                    <description>Edit video menu</description>
                    <width>14-col</width>
                    <label>31172</label>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=videosubmenu)</onclick>
                </control>
                <control type="button" id="14">
                    <visible>Container(8000).Hasfocus(2)</visible>
                    <description>Edit music menu</description>
                    <width>14-col</width>
                    <label>31173</label>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=musicsubmenu)</onclick>
                </control>
                <control type="button" id="15">
                    <visible>Container(8000).Hasfocus(2)</visible>
                    <description>Edit pictures menu</description>
                    <width>14-col</width>
                    <label>31174</label>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=picturessubmenu)</onclick>
                </control>
				<control type="button" id="16">
                    <visible>Container(8000).Hasfocus(2)</visible>
                    <description>Edit games menu</description>
                    <width>14-col</width>
                    <label>31233</label>
                    <onclick>RunScript(script.skinshortcuts,type=manage&amp;group=gamesubmenu)</onclick>
                </control>
                <control type="radiobutton" id="17">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Extended Fanart</description>
                    <width>14-col</width>
                    <label>31220</label>
                    <onclick>Skin.ToggleSetting(disableExtendedFanart)</onclick>
                    <selected>Skin.HasSetting(disableExtendedFanart)</selected>
                </control>
				<control type="radiobutton" id="18">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Disable recently added Movies</description>
                    <width>14-col</width>
                    <label>31238</label>
                    <onclick>Skin.ToggleSetting(disableRecentMovies)</onclick>
                    <selected>Skin.HasSetting(disableRecentMovies)</selected>
                </control>
				<control type="radiobutton" id="19">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Disable recently added TVShows</description>
                    <width>14-col</width>
                    <label>31239</label>
                    <onclick>Skin.ToggleSetting(disableRecentTVShows)</onclick>
                    <selected>Skin.HasSetting(disableRecentTVShows)</selected>
                </control>
				<control type="radiobutton" id="20">
                    <visible>Container(8000).Hasfocus(1)</visible>
                    <description>Disable recently added Albums</description>
                    <width>14-col</width>
                    <label>31240</label>
                    <onclick>Skin.ToggleSetting(disableRecentAlbums)</onclick>
                    <selected>Skin.HasSetting(disableRecentAlbums)</selected>
                </control>
            </control>
        </control>
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>DialogID</include>
            <label>SkinSettings.xml</label>
        </control>
    </controls>
</window>