<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">50</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <controls>
        <!-- <include>DimBG</include> -->
        <include>TopBar</include>
        <control type="group">
            <include>FacadeFadeDialogs2ndLevelCondition</include>
            <visible>![Window.IsVisible(DialogAddonSettings.xml)]</visible>
            <include>Icon_Fade</include>
            <control type="group">
                <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]">conditional</animation>
                <include>DialogOpenClose</include>
                <control type="image">
                    <posx>-760</posx>
                    <posy>150</posy>
                    <width>2930</width>
                    <height>876</height>
                    <include>DialogTransparency</include>
                    <texture border="150,40,150,40">$VAR[Theme.Color]/common/bg_dialog.png</texture>
                </control>
                <control type="image">
                    <posx>100</posx>
                    <posy>142</posy>
                    <width>1720</width>
                    <height>217</height>
                    <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
                </control>
                <control type="image">
                    <posx>100</posx>
                    <posy>862</posy>
                    <width>1720</width>
                    <height>172</height>
                    <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
                </control>
                <control type="label">
                    <posx>TextMargin</posx>
                    <posy>183</posy>
                    <width>1800</width>
                    <height>135</height>
                    <align>center</align>
                    <font>InfoTitleFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.Property(Addon.Name)]</label>
                </control>
                <control type="image">
                    <posx>25</posx>
                    <posy>353</posy>
                    <width>520</width>
                    <height>520</height>
                    <include>SquareThumb</include>
                    <include>ThumbBorder</include>
                </control>
                <control type="group">
                    <posx>580</posx>
                    <posy>358</posy>
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1280</width>
                        <height>71</height>
                        <label>$INFO[ListItem.Property(Addon.Type),$LOCALIZE[146] ]</label>
                        <scroll>true</scroll>
                        <font>InfoDetailsFont</font>
                        <include>TextColor_MainColor</include>
                    </control>
                    <control type="label">
                        <posx>0</posx>
                        <posy>78</posy>
                        <width>1280</width>
                        <height>71</height>
                        <label>$INFO[ListItem.Property(Addon.Creator),$LOCALIZE[21863]: ]</label>
                        <scroll>true</scroll>
                        <font>InfoDetailsFont</font>
                        <include>TextColor_MainColor</include>
                    </control>
                    <control type="label">
                        <posx>0</posx>
                        <posy>156</posy>
                        <width>1280</width>
                        <height>71</height>
                        <label>$INFO[ListItem.Property(Addon.Version),$LOCALIZE[24051] ]</label>
                        <scroll>true</scroll>
                        <font>InfoDetailsFont</font>
                        <include>TextColor_MainColor</include>
                    </control>
                    <control type="fadelabel">
                        <posx>0</posx>
                        <posy>234</posy>
                        <width>1280</width>
                        <height>71</height>
                        <label>$INFO[ListItem.Property(Addon.Summary),$LOCALIZE[20037]: ]</label>
                        <scroll>true</scroll>
                        <font>InfoDetailsFont</font>
                        <include>TextColor_MainColor</include>
                        <scrollout>false</scrollout>
                        <pauseatend>2000</pauseatend>
                    </control>
                    <control type="textbox">
                        <posx>0</posx>
                        <posy>322</posy>
                        <width>1280</width>
                        <height>160</height>
                        <font>InfoPlotFont</font>
                        <label>$INFO[ListItem.Property(Addon.Description)]</label>
                        <pagecontrol>6060</pagecontrol>
                    </control>
                    <control type="scrollbar" id="6060">
                        <visible>Skin.HasSetting(ManualScroll)</visible>
                        <posx>1306</posx>
                        <posy>322</posy>
                        <height>160</height>
                        <include>VerticalScroller</include>
                        <onleft>50</onleft>
                        <onright>50</onright>
                    </control>
                </control>
                <control type="label">
                    <visible>IsEmpty(ListItem.Property(Addon.broken))</visible>
                    <posx>TextMargin</posx>
                    <posy>903</posy>
                    <width>1800</width>
                    <height>90</height>
                    <font>InfoDetailsFont</font>
                    <label>$INFO[ListItem.Property(Addon.Disclaimer),[COLOR=WarningColor]$LOCALIZE[24052]: [/COLOR]]</label>
                    <scroll>true</scroll>
                </control>
                <control type="label">
                    <visible>!IsEmpty(ListItem.Property(Addon.broken))</visible>
                    <posx>TextMargin</posx>
                    <posy>903</posy>
                    <width>1041</width>
                    <height>90</height>
                    <font>InfoDetailsFont</font>
                    <label>$INFO[ListItem.Property(Addon.broken),[COLOR=WarningColor]$LOCALIZE[24096]: [/COLOR]]</label>
                    <scroll>true</scroll>
                </control>
            </control>
            <!-- SIDE MENU -->
            <control type="group">
                <include>LeftMenu</include>
                <control type="grouplist" id="9000">
                    <include>LeftMenuButtonGroup</include>
                    <onright>50</onright>
                    <ondown>9000</ondown>
                    <onback>50</onback>
                    <control type="label" id="7965">
                        <include>LeftMenuTitleLabel</include>
                        <label>$LOCALIZE[33061]</label>
                    </control>
                    <control type="button" id="9">
                        <label>$LOCALIZE[5]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="8">
                        <label>$LOCALIZE[24069]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="10">
                        <label>$LOCALIZE[24036]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="7">
                        <label>$LOCALIZE[24021]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="11">
                        <label>$LOCALIZE[24048]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="6">
                        <label>$LOCALIZE[24022]</label>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="button" id="12">
                        <label>$LOCALIZE[518]</label>
                        <include>LeftMenuButton</include>
                    </control>
                </control>
                <include>LeftMenuScroller</include>
            </control>
            <control type="button" id="50">
                <include>HiddenButton</include>
                <onclick>Control.SetFocus(9000)</onclick>
                <onleft>9000</onleft>
                <onright>6060</onright>
                <onup>9000</onup>
                <ondown>9000</ondown>
            </control>
        </control>
    </controls>
</window>
