<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="129">
    <defaultcontrol always="true">22</defaultcontrol>
    <allowoverlay>no</allowoverlay>

    <controls>

        <include>GlobalOverlay</include>

        <control type="group">
            <include>Animation.FadeIn.Slide</include>
            <posx>390</posx>
            <posy>53</posy>


            <control type="image">
                <description>background image</description>
                <posx>-30</posx>
                <posy>-30</posy>
                <width>1200</width>
                <height>1038</height>
                <texture border="16" colordiffuse="White100">common/rounded-shadow8.png</texture>
            </control>

            <control type="label" id="2">
                <description>header label</description>
                <posx>0</posx>
                <posy>-15</posy>
                <width>1140</width>
                <font>MediumBold</font>
                <align>center</align>
                <label>21432</label>
                <textcolor>Black70</textcolor>
            </control>

            <control type="spincontrolex" id="22">
                <description>Set Playlist type</description>
                <posx>15</posx>
                <posy>105</posy>
                <width>1110</width>
                <label>467</label>
                <onright>22</onright>
                <onleft>22</onleft>
                <onup>9001</onup>
                <ondown>12</ondown>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="8">common/box.png</texturefocus>
            </control>

            <control type="label">
                <description>Name Label</description>
                <posx>45</posx>
                <posy>174</posy>
                <width>1110</width>
                <label>21433</label>
                <textcolor>Black70</textcolor>
            </control>

            <control type="edit" id="12">
                <description>Name Button</description>
                <posx>15</posx>
                <posy>243</posy>
                <width>1110</width>
                <height>66</height>
                <font>Small</font>
                <align>left</align>
                <aligny>center</aligny>
                <textcolor>Black70</textcolor>
                <focusedcolor>Selected</focusedcolor>
                <selectedcolor>Highlight2</selectedcolor>
                <label>-</label>
                <textoffsetx>30</textoffsetx>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="8">common/box.png</texturefocus>
                <texturenofocus colordiffuse="Black12" border="8">common/box.png</texturenofocus>
                <pulseonselect>false</pulseonselect>
                <onup>22</onup>
                <onleft>12</onleft>
                <onright>12</onright>
                <ondown>10</ondown>
            </control>

            <control type="label">
                <description>rules label</description>
                <posx>45</posx>
                <posy>312</posy>
                <width>1110</width>
                <align>left</align>
                <label>21434</label>
                <textcolor>Black70</textcolor>
            </control>

            <control type="list" id="10">
                <description>Rules List Control</description>
                <posx>15</posx>
                <posy>381</posy>
                <width>840</width>
                <height>207</height>
                <onup>12</onup>
                <onleft>9000</onleft>
                <onright>9000</onright>
                <ondown>16</ondown>

                <itemlayout width="840" height="69">

                    <control type="label">
                        <posx>30</posx>
                        <posy>0</posy>
                        <width>780</width>
                        <info>ListItem.Label</info>
                    </control>

                </itemlayout>

                <focusedlayout width="840" height="69">

                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>840</width>
                        <height>66</height>
                        <texture border="5" colordiffuse="$VAR[ColorHighlight]">common/box.png</texture>
                        <animation effect="fade" start="100" end="50" condition="!Control.HasFocus(10)">Conditional</animation>
                    </control>

                    <control type="label">
                        <posx>30</posx>
                        <posy>0</posy>
                        <width>780</width>
                        <info>ListItem.Label</info>
                        <textcolor>Selected</textcolor>
                        <animation effect="fade" start="100" end="75" condition="!Control.HasFocus(10)">Conditional</animation>
                    </control>

                </focusedlayout>

            </control>

            <control type="group" id="9000">

                <control type="button" id="13">
                    <description>Add Rule Button</description>
                    <posx>870</posx>
                    <posy>381</posy>
                    <width>255</width>
                    <label>15019</label>
                    <onup>17</onup>
                    <onleft>10</onleft>
                    <onright>10</onright>
                    <ondown>14</ondown>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefDialogButtons</include>
                </control>

                <control type="button" id="14">
                    <description>Remove Rule Button</description>
                    <posx>870</posx>
                    <posy>450</posy>
                    <width>255</width>
                    <label>1210</label>
                    <onup>13</onup>
                    <onleft>10</onleft>
                    <onright>10</onright>
                    <ondown>15</ondown>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefDialogButtons</include>
                </control>

                <control type="button" id="15">
                    <description>Edit Rule Button</description>
                    <posx>870</posx>
                    <posy>519</posy>
                    <width>255</width>
                    <label>21435</label>
                    <onup>14</onup>
                    <onleft>10</onleft>
                    <onright>10</onright>
                    <ondown>16</ondown>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefDialogButtons</include>
                </control>

            </control>

            <control type="label">
                <description>Name Label</description>
                <posx>45</posx>
                <posy>588</posy>
                <width>1110</width>
                <label>31325</label>
                <textcolor>Black70</textcolor>
            </control>

            <control type="spincontrolex" id="16">
                <posx>15</posx>
                <posy>657</posy>
                <width>1110</width>
                <label>21424</label>
                <onright>16</onright>
                <onleft>16</onleft>
                <onup>10</onup>
                <ondown>17</ondown>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
            </control>

            <control type="spincontrolex" id="17">
                <posx>15</posx>
                <posy>726</posy>
                <width>1110</width>
                <label>21427</label>
                <onright>17</onright>
                <onleft>17</onleft>
                <onup>16</onup>
                <ondown>18</ondown>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
            </control>

            <control type="spincontrolex" id="18">
                <posx>15</posx>
                <posy>795</posy>
                <width>840</width>
                <label>21429</label>
                <onright>19</onright>
                <onleft>19</onleft>
                <onup>17</onup>
                <ondown>9001</ondown>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
            </control>

            <control type="togglebutton" id="19">
                <posx>870</posx>
                <posy>795</posy>
                <width>255</width>
                <label>21431</label>
                <altlabel>21430</altlabel>
                <onright>18</onright>
                <onleft>18</onleft>
                <onup>17</onup>
                <ondown>9001</ondown>
                <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                <alttexturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</alttexturefocus>
            </control>

            <control type="group" id="9001">

                <control type="button" id="20">
                    <description>Ok Button</description>
                    <posx>248</posx>
                    <posy>894</posy>
                    <width>300</width>
                    <label>186</label>
                    <onup>18</onup>
                    <onleft>21</onleft>
                    <onright>21</onright>
                    <ondown>22</ondown>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>

                <control type="button" id="21">
                    <description>Cancel Button</description>
                    <posx>593</posx>
                    <posy>894</posy>
                    <width>300</width>
                    <label>222</label>
                    <onup>18</onup>
                    <onleft>20</onleft>
                    <onright>20</onright>
                    <ondown>22</ondown>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <texturenofocus colordiffuse="Black12" border="5">common/box.png</texturenofocus>
                    <include>DefDialogButtons</include>
                </control>

            </control>

        </control>

    </controls>

</window>
