skin.pellucid/1080i/DialogAddonInfo.xml

302 lines
13 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">8000</defaultcontrol>
<controls>
<include>globalBackground</include>
<!--About this addon-->
<control type="group">
<posx>col-4-begin</posx>
<posy>row-4-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<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>
<!--title-->
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>17-col</width>
<height>2-row</height>
<font>dialogTitle</font>
<label>$INFO[ListItem.AddonType]</label>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<!--dialog background-->
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>18-col</width>
<height>20-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--addon details-->
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>18-col</width>
<height>8-row</height>
<aspectratio aligny="center">scale</aspectratio>
<texture fallback="colors/black.png">$INFO[ListItem.art(fanart)]</texture>
</control>
<!--screenshots-->
<control type="panel" id="50">
<posx>1-col</posx>
<posy>87</posy>
<width>16-col</width>
<height>8-row</height>
<onleft>50</onleft>
<onright>50</onright>
<ondown>8000</ondown>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">600</scrolltime>
<itemlayout width="444" height="336">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>6-col-gutter</width>
<height>4-col-gutter</height>
<aspectratio>scale</aspectratio>
<texture border="6">$INFO[Listitem.thumb]</texture>
<bordertexture border="6" colordiffuse="aa111111">colors/black.png</bordertexture>
<bordersize>6</bordersize>
</control>
</itemlayout>
<focusedlayout width="444" height="336">
<control type="group">
<include>focusThumb</include>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>6-col-gutter</width>
<height>4-col-gutter</height>
<aspectratio>scale</aspectratio>
<texture>$INFO[Listitem.thumb]</texture>
<bordertexture border="6">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
</control>
</focusedlayout>
</control>
<control type="group">
<posx>6-col</posx>
<posy>10-row</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>12-col</width>
<height>12-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>12</posx>
<posy>12</posy>
<width>2-col-gutter</width>
<height>2-col-gutter</height>
<aspectratio>stretch</aspectratio>
<texture fallback="colors/offblack.png">$INFO[ListItem.art(thumb)]</texture>
</control>
<control type="label">
<description>Addon Title</description>
<posx>2-col-indent</posx>
<posy>6</posy>
<width>10-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>mediumStrong</font>
<label>$INFO[ListItem.addonname]</label>
</control>
<control type="label">
<posx>2-col-indent</posx>
<posy>84</posy>
<width>12-col-gutter</width>
<font>smallStrong</font>
<textcolor>highlight</textcolor>
<label>$INFO[ListItem.AddonCreator,$LOCALIZE[31082] ,][CR]$INFO[ListItem.addonversion,$LOCALIZE[31139]: , ]</label>
</control>
<control type="textbox" id="400">
<posx>12</posx>
<posy>4-row</posy>
<font>textbox</font>
<width>12-col-gutter</width>
<height>7-row</height>
<label>$INFO[ListItem.AddonDescription]</label>
<autoscroll>false</autoscroll>
<pagecontrol>61</pagecontrol>
</control>
<control type="scrollbar" id="61">
<posx>870</posx>
<posy>4-row</posy>
<height>7-row</height>
<onleft>8000</onleft>
</control>
</control>
<!--dialog controls-->
<control type="group">
<visible>!Window.IsVisible(AddonSettings) + !Window.IsActive(TextViewer)</visible>
<posx>0</posx>
<posy>10-row</posy>
<control type="list" id="8000">
<posx>0</posx>
<posy>0</posy>
<width>6-col</width>
<height>14-row</height>
<itemgap>3</itemgap>
<orientation>vertical</orientation>
<onup>50</onup>
<onright>61</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>
</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="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>-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>
<visible>Control.IsEnabled(12)</visible>
<label>31117</label>
<label2></label2>
<thumb>-</thumb>
<onclick>sendclick(146,12)</onclick>
</item>
<item>
<label>$INFO[Control.GetLabel(6)]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(146,6)</onclick>
</item>
<item>
<visible>Control.IsEnabled(9)</visible>
<label>$INFO[Control.GetLabel(9)]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(146,9)</onclick>
</item>
<item>
<visible>Control.IsEnabled(8)</visible>
<label>$INFO[Control.GetLabel(8)]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(146,8)</onclick>
</item>
<item>
<visible>Control.IsEnabled(7) + String.IsEqual(Control.GetLabel(7),enable)</visible>
<label>$LOCALIZE[31218]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(146,7)</onclick>
</item>
<item>
<visible>Control.IsEnabled(7) + String.IsEqual(Control.GetLabel(7),disable)</visible>
<label>$LOCALIZE[31104]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>SendClick(146,7)</onclick>
</item>
</content>
</control>
</control>
</control>
<!--buttons-->
<control type="group">
<visible>false</visible>
<control type="button" id="6">
<description>Install / Uninstall addon</description>
<label>24022</label>
</control>
<control type="button" id="8">
<description>Update Addon button</description>
<label>24069</label>
</control>
<control type="button" id="7">
<description>Disable Addon button</description>
</control>
<control type="button" id="9">
<description>Addon Settings</description>
<label>24020</label>
</control>
<control type="button" id="12">
<description>Launch addon</description>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogAddonInfo.xml</label>
</control>
</controls>
</window>