skin.pellucid/1080i/DialogSelect.xml

319 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">9000</defaultcontrol>
<onload condition="!IntegerGreaterThan(container(3).numitems,0) + !IntegerGreaterThan(container(6).numitems,0)">control.SetFocus(9999)</onload>
<include>fadeInOut</include>
<controls>
<!--background-->
<include>globalBackground</include>
<control type="group">
<!--animations-->
<include>modalDialogInOutVertical</include>
<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>500</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>18-col</width>
<height>21-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label" id="1">
<posx>24</posx>
<posy>0</posy>
<width>16-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>dialogTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<control type="group" id="9000">
<control type="panel" id="3">
<posx>0</posx>
<posy>2-row</posy>
<width>12-col</width>
<height>21-row</height>
<onright>9999</onright>
<itemlayout height="2-row" width="12-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.icon]</texture>
</control>
<control type="label">
<visible>ListItem.IsSelected</visible>
<posx>11</posx>
<posy>-1</posy>
<width>38</width>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>11-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="2-row" width="12-col">
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>11-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.icon]</texture>
<include>spinFocusIcon</include>
</control>
<control type="label">
<visible>ListItem.IsSelected</visible>
<posx>11</posx>
<posy>-1</posy>
<width>38</width>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>11-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
<!--addon selection etc-->
<control type="panel" id="6">
<posx>0</posx>
<posy>2-row</posy>
<width>12-col</width>
<height>21-row</height>
<onright>9999</onright>
<itemlayout height="2-row" width="12-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.icon]</texture>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>11-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="2-row" width="12-col">
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>11-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.icon]</texture>
<include>spinFocusIcon</include>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>11-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
</control>
<!--larger thumbnail-->
<control type="image">
<posx>12-col-indent</posx>
<posy>2-row</posy>
<width>6-col-gutter</width>
<height>6-col-gutter</height>
<aspectratio scalediffuse="false" align="left" aligny="center">keep</aspectratio>
<texture border="0">$INFO[container(6).Listitem.icon]</texture>
<bordertexture border="3" colordiffuse="33FFFFFF">colors/white.png</bordertexture>
<bordersize>3</bordersize>
<fadetime>200</fadetime>
</control>
<!--OK / Cancel-->
<control type="image">
<posx>12-col</posx>
<posy>2-row</posy>
<width>6-col</width>
<height>21-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="panel" id="9999">
<visible>control.isvisible(3) | control.isvisible(5)</visible>
<posx>12-col</posx>
<posy>13-row</posy>
<width>6-col</width>
<height>6-row</height>
<orientation>vertical</orientation>
<onleft>9000</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>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</itemlayout>
<focusedlayout width="6-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>500</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>0</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>menuTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Ok / manual / getmore Button</description>
<label fallback="186">$INFO[control.getlabel(5)]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(2000,5)</onclick>
</item>
<item id="2">
<description>Cancel Button</description>
<label>222</label>
<label2></label2>
<thumb>-</thumb>
<onclick>PreviousMenu</onclick>
</item>
</content>
</control>
<control type="group">
<visible>false</visible>
<control type="button" id="5">
<visible>false</visible>
<description>OK / Manual button</description>
<label>186</label>
</control>
</control>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogSelect.xml</label>
</control>
</controls>
</window>