<?xml version="1.0" encoding="utf-8"?>
<window type="dialog">
    <defaultcontrol always="true">29</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <controls>
        <!-- <include>DimBG</include> -->
        <include>TopBar</include>
        <control type="group">
            <include>FacadeFadeDialogs2ndLevelCondition</include>
            <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>105</height>
                    <align>center</align>
                    <font>InfoTitleFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$LOCALIZE[19143]</label>
                </control>
                <control type="label">
                    <posx>0</posx>
                    <posy>270</posy>
                    <width>640</width>
                    <height>35</height>
                    <align>center</align>
                    <font>InfoTitleSubFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$LOCALIZE[19146]</label>
                </control>
                <control type="label" id="21">
                    <posx>640</posx>
                    <posy>270</posy>
                    <width>640</width>
                    <height>35</height>
                    <align>center</align>
                    <font>InfoTitleSubFont</font>
                    <include>TextColor_MainColor</include>
                </control>
                <control type="label" id="22">
                    <posx>1280</posx>
                    <posy>270</posy>
                    <width>640</width>
                    <height>35</height>
                    <align>center</align>
                    <font>InfoTitleSubFont</font>
                    <include>TextColor_MainColor</include>
                </control>
                <control type="list" id="13">
                    <posx>0</posx>
                    <posy>318</posy>
                    <width>960</width>
                    <height>585</height>
                    <onup>13</onup>
                    <ondown>9001</ondown>
                    <onleft>9000</onleft>
                    <onright>73</onright>
                    <pagecontrol>73</pagecontrol>
                    <itemlayout width="640" 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="640" height="78">
                        <control type="group">
                            <include>ButtonFocusAnimation</include>
                            <control type="image">
                                <visible>control.hasfocus(13)</visible>
                                <posx>0</posx>
                                <posy>0</posy>
                                <height>78</height>
                                <width>640</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>
                <control type="scrollbar" id="73">
                    <posx>606</posx>
                    <posy>318</posy>
                    <height>585</height>
                    <include>VerticalScroller</include>
                    <onleft>13</onleft>
                    <onright>11</onright>
                    <ondown>73</ondown>
                    <onup>73</onup>
                </control>
                <control type="list" id="11">
                    <posx>640</posx>
                    <posy>318</posy>
                    <width>640</width>
                    <height>585</height>
                    <onup>11</onup>
                    <ondown>9001</ondown>
                    <onleft>73</onleft>
                    <onright>71</onright>
                    <pagecontrol>71</pagecontrol>
                    <itemlayout width="640" height="78">
                        <control type="label">
                            <posx>250</posx>
                            <height>78</height>
                            <width>330</width>
                            <font>FacadeListMainFont</font>
                            <include>TextColor_AlternateColor</include>
                            <label>$INFO[ListItem.ChannelNumberLabel,, - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout width="640" height="195">
                        <control type="group">
                            <include>ButtonFocusAnimation</include>
                            <control type="image">
                                <visible>control.hasfocus(11)</visible>
                                <posx>0</posx>
                                <posy>0</posy>
                                <height>195</height>
                                <width>640</width>
                                <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                            </control>
                            <control type="image">
                                <posx>0</posx>
                                <posy>0</posy>
                                <width>236</width>
                                <height>195</height>
                                <include>SquareThumb</include>
                                <include>ThumbBorder</include>
                            </control>
                            <control type="label">
                                <posx>250</posx>
                                <posy>0</posy>
                                <height>195</height>
                                <width>330</width>
                                <font>FacadeListMainFont</font>
                                <include>TextColor_MainColor</include>
                                <label>[B]$INFO[ListItem.ChannelNumberLabel,, - ]$INFO[ListItem.ChannelName][/B]</label>
                            </control>
                        </control>
                    </focusedlayout>
                </control>
                <control type="scrollbar" id="71">
                    <posx>1246</posx>
                    <posy>318</posy>
                    <height>585</height>
                    <include>VerticalScroller</include>
                    <onleft>11</onleft>
                    <onright>12</onright>
                    <ondown>71</ondown>
                    <onup>71</onup>
                </control>
                <control type="list" id="12">
                    <posx>1280</posx>
                    <posy>318</posy>
                    <width>640</width>
                    <height>585</height>
                    <onup>12</onup>
                    <ondown>9001</ondown>
                    <onleft>71</onleft>
                    <onright>72</onright>
                    <pagecontrol>72</pagecontrol>
                    <itemlayout width="640" height="78">
                        <control type="label">
                            <posx>250</posx>
                            <height>78</height>
                            <width>330</width>
                            <font>FacadeListMainFont</font>
                            <include>TextColor_AlternateColor</include>
                            <label>$INFO[ListItem.ChannelNumberLabel,, - ]$INFO[ListItem.ChannelName]</label>
                        </control>
                    </itemlayout>
                    <focusedlayout width="640" height="195">
                        <control type="group">
                            <include>ButtonFocusAnimation</include>
                            <control type="image">
                                <visible>control.hasfocus(12)</visible>
                                <posx>0</posx>
                                <posy>0</posy>
                                <height>195</height>
                                <width>640</width>
                                <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                            </control>
                            <control type="image">
                                <posx>0</posx>
                                <posy>0</posy>
                                <width>236</width>
                                <height>195</height>
                                <include>SquareThumb</include>
                                <include>ThumbBorder</include>
                            </control>
                            <control type="label">
                                <posx>250</posx>
                                <posy>0</posy>
                                <height>195</height>
                                <width>330</width>
                                <font>FacadeListMainFont</font>
                                <include>TextColor_MainColor</include>
                                <label>[B]$INFO[ListItem.ChannelNumberLabel,, - ]$INFO[ListItem.ChannelName][/B]</label>
                            </control>
                        </control>
                    </focusedlayout>
                </control>
                <control type="scrollbar" id="72">
                    <posx>1886</posx>
                    <posy>318</posy>
                    <height>585</height>
                    <include>VerticalScroller</include>
                    <onleft>12</onleft>
                    <onright>26</onright>
                    <ondown>72</ondown>
                    <onup>72</onup>
                </control>
                <control type="grouplist" id="9001">
                    <posx>TextMargin</posx>
                    <posy>903</posy>
                    <width>1800</width>
                    <height>90</height>
                    <itemgap>30</itemgap>
                    <aligny>bottom</aligny>
                    <align>center</align>
                    <orientation>horizontal</orientation>
                    <onup>12</onup>
                    <ondown>9001</ondown>
                    <onleft>9000</onleft>
                    <onright>9001</onright>
                    <control type="button" id="29">
                        <description>OK</description>
                        <include>ButtonFocusAnimation</include>
                        <label>$LOCALIZE[186]</label>
                    </control>
                </control>
            </control>
            <control type="label" id="20">
                <description>Fake Label used to pass on name label</description>
                <visible>false</visible>
            </control>
            <!-- SIDE MENU -->
            <control type="group">
                <include>LeftMenu</include>
                <control type="grouplist" id="9000">
                    <include>LeftMenuButtonGroup</include>
                    <onright>13</onright>
                    <ondown>9000</ondown>
                    <onback>13</onback>
                    <control type="label" id="7965">
                        <include>LeftMenuTitleLabel</include>
                        <label>$LOCALIZE[33061]</label>
                    </control>
                    <control type="button" id="26">
                        <description>Add Group</description>
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[31503]</label>
                    </control>
                    <control type="radiobutton" id="25">
                        <description>Hide Group</description>
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[19289]</label>
                    </control>
                    <control type="button" id="27">
                        <description>Rename Group</description>
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[31504]</label>
                    </control>
                    <control type="button" id="28">
                        <description>Delete Group</description>
                        <include>LeftMenuButton</include>
                        <label>$LOCALIZE[31505]</label>
                    </control>
                </control>
                <include>LeftMenuScroller</include>
            </control>
        </control>
    </controls>
</window>
