278 lines
12 KiB
XML
278 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window>
|
|
<defaultcontrol always="true">8000</defaultcontrol>
|
|
<allowoverlay>no</allowoverlay>
|
|
<controls>
|
|
<include>globalBackground</include>
|
|
<!--About this addon-->
|
|
<control type="group">
|
|
<posx>col-4-begin</posx>
|
|
<posy>row-3-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>500</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.Property(Addon.Type)]</label>
|
|
<textcolor>textActive</textcolor>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<!--dialog background-->
|
|
<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>
|
|
<--addon details-->
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<width>18-col</width>
|
|
<height>10-row</height>
|
|
<aspectratio aligny="center">scale</aspectratio>
|
|
<texture fallback="colors/offblack.png">$INFO[ListItem.art(fanart)]</texture>
|
|
</control>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2-row</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>3-row</posy>
|
|
<width>4-col</width>
|
|
<height>4-col</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture fallback="colors/offblack.png">$INFO[ListItem.art(thumb)]</texture>
|
|
<bordertexture border="3" colordiffuse="33FFFFFF">colors/white.png</bordertexture>
|
|
<bordersize>3</bordersize>
|
|
</control>
|
|
<control type="group">
|
|
<posx>6-col</posx>
|
|
<posy>12-row</posy>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>12-col</width>
|
|
<height>11-row</height>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="label">
|
|
<description>Addon Title</description>
|
|
<posx>12</posx>
|
|
<posy>0</posy>
|
|
<width>10-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>mediumStrong</font>
|
|
<label>$INFO[ListItem.Property(Addon.Name)]</label>
|
|
</control>
|
|
<control type="label">
|
|
<posx>12</posx>
|
|
<posy>2-row</posy>
|
|
<width>10-col-gutter</width>
|
|
<font>smallStrong</font>
|
|
<label>$INFO[ListItem.Property(Addon.Creator)] • $LOCALIZE[31082] $INFO[ListItem.Property(Addon.Version)]</label>
|
|
</control>
|
|
<control type="textbox" id="400">
|
|
<posx>12</posx>
|
|
<posy>4-row</posy>
|
|
<font>textbox</font>
|
|
<width>12-col-gutter</width>
|
|
<height>340</height>
|
|
<label>$INFO[ListItem.Property(Addon.Description)]</label>
|
|
<autoscroll delay="5000" time="1000" repeat="10000"/>
|
|
</control>
|
|
</control>
|
|
<!--dialog controls-->
|
|
<control type="group">
|
|
<visible>!Window.IsVisible(AddonSettings) + !Window.IsActive(TextViewer)</visible>
|
|
<posx>0</posx>
|
|
<posy>12-row</posy>
|
|
<control type="list" id="8000">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>6-col</width>
|
|
<height>8-row</height>
|
|
<itemgap>3</itemgap>
|
|
<orientation>vertical</orientation>
|
|
<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>
|
|
</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>menuTitle</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>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>-1</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">
|
|
<visible>!substring(ListItem.Property(Addon.path),http,Left)</visible>
|
|
<label>31117</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>sendclick(12)</onclick>
|
|
</item>
|
|
<item id="2">
|
|
<label>$INFO[Control.GetLabel(6)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(6)</onclick>
|
|
</item>
|
|
<item id="3">
|
|
<visible>Control.IsEnabled(8)</visible>
|
|
<label>$INFO[Control.GetLabel(8)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(8)</onclick>
|
|
</item>
|
|
<item id="4">
|
|
<visible>Control.IsEnabled(11)</visible>
|
|
<label>$INFO[Control.GetLabel(11)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(11)</onclick>
|
|
</item>
|
|
<item id="5">
|
|
<visible>Control.IsEnabled(7)</visible>
|
|
<label>$INFO[Control.GetLabel(7)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(7)</onclick>
|
|
</item>
|
|
<item id="6">
|
|
<visible>Control.IsEnabled(9)</visible>
|
|
<label>$INFO[Control.GetLabel(9)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(9)</onclick>
|
|
</item>
|
|
<item id="7">
|
|
<visible>Control.IsEnabled(10)</visible>
|
|
<label>$INFO[Control.GetLabel(10)]</label>
|
|
<label2></label2>
|
|
<thumb>-</thumb>
|
|
<onclick>SendClick(10)</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="10">
|
|
<description>Changelog button</description>
|
|
<label>24036</label>
|
|
</control>
|
|
<control type="button" id="11">
|
|
<description>Rollback button</description>
|
|
<label>24048</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>
|