d24b7155e8
Fixed 'What's New' for addon info
394 lines
12 KiB
XML
394 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window>
|
|
<defaultcontrol always="true">9000</defaultcontrol>
|
|
<onload>ClearProperty(WhatsNew,home)</onload>
|
|
<coordinates>
|
|
<left>185</left>
|
|
<top>40</top>
|
|
<origin x="185" y="10">!String.IsEmpty(ListItem.AddonBroken)</origin>
|
|
</coordinates>
|
|
<include>dialogeffect</include>
|
|
<controls>
|
|
<control type="group">
|
|
<include>VisibleFadeEffect</include>
|
|
<visible>!Window.isVisible(AddonSettings) + !Window.IsActive(TextViewer)</visible>
|
|
<include content="DialogBackgroundCommons">
|
|
<param name="DialogBackgroundWidth" value="920" />
|
|
<param name="DialogBackgroundHeight" value="639" />
|
|
<param name="DialogHeaderWidth" value="840" />
|
|
<param name="DialogHeaderLabel" value="$LOCALIZE[24003]" />
|
|
<param name="DialogHeaderId" value="2" />
|
|
<param name="CloseButtonLeft" value="830" />
|
|
<param name="CloseButtonNav" value="3" />
|
|
</include>
|
|
<control type="image">
|
|
<left>30</left>
|
|
<top>70</top>
|
|
<width>220</width>
|
|
<height>220</height>
|
|
<aspectratio>keep</aspectratio>
|
|
<texture>$INFO[ListItem.Icon]</texture>
|
|
<bordertexture border="8">ThumbShadow.png</bordertexture>
|
|
<bordersize>8</bordersize>
|
|
</control>
|
|
<control type="label">
|
|
<description>Addon Title value</description>
|
|
<left>280</left>
|
|
<top>80</top>
|
|
<width>580</width>
|
|
<height>30</height>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<label>[B]$INFO[ListItem.AddonName][/B]</label>
|
|
<textcolor>white</textcolor>
|
|
<scroll>true</scroll>
|
|
</control>
|
|
<control type="group">
|
|
<left>270</left>
|
|
<top>115</top>
|
|
<control type="label">
|
|
<description>Type txt</description>
|
|
<left>10</left>
|
|
<top>0</top>
|
|
<width>140</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[146]</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>blue</textcolor>
|
|
</control>
|
|
<control type="label">
|
|
<description>Type Value</description>
|
|
<left>160</left>
|
|
<top>0</top>
|
|
<width>440</width>
|
|
<height>25</height>
|
|
<label fallback="10005">$INFO[ListItem.AddonType]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<scroll>true</scroll>
|
|
</control>
|
|
<control type="label">
|
|
<description>Author txt</description>
|
|
<left>10</left>
|
|
<top>30</top>
|
|
<width>140</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[21863]:</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>blue</textcolor>
|
|
</control>
|
|
<control type="label">
|
|
<description>Author Value</description>
|
|
<left>160</left>
|
|
<top>30</top>
|
|
<width>440</width>
|
|
<height>25</height>
|
|
<label fallback="10005">$INFO[ListItem.AddonCreator]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<scroll>true</scroll>
|
|
</control>
|
|
<control type="label">
|
|
<description>Version txt</description>
|
|
<left>10</left>
|
|
<top>60</top>
|
|
<width>140</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[24051]</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>blue</textcolor>
|
|
</control>
|
|
<control type="label">
|
|
<description>Version Value</description>
|
|
<left>160</left>
|
|
<top>60</top>
|
|
<width>440</width>
|
|
<height>25</height>
|
|
<label fallback="10005">$INFO[ListItem.AddonVersion]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<scroll>true</scroll>
|
|
</control>
|
|
<control type="label">
|
|
<description>Summary txt</description>
|
|
<left>10</left>
|
|
<top>90</top>
|
|
<width>140</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[20037]:</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>blue</textcolor>
|
|
</control>
|
|
<control type="fadelabel">
|
|
<description>Summary Value</description>
|
|
<left>160</left>
|
|
<top>90</top>
|
|
<width>440</width>
|
|
<height>25</height>
|
|
<label fallback="10005">$INFO[ListItem.AddonSummary]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<scrollout>false</scrollout>
|
|
<pauseatend>2000</pauseatend>
|
|
</control>
|
|
<control type="image">
|
|
<left>0</left>
|
|
<top>130</top>
|
|
<width>600</width>
|
|
<height>4</height>
|
|
<texture>separator.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<description>Description txt</description>
|
|
<left>0</left>
|
|
<top>140</top>
|
|
<width>300</width>
|
|
<height>25</height>
|
|
<label>$VAR[AddonInfoHeading]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>blue</textcolor>
|
|
</control>
|
|
<control type="group">
|
|
<visible>!String.IsEmpty(ListItem.AddonDisclaimer)</visible>
|
|
<control type="label">
|
|
<description>Description Page Count</description>
|
|
<left>310</left>
|
|
<top>140</top>
|
|
<width>300</width>
|
|
<height>25</height>
|
|
<label>$INFO[Container(400).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(400).NumPages,/,[COLOR=blue])[/COLOR]]</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font12</font>
|
|
<textcolor>grey</textcolor>
|
|
</control>
|
|
<control type="textbox" id="400">
|
|
<description>Description</description>
|
|
<left>10</left>
|
|
<top>167</top>
|
|
<width>600</width>
|
|
<height>218</height>
|
|
<font>font13</font>
|
|
<align>justify</align>
|
|
<textcolor>white</textcolor>
|
|
<label>$VAR[AddonInfoDescription]</label>
|
|
<pagecontrol>60</pagecontrol>
|
|
</control>
|
|
<control type="scrollbar" id="60">
|
|
<left>610</left>
|
|
<top>165</top>
|
|
<width>25</width>
|
|
<height>190</height>
|
|
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
|
|
<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
|
|
<texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
|
|
<textureslidernib>ScrollBarNib.png</textureslidernib>
|
|
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
|
|
<onleft>9000</onleft>
|
|
<onright>61</onright>
|
|
<showonepage>false</showonepage>
|
|
<orientation>vertical</orientation>
|
|
</control>
|
|
<control type="label">
|
|
<description>Disclaimer txt</description>
|
|
<left>0</left>
|
|
<top>400</top>
|
|
<width>600</width>
|
|
<height>25</height>
|
|
<label>$LOCALIZE[24052]</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<font>font13</font>
|
|
<textcolor>orange</textcolor>
|
|
</control>
|
|
<control type="textbox">
|
|
<description>Disclaimer</description>
|
|
<left>10</left>
|
|
<top>427</top>
|
|
<width>600</width>
|
|
<height>64</height>
|
|
<font>font12</font>
|
|
<align>left</align>
|
|
<textcolor>white</textcolor>
|
|
<label>$INFO[ListItem.AddonDisclaimer]</label>
|
|
<autoscroll time="2000" delay="3000" repeat="5000">true</autoscroll>
|
|
</control>
|
|
</control>
|
|
<control type="group">
|
|
<visible>String.IsEmpty(ListItem.AddonDisclaimer)</visible>
|
|
<control type="label">
|
|
<description>Description Page Count</description>
|
|
<left>310</left>
|
|
<top>140</top>
|
|
<width>300</width>
|
|
<height>25</height>
|
|
<label>$INFO[Container(401).CurrentPage, $LOCALIZE[31024] [COLOR=blue]([/COLOR]]$INFO[Container(401).NumPages,/,[COLOR=blue])[/COLOR]]</label>
|
|
<align>right</align>
|
|
<aligny>center</aligny>
|
|
<font>font12</font>
|
|
<textcolor>grey</textcolor>
|
|
</control>
|
|
<control type="textbox" id="401">
|
|
<description>Description</description>
|
|
<left>10</left>
|
|
<top>177</top>
|
|
<width>600</width>
|
|
<height>288</height>
|
|
<font>font13</font>
|
|
<align>left</align>
|
|
<textcolor>white</textcolor>
|
|
<label>$VAR[AddonInfoDescription]</label>
|
|
<pagecontrol>61</pagecontrol>
|
|
</control>
|
|
<control type="scrollbar" id="61">
|
|
<left>610</left>
|
|
<top>175</top>
|
|
<width>25</width>
|
|
<height>260</height>
|
|
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
|
|
<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
|
|
<texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
|
|
<textureslidernib>ScrollBarNib.png</textureslidernib>
|
|
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
|
|
<onleft>60</onleft>
|
|
<onright>9000</onright>
|
|
<showonepage>false</showonepage>
|
|
<orientation>vertical</orientation>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
<control type="grouplist" id="9000">
|
|
<left>30</left>
|
|
<top>300</top>
|
|
<width>220</width>
|
|
<height>313</height>
|
|
<onleft>60</onleft>
|
|
<onright>60</onright>
|
|
<onup>9000</onup>
|
|
<ondown>9000</ondown>
|
|
<itemgap>2</itemgap>
|
|
<control type="button" id="11">
|
|
<description>What's New button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>$VAR[AddonInfoButtonLabel]</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
<onclick condition="!String.IsEmpty(Window(home).Property(WhatsNew))">ClearProperty(WhatsNew,home)</onclick>
|
|
<onclick condition="String.IsEmpty(Window(home).Property(WhatsNew))">SetProperty(WhatsNew,True,home)</onclick>
|
|
<visible>!String.IsEmpty(ListItem.AddonNews)</visible>
|
|
</control>
|
|
<control type="button" id="9">
|
|
<description>Configure Addon</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>24020</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
<control type="button" id="8">
|
|
<description>Update Addon button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>24069</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
<control type="radiobutton" id="13">
|
|
<description>Auto-update button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>21340</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
<control type="button" id="12">
|
|
<description>Launch Addon button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>518</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
<control type="button" id="6">
|
|
<description>Install/UnInstall Addon button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>24022</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
<control type="button" id="7">
|
|
<description>Enable/Disable Addon button</description>
|
|
<width>220</width>
|
|
<height>43</height>
|
|
<label>24021</label>
|
|
<align>center</align>
|
|
<font>font12_title</font>
|
|
</control>
|
|
</control>
|
|
<control type="group">
|
|
<visible>!String.IsEmpty(ListItem.AddonBroken)</visible>
|
|
<left>0</left>
|
|
<top>600</top>
|
|
<control type="image">
|
|
<description>background image</description>
|
|
<left>0</left>
|
|
<top>0</top>
|
|
<width>920</width>
|
|
<height>100</height>
|
|
<texture border="20">OverlayDialogBackground.png</texture>
|
|
</control>
|
|
<control type="image">
|
|
<description>Icon image</description>
|
|
<left>20</left>
|
|
<top>20</top>
|
|
<width>60</width>
|
|
<height>60</height>
|
|
<texture>DefaultIconError.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<description>header label</description>
|
|
<left>100</left>
|
|
<top>15</top>
|
|
<width>800</width>
|
|
<height>25</height>
|
|
<font>font12_title</font>
|
|
<label>24096</label>
|
|
<align>left</align>
|
|
<aligny>center</aligny>
|
|
<textcolor>selected</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
</control>
|
|
<control type="textbox">
|
|
<description>Reason label</description>
|
|
<left>100</left>
|
|
<top>37</top>
|
|
<width>800</width>
|
|
<height>48</height>
|
|
<font>font13</font>
|
|
<label>$INFO[ListItem.AddonBroken]</label>
|
|
<align>left</align>
|
|
<textcolor>white</textcolor>
|
|
<shadowcolor>black</shadowcolor>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
</controls>
|
|
</window>
|