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

    <controls>
        <control type="group">
            <visible>!Window.IsVisible(sliderdialog)</visible>

            <posy>PosYForThirteenLinesDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForThirteenLinesDialog" />
                <param name="headerid" value="2" />
                <param name="icontexture" value="icons/icon-settings.png" />
            </include>

            <include content="DefaultIconForWindowForDialog">
                <param name="visible" value="Window.Is(osdaudiosettings)" />
                <param name="icontexture" value="icons/icon-audio.png" />
            </include>
        
            <include content="DefaultIconForWindowForDialog">
                <param name="visible" value="Window.Is(osdvideosettings)" />
                <param name="icontexture" value="icons/icon-projector.png" />
            </include>
        
            <control type="grouplist" id="5">
                <include content="MarkupForListForDialog">
                    <param name="posy" value="80" />
                    <param name="height" value="520" />
                    <param name="pagecontrol" value="6" />
                </include>
                <onleft>9000</onleft>
                <onright>6</onright>
            </control>

            <include content="DefaultControlsForDialog" />
            
            <control type="scrollbar" id="6">
                <include content="MarkupForScrollbarForDialog">
                    <param name="posy" value="80" />
                    <param name="height" value="520" />
                </include>
                <onleft>5</onleft>
            </control>

            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="440" />
                    <param name="height" value="160" />
                </include>
                <onright>5</onright>
                
                <include content="SpacerForButtonListForDialog">
                    <param name="id" value="31" />
                    <param name="visible" value="!Control.IsVisible(30)" />
                </include>
                <include content="SpacerForButtonListForDialog">
                    <param name="id" value="32" />
                    <param name="visible" value="!Control.IsVisible(29)" />
                </include>
                <include content="SpacerForButtonListForDialog">
                    <param name="id" value="33" />
                    <param name="visible" value="!Control.IsVisible(28)" />
                </include>
                <control type="button" id="30">
                    <description>Settings/Clear Button</description>
                </control>
                <include content="SpacerForButtonListForDialog">
                    <param name="id" value="34" />
                </include>
                <control type="button" id="28">
                    <description>Ok Button</description>
                </control>
                <control type="button" id="29">
                    <description>Cancel/Close Button</description>
                </control>
            </control>
        </control>
    </controls>
</window>
