<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">22</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<coordinates>
		<system>1</system>
		<left>240</left>
		<top>22</top>
	</coordinates>
	<include>dialogeffect</include>
	<controls>
		<control type="group">
			<visible>!Window.IsVisible(smartplaylistrule)</visible>
			<include>VisibleFadeEffect</include>
			<control type="image">
				<description>background image</description>
				<left>0</left>
				<top>0</top>
				<width>800</width>
				<height>675</height>
				<texture border="40">DialogBack.png</texture>
			</control>
			<control type="image">
				<description>Dialog Header image</description>
				<left>40</left>
				<top>16</top>
				<width>720</width>
				<height>40</height>
				<texture>dialogheader.png</texture>
			</control>
			<control type="label" id="2">
				<description>header label</description>
				<left>40</left>
				<top>20</top>
				<width>720</width>
				<height>30</height>
				<font>font13_title</font>
				<label>$LOCALIZE[21432]</label>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>selected</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="button">
				<description>Close Window button</description>
				<left>710</left>
				<top>9</top>
				<width>64</width>
				<height>32</height>
				<label>-</label>
				<font>-</font>
				<onclick>PreviousMenu</onclick>
				<texturefocus>DialogCloseButton-focus.png</texturefocus>
				<texturenofocus>DialogCloseButton.png</texturenofocus>
				<onleft>22</onleft>
				<onright>22</onright>
				<onup>22</onup>
				<ondown>22</ondown>
				<visible>system.getbool(input.enablemouse)</visible>
			</control>
			<control type="spincontrolex" id="22">
				<description>Set Playlist type</description>
				<left>30</left>
				<top>70</top>
				<width>740</width>
				<height>40</height>
				<label>467</label>
				<font>font13</font>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<onright>22</onright>
				<onleft>22</onleft>
				<onup>9001</onup>
				<ondown>12</ondown>
			</control>
			<control type="label">
				<description>Name Label</description>
				<left>30</left>
				<top>120</top>
				<width>740</width>
				<label>21433</label>
				<font>font12</font>
				<textcolor>blue</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="edit" id="12">
				<description>Name Button</description>
				<left>30</left>
				<top>145</top>
				<width>740</width>
				<height>40</height>
				<textoffsetx>10</textoffsetx>
				<textwidth>720</textwidth>
				<font>font13</font>
				<align>center</align>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<label>-</label>
				<onup>22</onup>
				<onleft>12</onleft>
				<onright>12</onright>
				<ondown>10</ondown>
			</control>
			<control type="label">
				<description>rules label</description>
				<left>30</left>
				<top>200</top>
				<width>740</width>
				<align>left</align>
				<label>21434</label>
				<font>font12</font>
				<textcolor>blue</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="list" id="10">
				<description>Rules List Control</description>
				<left>30</left>
				<top>225</top>
				<width>550</width>
				<height>135</height>
				<onup>12</onup>
				<onleft>9000</onleft>
				<onright>9000</onright>
				<ondown>16</ondown>
				<itemlayout width="560" height="45">
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>550</width>
						<height>40</height>
						<texture border="5">button-nofocus.png</texture>
					</control>
					<control type="label">
						<left>10</left>
						<top>0</top>
						<width>530</width>
						<height>40</height>
						<aligny>center</aligny>
						<info>ListItem.Label</info>
						<selectedcolor>selected</selectedcolor>
						<font>font13</font>
					</control>
				</itemlayout>
				<focusedlayout width="560" height="45">
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>550</width>
						<height>40</height>
						<texture border="5">button-focus2.png</texture>
						<visible>Control.HasFocus(10)</visible>
					</control>
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>550</width>
						<height>40</height>
						<texture border="5">button-nofocus.png</texture>
						<visible>!Control.HasFocus(10)</visible>
					</control>
					<control type="label">
						<left>10</left>
						<top>0</top>
						<width>530</width>
						<height>40</height>
						<aligny>center</aligny>
						<info>ListItem.Label</info>
						<selectedcolor>selected</selectedcolor>
						<font>font13</font>
					</control>
				</focusedlayout>
			</control>
			<control type="group" id="9000">
				<left>590</left>
				<top>225</top>
				<control type="button" id="13">
					<description>Add Rule Button</description>
					<left>0</left>
					<top>0</top>
					<width>180</width>
					<height>40</height>
					<label>15019</label>
					<font>font12_title</font>
					<align>center</align>
					<aligny>center</aligny>
					<onup>17</onup>
					<onleft>10</onleft>
					<onright>10</onright>
					<ondown>14</ondown>
				</control>
				<control type="button" id="14">
					<description>Remove Rule Button</description>
					<left>0</left>
					<top>45</top>
					<height>40</height>
					<width>180</width>
					<label>1210</label>
					<font>font12_title</font>
					<align>center</align>
					<aligny>center</aligny>
					<onup>13</onup>
					<onleft>10</onleft>
					<onright>10</onright>
					<ondown>15</ondown>
				</control>
				<control type="button" id="15">
					<description>Edit Rule Button</description>
					<left>0</left>
					<top>90</top>
					<height>40</height>
					<width>180</width>
					<label>21435</label>
					<font>font12_title</font>
					<align>center</align>
					<aligny>center</aligny>
					<onup>14</onup>
					<onleft>10</onleft>
					<onright>10</onright>
					<ondown>16</ondown>
				</control>
			</control>

			<control type="label">
				<description>Name Label</description>
				<left>30</left>
				<top>370</top>
				<width>740</width>
				<label>31325</label>
				<font>font12</font>
				<textcolor>blue</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="spincontrolex" id="16">
				<left>30</left>
				<top>395</top>
				<width>740</width>
				<height>40</height>
				<label>21424</label>
				<font>font13</font>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<onright>16</onright>
				<onleft>16</onleft>
				<onup>10</onup>
				<ondown>17</ondown>
			</control>

			<control type="spincontrolex" id="17">
				<left>30</left>
				<top>440</top>
				<width>740</width>
				<height>40</height>
				<label>21427</label>
				<font>font13</font>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<onright>17</onright>
				<onleft>17</onleft>
				<onup>16</onup>
				<ondown>18</ondown>
			</control>

			<control type="spincontrolex" id="18">
				<left>30</left>
				<top>485</top>
				<width>550</width>
				<height>40</height>
				<label>21429</label>
				<font>font13</font>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<onright>19</onright>
				<onleft>19</onleft>
				<onup>17</onup>
				<ondown>23</ondown>
			</control>

			<control type="togglebutton" id="19">
				<left>590</left>
				<top>485</top>
				<width>180</width>
				<height>40</height>
				<font>font12_title</font>
				<align>center</align>
				<aligny>center</aligny>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<texturefocus border="5">button-focus.png</texturefocus>
				<alttexturenofocus border="5">button-nofocus.png</alttexturenofocus>
				<alttexturefocus border="5">button-focus.png</alttexturefocus>
				<label>21431</label>
				<altlabel>21430</altlabel>
				<onright>18</onright>
				<onleft>18</onleft>
				<onup>17</onup>
				<ondown>24</ondown>
			</control>

			<control type="spincontrolex" id="23">
				<left>30</left>
				<top>530</top>
				<width>550</width>
				<height>40</height>
				<label>21458</label>
				<font>font13</font>
				<texturefocus border="5">button-focus2.png</texturefocus>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<onright>24</onright>
				<onleft>24</onleft>
				<onup>18</onup>
				<ondown>9001</ondown>
			</control>

			<control type="radiobutton" id="24">
				<left>590</left>
				<top>530</top>
				<width>180</width>
				<height>40</height>
				<font>font12_title</font>
				<align>center</align>
				<aligny>center</aligny>
				<texturenofocus border="5">button-nofocus.png</texturenofocus>
				<texturefocus border="5">button-focus.png</texturefocus>
				<label>21459</label>
				<onright>23</onright>
				<onleft>23</onleft>
				<onup>19</onup>
				<ondown>9001</ondown>
			</control>

			<control type="group" id="9001">
				<control type="button" id="20">
					<description>Ok Button</description>
					<left>195</left>
					<top>605</top>
					<width>200</width>
					<height>40</height>
					<align>center</align>
					<aligny>center</aligny>
					<label>186</label>
					<font>font12_title</font>
					<onup>23</onup>
					<onleft>21</onleft>
					<onright>21</onright>
					<ondown>22</ondown>
				</control>
				<control type="button" id="21">
					<description>Cancel Button</description>
					<left>405</left>
					<top>605</top>
					<width>200</width>
					<height>40</height>
					<align>center</align>
					<aligny>center</aligny>
					<label>222</label>
					<font>font12_title</font>
					<onup>23</onup>
					<onleft>20</onleft>
					<onright>20</onright>
					<ondown>22</ondown>
				</control>
			</control>
		</control>
	</controls>
</window>
