419 lines
19 KiB
XML
419 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window>
|
|
<defaultcontrol always="true">9002</defaultcontrol>
|
|
<allowoverlay>no</allowoverlay>
|
|
<controls>
|
|
<include>globalBackground</include>
|
|
<control type="group">
|
|
<!--animations-->
|
|
<include>modalDialogInOutVertical</include>
|
|
<visible>!Window.IsVisible(smartplaylistrule)</visible>
|
|
<control type="group">
|
|
<posx>col-4-begin</posx>
|
|
<posy>row-3-begin</posy>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>18-col</width>
|
|
<height>2-row</height>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<width>18-col</width>
|
|
<height>12-row</height>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="label">
|
|
<posx>12</posx>
|
|
<posy>0</posy>
|
|
<width>8-col</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>dialogTitle</font>
|
|
<label>31203</label>
|
|
<textcolor>textActive</textcolor>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<!--set playlist type-->
|
|
<control type="spincontrolex" id="22">
|
|
<description>Set Playlist type</description>
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<width>14-col</width>
|
|
<label>467</label>
|
|
<onright>9002</onright>
|
|
<ondown>12</ondown>
|
|
</control>
|
|
|
|
<control type="edit" id="12">
|
|
<description>Name Button</description>
|
|
<posx>4-col</posx>
|
|
<posy>4-row</posy>
|
|
<width>14-col-gutter</width>
|
|
<label>-</label>
|
|
<onup>22</onup>
|
|
<onright>9002</onright>
|
|
<ondown>10</ondown>
|
|
</control>
|
|
<control type="label">
|
|
<description>Playlist Name Label</description>
|
|
<posx>12</posx>
|
|
<posy>4-row</posy>
|
|
<width>14-col-gutter</width>
|
|
<height>2-row</height>
|
|
<font>mediumStrong</font>
|
|
<label>21433</label>
|
|
<textcolor>disabled</textcolor>
|
|
<font>itemTitle</font>
|
|
</control>
|
|
|
|
<control type="group">
|
|
<posy>6-row</posy>
|
|
<!--add / remove edit rules-->
|
|
<control type="group">
|
|
<control type="panel" id="9001">
|
|
<posx>0</posx>
|
|
<posy>55</posy>
|
|
<width>4-col-gutter</width>
|
|
<height>3-row</height>
|
|
<itemgap>3</itemgap>
|
|
<onright>10</onright>
|
|
<onup>12</onup>
|
|
<ondown>16</ondown>
|
|
<orientation>vertical</orientation>
|
|
<itemlayout width="6-col" height="1-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2</posy>
|
|
<width>6-col</width>
|
|
<height>53</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/black.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<posx>24</posx>
|
|
<posy>0</posy>
|
|
<width>1-col</width>
|
|
<font>symbol</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col</posx>
|
|
<posy>2</posy>
|
|
<width>6-col</width>
|
|
<font>menuTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</itemlayout>
|
|
<focusedlayout width="6-col" height="1-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2</posy>
|
|
<width>6-col</width>
|
|
<height>53</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<posx>24</posx>
|
|
<posy>0</posy>
|
|
<width>1-col</width>
|
|
<font>symbol</font>
|
|
<textcolor>black</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col</posx>
|
|
<posy>2</posy>
|
|
<width>6-col</width>
|
|
<font>menuTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</focusedlayout>
|
|
<content>
|
|
<item id="2">
|
|
<description>Remove Rule</description>
|
|
<label>1210</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(129,14)</onclick>
|
|
</item>
|
|
<item id="3">
|
|
<description>Edit Button</description>
|
|
<label>21435</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(129,15)</onclick>
|
|
</item>
|
|
</content>
|
|
</control>
|
|
</control>
|
|
<control type="panel" id="10">
|
|
<description>Rules List Control</description>
|
|
<posx>4-col</posx>
|
|
<posy>1-row</posy>
|
|
<width>8-col-gutter</width>
|
|
<height>4-row</height>
|
|
<onup>12</onup>
|
|
<onleft>9001</onleft>
|
|
<ondown>16</ondown>
|
|
<itemlayout width="8-col" height="1-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>8-col</width>
|
|
<height>53</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/black.png</texture>
|
|
<bordersize>0</bordersize>
|
|
<colordiffuse>ffFFFFFF</colordiffuse>
|
|
</control>
|
|
<control type="label">
|
|
<posx>12</posx>
|
|
<posy>-1</posy>
|
|
<width>8-col</width>
|
|
<height>1-row</height>
|
|
<font>itemTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<selectedcolor>black</selectedcolor>
|
|
<info>ListItem.Label</info>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</itemlayout>
|
|
<focusedlayout width="8-col" height="1-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>8-col</width>
|
|
<height>53</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<bordersize>0</bordersize>
|
|
<colordiffuse>ffFFFFFF</colordiffuse>
|
|
</control>
|
|
<control type="label">
|
|
<posx>12</posx>
|
|
<posy>-1</posy>
|
|
<width>8-col</width>
|
|
<height>1-row</height>
|
|
<font>itemTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<selectedcolor>black</selectedcolor>
|
|
<info>ListItem.Label</info>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</focusedlayout>
|
|
</control>
|
|
</control>
|
|
<control type="spincontrolex" id="16">
|
|
<posx>0</posx>
|
|
<posy>14-row</posy>
|
|
<width>12-col-gutter</width>
|
|
<label>21424</label>
|
|
<onright>9002</onright>
|
|
<onup>10</onup>
|
|
<ondown>17</ondown>
|
|
</control>
|
|
<control type="spincontrolex" id="17">
|
|
<posx>0</posx>
|
|
<posy>15-row</posy>
|
|
<width>12-col-gutter</width>
|
|
<label>21427</label>
|
|
<onright>9002</onright>
|
|
<onup>16</onup>
|
|
<ondown>18</ondown>
|
|
</control>
|
|
<control type="spincontrolex" id="18">
|
|
<posx>0</posx>
|
|
<posy>16-row</posy>
|
|
<width>12-col-gutter</width>
|
|
<label>21429</label>
|
|
<onright>9002</onright>
|
|
<onup>17</onup>
|
|
<ondown>19</ondown>
|
|
</control>
|
|
<control type="label">
|
|
<posx>12</posx>
|
|
<posy>17-row</posy>
|
|
<width>8-col</width>
|
|
<height>1-row</height>
|
|
<font>itemTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>31044</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="togglebutton" id="19">
|
|
<posx>0</posx>
|
|
<posy>17-row</posy>
|
|
<width>12-col-gutter</width>
|
|
<label>21431</label>
|
|
<altlabel>21430</altlabel>
|
|
<textcolor>textActive</textcolor>
|
|
<texturefocus>colors/white.png</texturefocus>
|
|
<alttexturefocus>colors/white.png</alttexturefocus>
|
|
<align>right</align>
|
|
<textoffsetx>12</textoffsetx>
|
|
<onright>9002</onright>
|
|
<onup>18</onup>
|
|
</control>
|
|
<!--bit of bloat... Handles togglebutton focus-->
|
|
<control type="label">
|
|
<visible>control.hasfocus(19)</visible>
|
|
<posx>12</posx>
|
|
<posy>18-row</posy>
|
|
<width>8-col</width>
|
|
<height>1-row</height>
|
|
<font>itemTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<label>31044</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<visible>control.hasfocus(19)</visible>
|
|
<posx>828</posx>
|
|
<posy>19-row</posy>
|
|
<width>12-col-gutter</width>
|
|
<align>right</align>
|
|
<height>1-row</height>
|
|
<font>itemTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<label>$INFO[control.getlabel(19)]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<!--OK / Cancel-->
|
|
<control type="panel" id="9002">
|
|
<posx>14-col</posx>
|
|
<posy>2-row</posy>
|
|
<width>4-col</width>
|
|
<height>5-row</height>
|
|
<itemgap>3</itemgap>
|
|
<orientation>vertical</orientation>
|
|
<onleft>22</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>symbol</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col-indent</posx>
|
|
<posy>-1</posy>
|
|
<width>5-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>buttonTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
</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>symbol</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="label">
|
|
<posx>1-col-indent</posx>
|
|
<posy>-1</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(129,20)</onclick>
|
|
</item>
|
|
<item id="2">
|
|
<description>Cancel Button</description>
|
|
<label>222</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(129,21)</onclick>
|
|
</item>
|
|
</content>
|
|
</control>
|
|
</control>
|
|
<!--buttons-->
|
|
<control type="group">
|
|
<visible>false</visible>
|
|
<control type="button" id="13">
|
|
<description>Add Rule Button</description>
|
|
</control>
|
|
<control type="button" id="14">
|
|
<description>Remove Rule Button</description>
|
|
</control>
|
|
<control type="button" id="15">
|
|
<description>Edit Rule Button</description>
|
|
</control>
|
|
<control type="button" id="20">
|
|
<description>Ok Button</description>
|
|
<label>186</label>
|
|
</control>
|
|
<control type="button" id="21">
|
|
<description>Cancel Button</description>
|
|
<label>222</label>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
<!--debugging-->
|
|
<include>DebugGrid</include>
|
|
<control type="label">
|
|
<include>DialogID</include>
|
|
<label>SmartPlaylistEditor.xml</label>
|
|
</control>
|
|
</controls>
|
|
</window>
|