<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="154">
    <defaultcontrol always="true">9000</defaultcontrol>
    <menucontrol>9001</menucontrol>

    <controls>
        <control type="group">
            <posy>PosYForFullWindowDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForFullWindowDialog" />
                <param name="headerid" value="2" />
                <param name="headerlabel" value="$LOCALIZE[15020]" />
                <param name="icontexture" value="icons/icon-speaker.png" />
            </include>

            <control type="list" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="420" />
                    <param name="height" value="200" />
                </include>
                <onup>20</onup>
                <ondown>26</ondown>
                <onright>21</onright>
                
                <itemlayout height="40">
                    <control type="image">
                        <width>480</width>
                        <height>40</height>
                        <aspectratio>stretch</aspectratio>
                        <texture colordiffuse="$VAR[BackgroundColor]" border="20">controls/rectangle-fill.png</texture>
                    </control>
                    <control type="label">
                        <posx>20</posx>
                        <posy>0</posy>
                        <width>440</width>
                        <height>40</height>
                        <font>NormalButtonFont</font>
                        <textcolor>$VAR[MainColor]</textcolor>
                        <align>center</align>
                        <aligny>center</aligny>
                        <scroll>false</scroll>
                        <label>$INFO[ListItem.Label]</label>
                    </control>
                </itemlayout>
                    
                <focusedlayout height="40">
                    <control type="group">
                        <visible>Control.HasFocus(9000)</visible>

                        <control type="image">
                            <width>480</width>
                            <height>40</height>
                            <aspectratio>stretch</aspectratio>
                            <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-fill.png</texture>
                        </control>
                        <control type="label">
                            <posx>20</posx>
                            <posy>0</posy>
                            <width>440</width>
                            <height>40</height>
                            <font>NormalButtonFont</font>
                            <textcolor>$VAR[BackgroundColor]</textcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <scroll>false</scroll>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                    </control>
                    <control type="group">
                        <visible>!Control.HasFocus(9000)</visible>

                        <control type="image">
                            <width>480</width>
                            <height>40</height>
                            <aspectratio>stretch</aspectratio>
                            <texture colordiffuse="$VAR[BackgroundColor]" border="20">controls/rectangle-fill.png</texture>
                        </control>
                        <control type="label">
                            <posx>20</posx>
                            <posy>0</posy>
                            <width>440</width>
                            <height>40</height>
                            <font>NormalButtonFont</font>
                            <textcolor>$VAR[MainColor]</textcolor>
                            <align>center</align>
                            <aligny>center</aligny>
                            <scroll>false</scroll>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                        <control type="image">
                            <width>480</width>
                            <height>40</height>
                            <aspectratio>stretch</aspectratio>
                            <texture colordiffuse="$VAR[SelectColor]" border="20">controls/rectangle-fill.png</texture>
                        </control>
                    </control>
                </focusedlayout>
            </control>
            
            <control type="group">
                <include content="HalfListFrameForDialog">
                    <param name="posx" value="560" />
                    <param name="posy" value="100" />
                    <param name="height" value="780" />
                </include>
            
                <include content="OutlineLabel">
                    <param name="posx" value="600" />
                    <param name="posy" value="80" />
                    <param name="width" value="520" />
                    <param name="height" value="40" />
                    <param name="font" value="DialogTextFont" />
                    <param name="textcolor" value="$VAR[MainColor]" />
                    <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinesize" value="1" />
                    <param name="align" value="center" />
                    <param name="label" value="$LOCALIZE[15051] ($INFO[Container(21).NumItems])" />
                </include>

                <control type="list" id="21">
                    <description>Active DSP List Control</description>
                    <posx>566</posx>
                    <posy>120</posy>
                    <width>592</width>
                    <height>740</height>
                    <scrolltime>200</scrolltime>
                    <pagecontrol>61</pagecontrol>
                    <onleft>9001</onleft>
                    <onright>61</onright>

                    <include content="ThumbnailItemsForHalfListInDialog">
                        <param name="listid" value="21" />
                        <param name="texture" value="$INFO[ListItem.Icon]" />
                    </include>
                </control>
                
                <include content="ScrollbarForDialog">
                    <param name="id" value="61" />
                    <param name="posx" value="1148" />
                    <param name="posy" value="120" />
                    <param name="height" value="740" />
                    <param name="onleft" value="21" />
                    <param name="onright" value="20" />
                </include>
            </control>

            <control type="group">
                <include content="HalfListFrameForDialog">
                    <param name="posx" value="1180" />
                    <param name="posy" value="100" />
                    <param name="height" value="780" />
                </include>
            
                <include content="OutlineLabel">
                    <param name="posx" value="1220" />
                    <param name="posy" value="80" />
                    <param name="width" value="520" />
                    <param name="height" value="40" />
                    <param name="font" value="DialogTextFont" />
                    <param name="textcolor" value="$VAR[MainColor]" />
                    <param name="outlinecolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinesize" value="1" />
                    <param name="align" value="center" />
                    <param name="label" value="$LOCALIZE[15050]$INFO[Container(20).NumItems, (,)]" />
                </include>

                <control type="list" id="20">
                    <description>Available DSP List Control</description>
                    <posx>1186</posx>
                    <posy>120</posy>
                    <width>592</width>
                    <height>740</height>
                    <pagecontrol>60</pagecontrol>
                    <scrolltime>200</scrolltime>
                    <onleft>61</onleft>
                    <onright>60</onright>

                    <include content="ThumbnailItemsForHalfListInDialog">
                        <param name="listid" value="20" />
                        <param name="texture" value="$INFO[ListItem.Icon]" />
                    </include>
                </control>
                
                <include content="ScrollbarForDialog">
                    <param name="id" value="60" />
                    <param name="posx" value="1768" />
                    <param name="posy" value="120" />
                    <param name="height" value="740" />
                    <param name="onleft" value="20" />
                </include>
            </control>
            
            <control type="grouplist" id="9001">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="660" />
                    <param name="height" value="220" />
                </include>
                <onup>9000</onup>
                <ondown>9000</ondown>
                <onright>21</onright>

                <include content="SetHelpButtonForDialog" />
                <control type="radiobutton" id="22">
                    <description>Auto Save Radiobutton</description>
                    <posy>20</posy>
                    <label>$LOCALIZE[31977]</label>
                </control>
                <include content="ApplyButtonForDialog">
                    <param name="id" value="23" />
                </include>
                <include content="ClearButtonForDialog">
                    <param name="id" value="24" />
                </include>
                <include content="CloseButtonForDialog">
                    <param name="id" value="25" />
                </include>
            </control>
            
            <control type="group">
                <visible>Skin.HasSetting(DialogHelp.Visible)</visible>
                <posx>40</posx>
                <posy>20</posy>
                <include content="HelpFrameForDialog" />
            
                <control type="group">
                    <posx>20</posx>
                    <posy>20</posy>
                    <width>440</width>
                    <height>240</height>

                    <control type="textbox">
                        <visible>Container(9000).HasFocus(91)</visible>
                        <font>DialogHelpFont</font>
                        <label>$INFO[Container(9000).ListItem.Label]: $LOCALIZE[15114]</label>
                    </control>
                    <control type="textbox">
                        <visible>Container(9000).HasFocus(92)</visible>
                        <font>DialogHelpFont</font>
                        <label>$INFO[Container(9000).ListItem.Label]: $LOCALIZE[15113]</label>
                    </control>
                    <control type="textbox">
                        <visible>Container(9000).HasFocus(93)</visible>
                        <font>DialogHelpFont</font>
                        <label>$INFO[Container(9000).ListItem.Label]: $LOCALIZE[15115]</label>
                    </control>
                    <control type="textbox">
                        <visible>Container(9000).HasFocus(94)</visible>
                        <font>DialogHelpFont</font>
                        <label>$INFO[Container(9000).ListItem.Label]: $LOCALIZE[15117]</label>
                    </control>
                    <control type="textbox">
                        <visible>Container(9000).HasFocus(95)</visible>
                        <font>DialogHelpFont</font>
                        <label>$INFO[Container(9000).ListItem.Label]: $LOCALIZE[15116]</label>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>
