skin.pellucid/xml/MyMusicPlaylistEditor.xml

295 lines
13 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">50</defaultcontrol>
<views>50</views>
<controls>
<include>globalBackground</include>
<control type="group">
<!--animations-->
<include>modalDialogInOutVertical</include>
<!--page title-->
<control type="group">
<posx>col-2-begin</posx>
<posy>row-4-begin</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>22-col</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--title-->
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>22-col</width>
<height>2-row</height>
<font>dialogTitle</font>
<label>31057</label>
<textcolor>textActive</textcolor>
<shadowcolor></shadowcolor>
</control>
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>22-col</width>
<height>19-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>18-col</posx>
<posy>2-row</posy>
<width>4-col</width>
<height>19-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<!--left panel-->
<control type="group">
<posx>col-2-begin</posx>
<posy>row-6-begin</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>9-col</width>
<height>71</height>
<texture>colors/white.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<description>Header Label</description>
<posx>24</posx>
<posy>0</posy>
<height>2-row</height>
<width>8-col-gutter</width>
<label>31022</label>
<font>settingsCategoryTitle</font>
<textcolor>black</textcolor>
<shadowcolor></shadowcolor>
</control>
<!--left file list-->
<control type="list" id="50">
<posx>0</posx>
<posy>2-row</posy>
<width>9-col</width>
<height>17-row</height>
<onright>100</onright>
<itemlayout height="2-row" width="9-col">
<control type="label">
<posx>24</posx>
<width>8-col</width>
<height>2-row</height>
<aligny>center</aligny>
<info>ListItem.Label</info>
<font>itemTitle</font>
</control>
</itemlayout>
<focusedlayout height="2-row" width="9-col">
<control type="image">
<width>9-col</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<animation effect="fade" start="100" end="50" condition="!Control.HasFocus(50)">Conditional</animation>
</control>
<control type="label">
<posx>24</posx>
<width>8-col</width>
<height>2-row</height>
<aligny>center</aligny>
<info>ListItem.Label</info>
<font>itemTitle</font>
<textcolor>black</textcolor>
</control>
</focusedlayout>
</control>
</control>
<!--right panel-->
<control type="group">
<posx>col-11-begin</posx>
<posy>row-6-begin</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>13-col</width>
<height>71</height>
<texture>colors/white.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<description>Header Label</description>
<posx>12</posx>
<posy>0</posy>
<width>9-col-gutter</width>
<height>2-row</height>
<label>13350</label>
<font>settingsCategoryTitle</font>
<textcolor>black</textcolor>
</control>
<control type="list" id="100">
<posx>0</posx>
<posy>2-row</posy>
<width>9-col</width>
<height>15-row</height>
<onleft>50</onleft>
<onright>9000</onright>
<itemlayout height="2-row" width="636">
<control type="label">
<posx>24</posx>
<width>8-col</width>
<height>2-row</height>
<aligny>center</aligny>
<info>ListItem.Label</info>
<font>itemTitle</font>
</control>
</itemlayout>
<focusedlayout height="2-row" width="636">
<control type="image">
<width>9-col</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<animation effect="fade" start="100" end="50" condition="!Control.HasFocus(100)">Conditional</animation>
</control>
<control type="label">
<posx>24</posx>
<width>8-col</width>
<height>2-row</height>
<aligny>center</aligny>
<info>ListItem.Label</info>
<font>itemTitle</font>
<textcolor>black</textcolor>
</control>
</focusedlayout>
</control>
<!--dialog controls-->
<control type="group">
<posx>9-col</posx>
<posy>0</posy>
<control type="panel" id="9000">
<posx>0</posx>
<posy>2-row</posy>
<width>4-col</width>
<height>6-row</height>
<orientation>vertical</orientation>
<onleft>100</onleft>
<itemlayout width="6-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>symbolLarge</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>3-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="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</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>3-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>symbolLarge</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>Open</description>
<label>31019</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(503,6)</onclick>
</item>
<item id="2">
<description>Save</description>
<label>31020</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(503,7)</onclick>
<onclick>Notification($LOCALIZE[31020],$LOCALIZE[31153])</onclick>
</item>
<item id="3">
<description>Clear</description>
<label>31021</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(503,8)</onclick>
</item>
</content>
</control>
</control>
</control>
</control>
<!--buttons-->
<control type="group">
<visible>false</visible>
<control type="button" id="6">
<description>Open Button</description>
</control>
<control type="button" id="7">
<description>Save Button</description>
</control>
<control type="button" id="8">
<description>Clear button</description>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>MyMusicPlaylistEditor.xml</label>
</control>
</controls>
</window>