<?xml version="1.0" encoding="utf-8"?>
<window type="window">
    <defaultcontrol always="true">450</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <include condition="!Skin.HasSetting(BlackGlassMode)|Skin.HasSetting(DisableSlidingAnimations)">OpenClose</include>
    <controls>
        <include>Fanart_Art</include>
        <include>Player_Show</include>
        <include>Time</include>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitle</include>
            <label>$LOCALIZE[10000]</label>
        </control>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitleSub</include>
            <label>$VAR[GlobalSubTitles]</label>
        </control>
        <control type="group">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="580,0" condition="[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)]+!Skin.HasSetting(DisableSlidingAnimations)+Skin.HasSetting(BlackGlassMode)">conditional</animation>
            <control type="image">
                <posx>-750</posx>
                <posy>750</posy>
                <width>2958</width>
                <height>330</height>
                <texture border="10">common/HomeGradient.png</texture>
            </control>
            <control type="label">
                <posx>30</posx>
                <posy>990</posy>
                <width>1860</width>
                <height>90</height>
                <align>center</align>
                <font>InfoTitleFont</font>
                <textcolor>MainColor</textcolor>
                <shadowcolor>ShadowColor</shadowcolor>
                <label>$INFO[ListItem.Label]</label>
            </control>
            <control type="image">
                <posx>-750</posx>
                <posy>94</posy>
                <width>2958</width>
                <height>930</height>
                <include condition="!Skin.HasSetting(BlackGlassMode)">bg_tvguide</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">bg_tvguide_BG</include>
            </control>
            <control type="group">
                <control type="panel" id="450">
                    <posx>15</posx>
                    <posy>142</posy>
                    <width>1890</width>
                    <height>837</height>
                    <orientation>vertical</orientation>
                    <onleft>9000</onleft>
                    <onright>60</onright>
                    <onup>450</onup>
                    <ondown>450</ondown>
                    <preloaditems>4</preloaditems>
                    <pagecontrol>60</pagecontrol>
                    <scrolltime>400</scrolltime>
                    <itemlayout condition="!Skin.HasSetting(53_BigGrid)" height="279" width="270">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>270</width>
                            <height>279</height>
                            <include>SquareThumb</include>
                            <include>ThumbBorder</include>
                        </control>
                    </itemlayout>
                    <focusedlayout condition="!Skin.HasSetting(53_BigGrid)" height="279" width="270">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>270</width>
                            <height>279</height>
                            <include>SquareThumb</include>
                            <include>ThumbBorderOverlay</include>
                        </control>
                    </focusedlayout>
                    <itemlayout condition="Skin.HasSetting(53_BigGrid)" height="418" width="378">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>378</width>
                            <height>418</height>
                            <include>SquareThumb</include>
                            <include>ThumbBorder</include>
                        </control>
                    </itemlayout>
                    <focusedlayout condition="Skin.HasSetting(53_BigGrid)" height="418" width="378">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>378</width>
                            <height>418</height>
                            <include>SquareThumb</include>
                            <include>ThumbBorderOverlay</include>
                        </control>
                    </focusedlayout>
                </control>
                <control type="scrollbar" id="60">
                    <animation effect="slide" start="0,0" end="-8,0" time="150">Focus</animation>
                    <animation effect="slide" start="-8,0" end="0,0" time="300">UnFocus</animation>
                    <posx>1899</posx>
                    <posy>142</posy>
                    <height>837</height>
                    <include>VerticalScroller</include>
                    <onleft>450</onleft>
                    <onright>9000</onright>
                </control>
            </control>
        </control>
        <!-- SIDE MENU -->
        <control type="group">
            <visible>!Skin.HasSetting(EnableKioskMode)</visible>
            <include>LeftMenu</include>
            <control type="label">
                <include>LeftMenuTitleLabel</include>
                <label>$LOCALIZE[582]</label>
            </control>
            <control type="grouplist" id="9000">
                <include>LeftMenuButtonGroup</include>
                <onleft>9000</onleft>
                <onright>450</onright>
                <onup>9000</onup>
                <ondown>9000</ondown>
                <onback>450</onback>
                <control type="radiobutton" id="9157">
                    <font>LeftMenuSubButtonFont</font>
                    <textwidth>450</textwidth>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.ToggleSetting(53_BigGrid)</onclick>
                    <selected>Skin.HasSetting(53_BigGrid)</selected>
                    <label>$LOCALIZE[538]</label>
                </control>
                <control type="label" id="9183">
                    <textoffsety>35</textoffsety>
                    <height>69</height>
                    <include>LeftMenuTitleLabel</include>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[1034]</label>
                </control>
                <control type="image" id="9184">
                    <width>577</width>
                    <height>2</height>
                    <texture border="0,0,0,2">list/bg_facade_nofocus_top.png</texture>
                </control>
                <control type="button" id="699">
                    <enable>Player.HasMedia</enable>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[16003]</label>
                    <onclick>fullscreen</onclick>
                </control>
           </control>
        </control>
    </controls>
</window>
