<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol>5</defaultcontrol>
    <include>fadeInOut</include>
    <controls>
        <!--background-->
        <include condition="!Player.HasVideo">globalBackground</include>
        <control type="group">
            <visible>!Window.IsVisible(sliderdialog)</visible>
            <posx>col-5-begin</posx>
            <posy>row-4-begin</posy>
            <!--animations-->
            <include>modalDialogInOutVertical</include>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>16-col</width>
                <height>2-row</height>
                <texture>colors/white.png</texture>
                <colordiffuse>highlight</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <visible>player.hasvideo</visible>
                <posx>0</posx>
                <posy>2-row</posy>
                <width>16-col</width>
                <height>19-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>99FFFFFF</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>16-col</width>
                <height>19-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>2-row</posy>
                <width>12-col</width>
                <height>19-row</height>
                <texture>colors/black.png</texture>
                <colordiffuse>overlay</colordiffuse>
                <aspectratio>stretch</aspectratio>
            </control>
            <control type="label" id="2">
                <posx>24</posx>
                <posy>0</posy>
                <width>16-col-gutter</width>
                <height>2-row</height>
                <aligny>center</aligny>
                <font>dialogTitle</font>
                <textcolor>textActive</textcolor>
                <shadowcolor>-</shadowcolor>
            </control>
            <control type="grouplist" id="5">
                <description>control area</description>
                <posx>0</posx>
                <posy>2-row</posy>
                <width>12-col</width>
                <height>19-row</height>
                <onright>9000</onright>
                <onup>5</onup>
                <ondown>5</ondown>
            </control>
            <control type="button" id="7">
                <description>Default Button</description>
            </control>
            <control type="radiobutton" id="8">
                <description>Default RadioButton</description>
            </control>
            <control type="spincontrolex" id="9">
                <description>Default SpinControlex</description>
            </control>
            <control type="edit" id="12">
                <width>8-col</width>
                <font>buttonTitle</font>
                <align>left</align>
                <texturefocus>colors/white.png</texturefocus>
                <texturenofocus>-</texturenofocus>
                <textoffsetx>24</textoffsetx>
                <focusedcolor>black</focusedcolor>
            </control>
            <control type="sliderex" id="13">
                <description>Default Slider</description>
            </control>
            <control type="label" id="14">
                <description>Default Label</description>
                <label>-</label>
                <align>left</align>
                <aligny>center</aligny>
                <textoffsetx>24</textoffsetx>
                <height>2-row</height>
                <font>settingsCategoryTitle</font>
                <textcolor>highlight</textcolor>
                <shadowcolor>-</shadowcolor>
            </control>
            <!--dialog control buttons-->
            <control type="panel" id="9000">
                <posx>12-col</posx>
                <posy>2-row</posy>
                <width>4-col</width>
                <height>6-row</height>
                <orientation>vertical</orientation>
                <onleft>5</onleft>
                <itemlayout width="4-col" height="2-row">
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <label>$INFO[ListItem.label2]</label>
                        <shadowcolor>-</shadowcolor>
                    </control>
                    <control type="label">
                        <posx>1-col-indent</posx>
                        <posy>0</posy>
                        <width>5-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 width="4-col" height="2-row">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col</width>
                        <height>2-row</height>
                        <aspectratio>stretch</aspectratio>
                        <texture>colors/white.png</texture>
                        <colordiffuse>highlight</colordiffuse>
                        <include>spinFocusIcon</include>
                    </control>
                    <control type="image">
                        <posx>1-col</posx>
                        <posy>0</posy>
                        <width>5-col</width>
                        <height>2-row</height>
                        <aspectratio>stretch</aspectratio>
                        <texture>colors/white.png</texture>
                    </control>
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1-col</width>
                        <height>2-row</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <font>symbolLarge</font>
                        <textcolor>textActive</textcolor>
                        <label>$INFO[ListItem.label2]</label>
                        <shadowcolor>-</shadowcolor>
                    </control>
                    <control type="label">
                        <posx>1-col-indent</posx>
                        <posy>0</posy>
                        <width>5-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">
                        <description>Ok Button</description>
                        <label>186</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(28)</onclick>
                    </item>
                    <item id="2">
                        <description>Cancel Button</description>
                        <label>222</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(29)</onclick>
                    </item>
                    <item id="3">
                        <visible>Control.IsEnabled(30) + !window.isactive(osdvideosettings) + !window.isactive(osdaudiosettings)</visible>
                        <description>clear / settings</description>
                        <label>31048</label>
                        <label2></label2>
                        <thumb>-</thumb>
                        <onclick>SendClick(30)</onclick>
                    </item>
                </content>
            </control>
            <!--dialog controls-->
            <control type="group">
                <visible>false</visible>
                <control type="button" id="28">
                    <description>OK</description>
                </control>
                <control type="button" id="29">
                    <description>Cancel</description>
                </control>
                <control type="button" id="30">
                    <description>Clear / Settings</description>
                </control>
            </control>
        </control>
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>DialogID</include>
            <label>dialogSettings.xml</label>
        </control>
    </controls>
</window>