<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">20</defaultcontrol>
    <menucontrol>21</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="[Control.HasFocus(21)|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>$LOCALIZE[20344]</label>
                </control>
                <control type="image">
                    <posx>25</posx>
                    <posy>343</posy>
                    <width>538</width>
                    <height>538</height>
                    <aspectratio>keep</aspectratio>
                    <texture background="true">$INFO[ListItem.Icon]</texture>
                    <include>ThumbBorder</include>
                </control>
                <control type="spincontrolex" id="20">
                    <description>Content Picker</description>
                    <posx>545</posx>
                    <posy>318</posy>
                    <width>1375</width>
                    <height>78</height>
                    <!-- <align>left</align> -->
                    <onup>28</onup>
                    <ondown>5</ondown>
                    <onleft>21</onleft>
                    <onright>21</onright>
                    <subtype>text</subtype>
                    <include>LeftMenuButtonWide</include>
                </control>
                <control type="grouplist" id="5">
                    <description>control area</description>
                    <posx>545</posx>
                    <posy>396</posy>
                    <width>1375</width>
                    <height>657</height>
                    <itemgap>0</itemgap>
                    <onup>20</onup>
                    <ondown>28</ondown>
                    <onleft>21</onleft>
                    <onright>21</onright>
                </control>
                <control type="button" id="7">
                    <description>Default Button</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1375</width>
                    <height>78</height>
                    <include>LeftMenuButtonWide</include>
                </control>
                <control type="radiobutton" id="8">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1375</width>
                    <height>78</height>
                    <radioposx>1261</radioposx>
                    <textwidth>1155</textwidth>
                    <include>LeftMenuButtonWide</include>
                </control>
                <control type="grouplist">
                    <posx>TextMargin</posx>
                    <posy>903</posy>
                    <width>1800</width>
                    <height>90</height>
                    <itemgap>30</itemgap>
                    <aligny>bottom</aligny>
                    <align>center</align>
                    <orientation>horizontal</orientation>
                    <control type="button" id="22">
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[5]</label>
                        <onleft>29</onleft>
                        <onright>28</onright>
                        <onup>20</onup>
                        <ondown>20</ondown>
                    </control>
                    <control type="button" id="28">
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[186]</label>
                        <onleft>22</onleft>
                        <onright>29</onright>
                        <onup>20</onup>
                        <ondown>20</ondown>
                    </control>
                    <control type="button" id="29">
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[222]</label>
                        <onleft>28</onleft>
                        <onright>22</onright>
                        <onup>20</onup>
                        <ondown>20</ondown>
                    </control>
                </control>
                <!-- SIDE MENU -->
                <control type="group">
                    <!-- <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="[Control.HasFocus(4)|Control.HasFocus(8999)|Control.HasFocus(9060)]">Conditional</animation> -->
                    <include>LeftMenu</include>
                    <control type="label" id="7965">
                        <posx>-660</posx>
                        <posy>183</posy>
                        <include>LeftMenuTitleLabel</include>
                        <label>$LOCALIZE[24018]</label>
                    </control>
                    <control type="list" id="21">
                        <posy>261</posy>
                        <include>LeftMenuButtonGroup</include>
                        <onright>20</onright>
                        <ondown>9</ondown>
                        <onback>20</onback>
                        <itemlayout width="660" height="78">
                            <control type="label">
                                <posx>TextMargin</posx>
                                <height>78</height>
                                <width>520</width>
                                <font>FacadeListMainFont</font>
                                <include>TextColor_AlternateColor</include>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                        </itemlayout>
                        <focusedlayout width="660" height="78">
                            <control type="group">
                                <include>ButtonFocusAnimation</include>
                                <control type="image">
                                    <posx>0</posx>
                                    <posy>0</posy>
                                    <height>78</height>
                                    <width>660</width>
                                    <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                                </control>
                                <control type="label">
                                    <posx>TextMargin</posx>
                                    <height>78</height>
                                    <width>520</width>
                                    <font>FacadeListMainFont</font>
                                    <include>TextColor_MainColor</include>
                                    <label>$INFO[ListItem.Label]</label>
                                </control>
                            </control>
                        </focusedlayout>
                    </control>
                    <include>LeftMenuScroller</include>
                </control>
            </control>
        </control>
    </controls>
</window>
