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

    <controls>
        <control type="group">
            <posy>PosYForThirteenLinesDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForThirteenLinesDialog" />
                <param name="headerid" value="2" />
                <param name="icontexture" value="icons/icon-musicnote.png" />
            </include>

            <control type="button" id="22">
                <description>Playlist Type Button</description>
                <posx>560</posx>
                <posy>80</posy>
                <width>1240</width>
                <align>left</align>
                <label>$LOCALIZE[467]</label>
                <onup>23</onup>
                <ondown>12</ondown>
                <onleft>9000</onleft>
            </control>

            <include content="LabelForDialog">
                <param name="posy" value="120" />
                <param name="label" value="$LOCALIZE[21433]" />
            </include>

            <control type="button" id="12">
                <description>Playlist Name Button</description>
                <posx>1000</posx>
                <posy>120</posy>
                <width>800</width>
                <label>-</label>
                <onup>22</onup>
                <ondown>10</ondown>
                <onleft>9000</onleft>
            </control>

            <include content="LabelForDialog">
                <param name="posy" value="160" />
                <param name="label" value="$LOCALIZE[21434]" />
            </include>

            <control type="list" id="10">
                <description>Rules List Control</description>
                <posx>560</posx>
                <posy>200</posy>
                <width>1240</width>
                <height>180</height>
                <onup>12</onup>
                <ondown>16</ondown>
                <onleft>9000</onleft>
                
                <itemlayout height="40">
                    <include>NormalItemsForNormalListInDialog</include>
                </itemlayout>
                    
                <focusedlayout height="40">
                    <control type="group">
                        <visible>Control.HasFocus(10)</visible>
                        <include>FocusedItemsForNormalListInDialog</include>
                    </control>
                    <control type="group">
                        <visible>!Control.HasFocus(10)</visible>
                        <include>NormalItemsForNormalListInDialog</include>
                    </control>
                </focusedlayout>
            </control>

            <control type="button" id="16">
                <description>Match Rules Button</description>
                <posx>560</posx>
                <posy>440</posy>
                <width>1240</width>
                <label>$LOCALIZE[21424]</label>
                <onup>10</onup>
                <ondown>17</ondown>
                <onleft>9000</onleft>
            </control>

            <control type="button" id="17">
                <description>Limit Rules Button</description>
                <posx>560</posx>
                <posy>480</posy>
                <width>740</width>
                <label>$LOCALIZE[21427]</label>
                <onup>16</onup>
                <ondown>18</ondown>
                <onleft>9000</onleft>
            </control>

            <control type="button" id="18">
                <description>Sort Criterium Button</description>
                <posx>560</posx>
                <posy>520</posy>
                <width>740</width>
                <label>$LOCALIZE[21429]</label>
                <onright>19</onright>
                <onleft>9000</onleft>
                <onup>17</onup>
                <ondown>23</ondown>
            </control>

            <control type="button" id="19">
                <description>Sort Order Button</description>
                <posx>1320</posx>
                <posy>520</posy>
                <width>480</width>
                <label>$LOCALIZE[21431]</label>
                <altlabel>$LOCALIZE[21430]</altlabel>
                <onup>17</onup>
                <ondown>24</ondown>
                <onleft>18</onleft>
            </control>

            <control type="button" id="23">
                <description>Group By Button</description>
                <posx>560</posx>
                <posy>560</posy>
                <width>740</width>
                <label>$LOCALIZE[21458]</label>
                <onup>18</onup>
                <ondown>22</ondown>
                <onleft>9000</onleft>
                <onright>24</onright>
            </control>

            <control type="radiobutton" id="24">
                <description>Mixed Button</description>
                <posx>1320</posx>
                <posy>560</posy>
                <width>480</width>
                <label>$LOCALIZE[21459]</label>
                <onup>19</onup>
                <ondown>22</ondown>
                <onleft>23</onleft>
            </control>

            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="380" />
                    <param name="height" value="220" />
                </include>
                <onright>10</onright>
                
                <control type="button" id="13">
                    <description>Add Rule Button</description>
                    <label>$LOCALIZE[15019]</label>
                </control>
                <control type="button" id="14">
                    <description>Remove Rule Button</description>
                    <label>$LOCALIZE[1210]</label>
                </control>
                <control type="button" id="15">
                    <description>Edit Rule Button</description>
                    <label>$LOCALIZE[21435]</label>
                </control>
                
                <include content="OkButtonForDialog">
                    <param name="id" value="20" />
                    <param name="posy" value="20" />
                </include>
                <include content="CancelButtonForDialog">
                    <param name="id" value="21" />
                </include>
            </control>
        </control>
    </controls>
</window>
