skin.pellucid/1080i/DialogSelect.xml

378 lines
19 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-2-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>22-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>6-col</posx>
<posy>12-row</posy>
<width>12-col</width>
<height>12-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">
<!--Info panel-->
<control type="group">
<posx>0</posx>
<posy>2-row</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>10-row</height>
<aspectratio aligny="center">scale</aspectratio>
<texture>vignette.png</texture>
</control>
<control type="image">
<posx>1-col</posx>
<posy>1-row</posy>
<width>4-col</width>
<height>4-col</height>
<aspectratio scalediffuse="false" align="center" 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>
<control type="label">
<description>Addon Title</description>
<posx>6-col-indent</posx>
<posy>1-row</posy>
<width>12-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>mediumStrong</font>
<label>$INFO[container(6).ListItem.label]</label>
</control>
<control type="label">
<posx>6-col-indent</posx>
<posy>104</posy>
<width>12-col-gutter</width>
<font>itemSubTitle</font>
<textcolor>highlight</textcolor>
<label>$INFO[container(6).ListItem.AddonCreator]</label>
</control>
<control type="textbox" id="400">
<posx>6-col-indent</posx>
<posy>4-row</posy>
<font>textbox</font>
<width>12-col-gutter</width>
<height>160</height>
<label>$INFO[container(6).ListItem.AddonDescription]</label>
<autoscroll delay="5000" time="1000" repeat="10000"/>
</control>
</control>
<!--Used in search from cast listing etc-->
<control type="panel" id="3">
<posx>6-col-indent</posx>
<posy>442</posy>
<width>12-col</width>
<height>410</height>
<onleft>9999</onleft>
<itemlayout height="75" width="12-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>69</width>
<height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.icon]</texture>
</control>
<control type="label">
<visible>ListItem.IsSelected</visible>
<posx>0</posx>
<posy>3</posy>
<width>66</width>
<height>66</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<selectedcolor>textActive</selectedcolor>
<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="75" width="12-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>69</width>
<height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/white.png" border="0">$INFO[Listitem.icon]</texture>
<animation type="focus" loop="false" reversible="false">
<effect type="fade" time="500"/>
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>768</width>
<height>69</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="label">
<visible>ListItem.IsSelected</visible>
<posx>0</posx>
<posy>3</posy>
<width>66</width>
<height>66</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>black</textcolor>
<selectedcolor>black</selectedcolor>
<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>
<selectedcolor>black</selectedcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
<!--skin selection etc-->
<control type="panel" id="6">
<posx>6-col-indent</posx>
<posy>442</posy>
<width>12-col</width>
<height>410</height>
<onleft>9999</onleft>
<itemlayout height="75" width="6-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>69</width>
<height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[Listitem.thumb]</texture>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>324</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="75" width="6-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>69</width>
<height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/white.png" border="0">$INFO[Listitem.thumb]</texture>
<animation type="focus" loop="false" reversible="false">
<effect type="fade" time="500"/>
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>348</width>
<height>69</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>324</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>black</textcolor>
<selectedcolor>black</selectedcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
</control>
<control type="panel" id="9999">
<visible>control.isvisible(3) | control.isvisible(5)</visible>
<posx>0</posx>
<posy>12-row</posy>
<width>429</width>
<height>6-row</height>
<orientation>vertical</orientation>
<onright>9000</onright>
<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>
<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>buttonTitle</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>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>symbolLarge</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>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Ok / manual / get more 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>SendClick(2000,7)</onclick>
</item>
</content>
</control>
<control type="group">
<visible>false</visible>
<control type="button" id="5">
<description>OK / Manual button</description>
<label>186</label>
</control>
<control type="button" id="7">
<description>Cancel</description>
<label>222</label>
</control>
</control>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogSelect.xml</label>
</control>
</controls>
</window>