<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<onunload>ClearProperty(showinfo,addoninformation)</onunload>
	<controls>
		<include>backgroundsimple</include>
		<include>fullscreendummy</include>
		<control type="group">
			<visible>!Window.isVisible(addonsettings) + !Window.IsActive(textviewer)</visible>
			<control type="image">
				<left>90</left>
				<top>158</top>
				<width>384</width>
				<height>384</height>
				<aspectratio>keep</aspectratio>
				<texture fallback="DefaultAddon.png" diffuse="mask-squ.png">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>570</left>
				<top>54</top>
				<width>1290</width>
				<height>45</height>
				<font>apptv30</font>
				<label>$INFO[ListItem.AddonName]</label>
			</control>
			<control type="image">
				<left>570</left>
				<top>162</top>
				<width>1290</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="textbox" id="1122">
				<left>570</left>
				<top>165</top>
				<width>1290</width>
				<height>180</height>
				<label>$VAR[AddonInfoDescription]</label>
				<font>apptv20</font>
				<align>justify</align>
				<pagecontrol>1123</pagecontrol>
			</control>
			<control type="scrollbar" id="1123">
				<left>1874</left>
				<top>165</top>
				<width>18</width>
				<height>183</height>
				<onleft>9000</onleft>
				<ondown>9000</ondown>
				<animation condition="!Control.HasFocus(1123) + !Container.Scrolling + $EXP[isnotAlwaysScrollbar]" effect="fade" start="100" end="0" time="200" reversible="true">Conditional</animation>
				<visible>$EXP[isEnabledScrollbar]</visible>
			</control>
			<control type="image">
				<left>570</left>
				<top>348</top>
				<width>1290</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="group">
				<left>570</left>
				<top>360</top>
				<control type="label"><!-- Addon type heading -->
					<left>0</left>
					<top>0</top>
					<width>238</width>
					<height>33</height>
					<label>$LOCALIZE[146]</label>
					<font>apptv22</font>
				</control>
				<control type="label">
					<left>252</left>
					<top>3</top>
					<width>450</width>
					<height>30</height>
					<label>$INFO[ListItem.AddonType]</label>
					<font>apptv20</font>
				</control>
				<control type="label"><!-- Version heading -->
					<left>708</left>
					<top>0</top>
					<width>238</width>
					<height>33</height>
					<label>$LOCALIZE[24051]</label>
					<font>apptv22</font>
				</control>
				<control type="label">
					<left>952</left>
					<top>3</top>
					<width>300</width>
					<height>30</height>
					<label>$INFO[ListItem.AddonVersion]</label>
					<font>apptv20</font>
				</control>
				<control type="label"><!-- Author heading -->
					<left>0</left>
					<top>39</top>
					<width>238</width>
					<height>33</height>
					<label>$LOCALIZE[21863]:</label>
					<font>apptv22</font>
				</control>
				<control type="label">
					<left>252</left>
					<top>42</top>
					<width>900</width>
					<height>30</height>
					<label>$INFO[ListItem.AddonCreator]</label>
					<font>apptv20</font>
				</control>
				<control type="group">
					<visible>String.IsEmpty(Window.Property(showinfo)) + !String.IsEmpty(ListItem.AddonDisclaimer)</visible>
					<control type="label"><!-- Disclaimer heading -->
						<left>0</left>
						<top>78</top>
						<width>240</width>
						<height>33</height>
						<label>$LOCALIZE[24052]</label>
						<font>apptv22</font>
					</control>
					<control type="textbox">
						<left>252</left>
						<top>81</top>
						<width>1038</width>
						<height>144</height>
						<font>apptv20</font>
						<label>$INFO[ListItem.AddonDisclaimer]</label>
						<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(text-autoscroll)</autoscroll>
					</control>
				</control>
				<control type="group">
					<visible>String.Contains(Window.Property(showinfo),news)</visible>
					<control type="label"><!-- Addon news heading -->
						<left>0</left>
						<top>78</top>
						<width>240</width>
						<height>33</height>
						<label>$LOCALIZE[29916]</label>
						<font>apptv22</font>
					</control>
					<control type="textbox">
						<left>252</left>
						<top>81</top>
						<width>1038</width>
						<height>144</height>
						<font>apptv20</font>
						<label>$INFO[ListItem.AddonNews]</label>
						<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(text-autoscroll)</autoscroll>
					</control>
				</control>
			</control>
			<control type="grouplist" id="9000"><!-- Option buttons -->
				<left>540</left>
				<top>600</top>
				<width>1320</width>
				<height>144</height>
				<orientation>horizontal</orientation>
				<itemgap>22</itemgap>
				<align>center</align>
				<onleft>1005</onleft>
				<onright>1005</onright>
				<onup condition="Integer.IsGreater(Container(1122).NumPages,1)">1123</onup>
				<onup condition="Integer.IsLessOrEqual(Container(1122).NumPages,1)">1005</onup>
				<ondown condition="Integer.IsGreater(Container(50).NumItems,0)">50</ondown>
				<ondown condition="Integer.IsLessOrEqual(Container(50).NumItems,0)">950</ondown>
				<control type="button" id="6"><!-- Install/uninstall addon button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[24022]</label>
					<texturefocus>button-info-install-focus.png</texturefocus>
					<texturenofocus>button-info-install.png</texturenofocus>
					<visible>Control.IsEnabled(6)</visible>
				</control>
				<control type="button" id="7"><!-- Disable/enable addon button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[24021]</label>
					<texturefocus>button-info-switch-focus.png</texturefocus>
					<texturenofocus>button-info-switch.png</texturenofocus>
					<visible>Control.IsEnabled(7)</visible>
				</control>
				<control type="togglebutton" id="800"><!-- news/info toggle -->
					<include>info-options-common</include>
					<label>$LOCALIZE[29916]</label>
					<altlabel>$LOCALIZE[29915]</altlabel>
					<texturefocus>button-info-plot-focus.png</texturefocus>
					<texturenofocus>button-info-plot.png</texturenofocus>
					<alttexturefocus>button-info-plot-focus.png</alttexturefocus>
					<alttexturenofocus>button-info-plot.png</alttexturenofocus>
					<usealttexture>String.Contains(Window.Property(showinfo),news)</usealttexture>
					<onclick condition="!String.Contains(Window.Property(showinfo),news)">SetProperty(showinfo,news)</onclick>
					<onclick condition="String.Contains(Window.Property(showinfo),news)">ClearProperty(showinfo)</onclick>
					<visible>!String.IsEmpty(ListItem.AddonNews)</visible>
				</control>
				<control type="button" id="8"><!-- Update addon button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[24069]</label>
					<texturefocus>button-info-update-focus.png</texturefocus>
					<texturenofocus>button-info-update.png</texturenofocus>
					<visible>Control.IsEnabled(8)</visible>
				</control>
				<control type="button" id="9"><!-- Config button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[24020]</label>
					<texturefocus>button-info-settings-focus.png</texturefocus>
					<texturenofocus>button-info-settings.png</texturenofocus>
					<visible>Control.IsEnabled(9)</visible>
				</control>
				<control type="button" id="13"><!-- Enable/disable auto updates -->
					<include>info-options-common</include>
					<label>$LOCALIZE[21340]</label>
					<texturefocus>button-info-update-focus.png</texturefocus>
					<texturenofocus>button-info-update.png</texturenofocus>
					<visible>Control.IsEnabled(13)</visible>
				</control>
				<control type="button" id="10"><!-- Show dependencies -->
					<include>info-options-common</include>
					<label>$LOCALIZE[39024]</label>
					<texturefocus>button-info-plot-focus.png</texturefocus>
					<texturenofocus>button-info-plot.png</texturenofocus>
					<visible>Control.IsEnabled(10)</visible>
				</control>
				<control type="button" id="12"><!-- Launch Addon Button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[518]</label>
					<texturefocus>button-info-play-focus.png</texturefocus>
					<texturenofocus>button-info-play.png</texturenofocus>
					<visible>Control.IsEnabled(12)</visible>
				</control>
			</control>
			<control type="label"><!-- Screenshots heading -->
				<left>30</left>
				<top>732</top>
				<height>30</height>
				<width>450</width>
				<label>$LOCALIZE[20008]</label>
				<font>apptv22</font>
				<align>right</align>
				<visible>Integer.IsGreater(Container(50).NumItems,0)</visible>
			</control>
			<control type="label"><!-- Updated addons heading -->
				<left>30</left>
				<top>732</top>
				<height>30</height>
				<width>450</width>
				<label>$LOCALIZE[31690]</label>
				<font>apptv22</font>
				<align>right</align>
				<visible>Integer.IsLessOrEqual(Container(50).NumItems,0)</visible>
			</control>
			<control type="image">
				<left>510</left>
				<top>756</top>
				<width>1350</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="list" id="50"><!-- Screenshots -->
				<left>84</left>
				<top>816</top>
				<width>1752</width>
				<height>210</height>
				<onleft>1010</onleft>
				<onright>1010</onright>
				<ondown>1010</ondown>
				<onup>9000</onup>
				<orientation>horizontal</orientation>
				<itemlayout width="438">
					<control type="image">
						<left>32</left>
						<top>15</top>
						<width>375</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="UnFocusedPosters" background="true">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="438">
					<control type="image">
						<left>32</left>
						<top>15</top>
						<width>375</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<animation effect="zoom" start="100" end="116" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
				</focusedlayout>
			</control>
			<control type="group">
				<!-- Markers for control area items -->
				<visible>Control.IsVisible(50)</visible>
				<include content="page-offscreen-horizontal">
					<param name="indicator1left" value="30"/>
					<param name="indicator1top" value="924"/>
					<param name="indicator2left" value="1866"/>
					<param name="indicator2top" value="921"/>
					<param name="indicatorsize" value="24"/>
					<param name="indicatorcontainer" value="50"/>
				</include>
			</control>
			<control type="list" id="950"><!-- Recently Updated Addons -->
				<visible>Integer.IsLessOrEqual(Container(50).NumItems,0)</visible>
				<left>15</left>
				<top>762</top>
				<width>1890</width>
				<height>312</height>
				<onleft>1015</onleft>
				<onright>1015</onright>
				<ondown>1015</ondown>
				<onup>9000</onup>
				<orientation>horizontal</orientation>
				<itemlayout width="315">
					<control type="image">
						<left>52</left>
						<top>18</top>
						<width>210</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="UnFocusedPosters" background="true">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout width="315">
					<control type="image">
						<left>52</left>
						<top>18</top>
						<width>210</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>240</top>
						<width>315</width>
						<height>72</height>
						<label>$INFO[ListItem.Label] [COLOR=disabled-text]$INFO[ListItem.Label2,(,)][/COLOR]</label>
						<font>apptv20</font>
						<align>center</align>
						<animation effect="fade" time="100" delay="200">Focus</animation>
						<visible>Control.HasFocus(950)</visible>
					</control>
				</focusedlayout>
				<content limit="20">addons://recently_updated/</content>
			</control>
			<control type="group">
				<!-- Markers for control area items -->
				<visible>Control.IsVisible(950)</visible>
				<include content="page-offscreen-horizontal">
					<param name="indicator1left" value="30"/>
					<param name="indicator1top" value="870"/>
					<param name="indicator2left" value="1866"/>
					<param name="indicator2top" value="870"/>
					<param name="indicatorsize" value="24"/>
					<param name="indicatorcontainer" value="950"/>
				</include>
			</control>
			<!-- Play bump sound if user tries to leave button bar by undefined direction -->
			<include content="illegal-action">
				<param name="controlid" value="1005" />
				<param name="returnid" value="9000" />
			</include>
			<!-- Play bump sound if user tries to leave screenshots widget by undefined direction -->
			<include content="illegal-action">
				<param name="controlid" value="1010" />
				<param name="returnid" value="50" />
			</include>
			<!-- Play bump sound if user tries to leave recent updates widget by undefined direction -->
			<include content="illegal-action">
				<param name="controlid" value="1015" />
				<param name="returnid" value="950" />
			</include>
		</control>
		<!-- Show a iOS style page indicator to show which focus group has the current focus -->
		<!-- Focus group can be hidden or shown but is potentially focusable, that is it has not be disabled -->
		<control type="group">
			<include content="page-indicator">
				<param name="indicatorleft" value="0" />
				<param name="indicatortop" value="444" />
				<param name="indicatorwidth" value="48" />
				<param name="indicatorheight" value="192" />
				<param name="indicatororientation" value="vertical" />
				<param name="grp1indicate" value="Control.HasFocus(1123)" />
				<param name="grp1visible" value="$EXP[isnotAlwaysScrollbar]+Integer.IsGreater(Container(1122).NumPages,1)" />
				<param name="grp2indicate" value="ControlGroup(9000).HasFocus()|Control.HasFocus(3550)" />
				<param name="grp2visible" value="Integer.IsGreater(Container(950).NumItems,0)|Integer.IsGreater(Container(50).NumItems,0)|[$EXP[isnotAlwaysScrollbar]+Integer.IsGreater(Container(1122).NumPages,1)]" />
				<param name="grp3indicate" value="Control.HasFocus(950)|Control.HasFocus(50)" />
				<param name="grp3visible" value="[Integer.IsGreater(Container(950).NumItems,0)+Control.IsVisible(950)]|[Integer.IsGreater(Container(50).NumItems,0)+Control.IsVisible(50)]" />
			</include>
		</control>
	</controls>
</window>