<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="OptionsForExitMenuSkinSettings">
        <control type="group">
            <visible>Container(99).Hasfocus(5)</visible>
        
            <control type="grouplist" id="500">
                <width>1100</width>
                <height>740</height>
                <orientation>vertical</orientation>
                <pagecontrol>599</pagecontrol>
                <itemgap>0</itemgap>
                <onup>500</onup>
                <ondown>500</ondown>
                <onleft>99</onleft>
                <onright>599</onright>

                <include content="LabelForSkinSettings">
                    <param name="id" value="549" />
                    <param name="label" value="$LOCALIZE[31412]" />
                </include>

                <include content="ButtonsForExitMenuSkinSettings" />

                <include content="SpacerForSkinSettings">
                    <param name="id" value="548" />
                </include>

                <include content="ResetPageButtonForSkinSettings">
                    <param name="id" value="550" />
                    <param name="resetbuttonid" value="55" />
                 </include>
            </control>

            <control type="scrollbar" id="599">
                <posx>1140</posx>
                <height>740</height>
                <orientation>vertical</orientation>
                <showonepage>false</showonepage>
                <onleft>500</onleft>
                <onright>Noop</onright>
            </control>
        </control>
    </include>
    
    <include name="ButtonsForExitMenuSkinSettings">
        <definition>
            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="501" />
                <param name="label" value="$LOCALIZE[13005]" />
                <param name="variable" value="ExitMenu.ShutdownOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="502" />
                <param name="label" value="$LOCALIZE[13012]" />
                <param name="enable" value="System.ShowExitButton" />
                <param name="variable" value="ExitMenu.ExitOption" />
            </include>
            
            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="503" />
                <param name="label" value="$LOCALIZE[20126]" />
                <param name="enable" value="System.IsLoggedOn + [System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)]" />
                <param name="variable" value="ExitMenu.LogOffOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="504" />
                <param name="label" value="$LOCALIZE[13313]" />
                <param name="enable" value="System.Platform.Windows | System.Platform.Linux" />
                <param name="variable" value="ExitMenu.RestartOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="505" />
                <param name="label" value="$LOCALIZE[13011]" />
                <param name="enable" value="System.CanSuspend" />
                <param name="variable" value="ExitMenu.SuspendOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="506" />
                <param name="label" value="$LOCALIZE[13010]" />
                <param name="enable" value="System.CanHibernate" />
                <param name="variable" value="ExitMenu.HibernateOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="507" />
                <param name="label" value="$LOCALIZE[13013]" />
                <param name="enable" value="System.CanReboot" />
                <param name="variable" value="ExitMenu.RebootOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="508" />
                <param name="label" value="$LOCALIZE[31082]" />
                <param name="enable" value="System.CanPowerdown" />
                <param name="variable" value="ExitMenu.PowerdownOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="509" />
                <param name="label" value="$LOCALIZE[31083]" />
                <param name="variable" value="ExitMenu.CustomTimerOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="510" />
                <param name="label" value="$LOCALIZE[15023]" />
                <param name="enable" value="System.HasLocks" />
                <param name="variable" value="ExitMenu.MasterModeOption" />
            </include>

            <include content="StandardButtonForExitMenuSkinSettings">
                <param name="id" value="511" />
                <param name="label" value="$LOCALIZE[5]" />
                <param name="variable" value="ExitMenu.SettingsOption" />
            </include>
       </definition>
    </include>
    
    <include name="AnnotationsForExitMenuSkinSettings">
        <definition>
            <control type="group">
                <description>Settings Description Textbox</description>
                <visible>ControlGroup(500).HasFocus</visible>

                <posx>720</posx>
                <posy>880</posy>
                <width>880</width>
                <height>90</height>

                <control type="textbox">
                    <visible>!Control.HasFocus(550)</visible>
                    <font>DialogHelpFont</font>
                    <label>$LOCALIZE[31258]</label>
                </control>
                <control type="textbox">
                    <visible>Control.HasFocus(550)</visible>
                    <font>DialogHelpFont</font>
                    <label>$LOCALIZE[31897]</label>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="StandardButtonForExitMenuSkinSettings">
        <param name="id" default="0" />
        <param name="label" default="-" />
        <param name="enable" default="true" />
        <param name="variable" default="Option" />
    
        <definition>
            <control type="radiobutton" id="$PARAM[id]">
                <enable>$PARAM[enable]</enable>
                <width>1100</width>
                <radioposx>1040</radioposx>
                <align>left</align>
                <label>$PARAM[label]</label>
                <selected>Skin.HasSetting($PARAM[variable].Active)</selected>
                <onclick>Skin.ToggleSetting($PARAM[variable].Active)</onclick>
            </control>
        </definition>
    </include>
</includes>
