<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol>49</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <include condition="!Skin.HasSetting(BlackGlassMode)|Skin.HasSetting(DisableSlidingAnimations)">OpenClose</include>
    <controls>
        <include>Fanart_Art</include>
        <control type="group">
            <visible>!Skin.String(WeatherType,Map)</visible>
            <control type="image">
                <visible>!Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableFanart)</visible>
                <include>KenBurns</include>
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <texture background="true">$INFO[Container(54).Listitem.Thumb]</texture>
            </control>
            <control type="image">
                <visible>Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableFanart)</visible>
                <include>KenBurns</include>
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <texture background="true">$INFO[Container(50).ListItem.Thumb]</texture>
            </control>
        </control>
        <include>Player_Show</include>
        <control type="group">
            <visible>Skin.String(WeatherType,Map)</visible>
            <include>Icon_Fade</include>
            <control type="group">
                <control type="list" id="155">
                    <viewtype label="20445">biginfo</viewtype>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1920</width>
                    <height>1080</height>
                    <pagecontrol>60</pagecontrol>
                    <onleft>9000</onleft>
                    <onright>155</onright>
                    <onup>9000</onup>
                    <ondown>60</ondown>
                    <orientation>horizontal</orientation>
                    <focusposition>0</focusposition>
                    <movement>1</movement>
                    <preloaditems>4</preloaditems>
                    <itemlayout height="1080" width="1920">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1920</width>
                            <height>1080</height>
                            <aspectratio>scale</aspectratio>
                            <texture>$INFO[ListItem.Thumb]</texture>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1920</width>
                            <height>1080</height>
                            <aspectratio>scale</aspectratio>
                            <colordiffuse>70FFFFFF</colordiffuse>
                            <texture>$INFO[ListItem.Property(Layer)]</texture>
                        </control>
                    </itemlayout>
                    <focusedlayout height="1080" width="1920">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1920</width>
                            <height>1080</height>
                            <aspectratio>scale</aspectratio>
                            <texture>$INFO[ListItem.Thumb]</texture>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>1920</width>
                            <height>1080</height>
                            <aspectratio>scale</aspectratio>
                            <colordiffuse>70FFFFFF</colordiffuse>
                            <texture>$INFO[ListItem.Property(Layer)]</texture>
                        </control>
                    </focusedlayout>
                    <include>WeatherContent</include>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>750</posy>
                    <width>1920</width>
                    <height>330</height>
                    <texture border="10" flipy="true">common/basichome_upper_gradient.png</texture>
                </control>
                <control type="label">
                    <posx>0</posx>
                    <posy>960</posy>
                    <height>33</height>
                    <width>1920</width>
                    <align>center</align>
                    <font>InfoTitleFont</font>
                    <textcolor>MainColor</textcolor>
                    <label>$INFO[Container(155).ListItem.Label]</label>
                </control>
                <control type="image">
                    <description>legend image</description>
                    <posx>0</posx>
                    <posy>1010</posy>
                    <width>1920</width>
                    <height>35</height>
                    <aspectratio>keep</aspectratio>
                    <texture>$INFO[Container(155).ListItem.Property(Legend)]</texture>
                </control>
                <control type="scrollbar" id="60">
                    <posx>0</posx>
                    <posy>1046</posy>
                    <width>1920</width>
                    <include>HorizontalScroller</include>
                    <onup>155</onup>
                    <onright>noop</onright>
                    <ondown>60</ondown>
                </control>
                <control type="button">
                    <posx>1720</posx>
                    <posy>200</posy>
                    <width>200</width>
                    <height>800</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(155,1)</onclick>
                    <onfocus>Control.Move(155,1)</onfocus>
                </control>
                <control type="button">
                    <posx>0</posx>
                    <posy>200</posy>
                    <width>200</width>
                    <height>800</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <onclick>Control.Move(155,-1)</onclick>
                    <onfocus>Control.Move(155,-1)</onfocus>
                </control>
            </control>
        </control>
        <include>Time</include>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitle</include>
            <label>$LOCALIZE[8]</label>
        </control>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitleSub</include>
            <label>$INFO[Window.Property(WeatherProvider)]</label>
        </control>
        <control type="group" id="49">
            <!-- BGN -->
            <control type="group">
                <visible>!Skin.HasSetting(BlackGlassMode)</visible>
                <control type="group">
                    <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="-2690,0" condition="Control.HasFocus(505050)">conditional</animation>
                    <control type="group">
                        <visible>!Skin.String(WeatherType,Map)</visible>
                        <include>View_54_LowList_Weather</include>
                        <include>Info_54_LowList_Weather</include>
                    </control>
                </control>
                <control type="group">
                    <include>Icon_Fade</include>
                    <visible>Control.hasfocus(505050)</visible>
                    <control type="image">
                        <posx>0</posx>
                        <posy>750</posy>
                        <width>1920</width>
                        <height>330</height>
                        <texture border="10" flipy="true">common/basichome_upper_gradient.png</texture>
                    </control>
                    <control type="label">
                        <posx>52</posx>
                        <posy>933</posy>
                        <width>1830</width>
                        <height>45</height>
                        <align>center</align>
                        <font>InfoTitleFont</font>
                        <textcolor>MainColor</textcolor>
                        <shadowcolor>ShadowColor</shadowcolor>
                        <label>$INFO[Weather.Location]</label>
                    </control>
                    <control type="label">
                        <posx>407</posx>
                        <posy>1010</posy>
                        <height>33</height>
                        <width>1120</width>
                        <align>center</align>
                        <font>InfoDetailsFont</font>
                        <textcolor>AlternateColor</textcolor>
                        <label>$INFO[Container(54).ListItem.Property(Property3)]</label>
                    </control>
                </control>
            </control>
            <!-- BG -->
            <control type="group">
                <visible>Skin.HasSetting(BlackGlassMode)</visible>
                <control type="group">
                    <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)">conditional</animation>
                    <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="-2090,0" condition="Control.HasFocus(505050)">conditional</animation>
                    <include condition="!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
                    <control type="group">
                        <visible>!Skin.String(WeatherType,Map)</visible>
                        <include>Info_50_Weather_BG</include>
                        <include>View_50_Weather_BG</include>
                    </control>
                </control>
                <control type="group">
                    <include>Icon_Fade</include>
                    <visible>Control.hasfocus(505050)</visible>
                    <control type="image">
                        <posx>0</posx>
                        <posy>750</posy>
                        <width>1920</width>
                        <height>330</height>
                        <texture border="10" flipy="true">common/basichome_upper_gradient.png</texture>
                    </control>
                    <control type="label">
                        <posx>52</posx>
                        <posy>933</posy>
                        <width>1830</width>
                        <height>45</height>
                        <align>center</align>
                        <font>InfoTitleFont</font>
                        <textcolor>MainColor</textcolor>
                        <shadowcolor>ShadowColor</shadowcolor>
                        <label>$INFO[Weather.Location]</label>
                    </control>
                    <control type="label">
                        <posx>407</posx>
                        <posy>1010</posy>
                        <height>33</height>
                        <width>1120</width>
                        <align>center</align>
                        <font>InfoDetailsFont</font>
                        <textcolor>AlternateColor</textcolor>
                        <label>$INFO[Container(50).ListItem.Property(Property3)]</label>
                    </control>
                </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 condition="!Skin.String(WeatherType,Map)">49</onright>
                <onright condition="Skin.String(WeatherType,Map)">155</onright>
                <ondown>9000</ondown>
                <onback condition="!Skin.String(WeatherType,Map)">49</onback>
                <onback condition="Skin.String(WeatherType,Map)">155</onback>
                <control type="radiobutton" id="502">
                    <visible>!String.IsEmpty(Window.Property(Daily.IsFetched))|Skin.String(WeatherType,)|Skin.String(WeatherType,daily)</visible>
                    <selected>Skin.String(WeatherType,daily)|Skin.String(WeatherType,)</selected>
                    <label>$LOCALIZE[31904]</label>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.SetString(WeatherType,daily)</onclick>
                </control>
                <control type="radiobutton" id="503">
                    <visible>!String.IsEmpty(Window.Property(36Hour.IsFetched))</visible>
                    <selected>Skin.String(WeatherType,36Hour)</selected>
                    <label>$LOCALIZE[31901]</label>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.SetString(WeatherType,36Hour)</onclick>
                </control>
                <control type="radiobutton" id="504">
                    <visible>!String.IsEmpty(Window.Property(Weekend.IsFetched))</visible>
                    <selected>Skin.String(WeatherType,Weekend)</selected>
                    <label>$LOCALIZE[31903]</label>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.SetString(WeatherType,Weekend)</onclick>
                </control>
                <control type="radiobutton" id="505">
                    <visible>!String.IsEmpty(Window.Property(Hourly.IsFetched))</visible>
                    <selected>Skin.String(WeatherType,Hourly)</selected>
                    <label>$LOCALIZE[31902]</label>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.SetString(WeatherType,Hourly)</onclick>
                </control>
                <control type="radiobutton" id="506">
                    <visible>!String.IsEmpty(Window.Property(Map.IsFetched))</visible>
                    <selected>Skin.String(WeatherType,Map)</selected>
                    <label>$LOCALIZE[31910]</label>
                    <include>LeftMenuButton</include>
                    <onclick>Skin.SetString(WeatherType,Map)</onclick>
                </control>
                <control type="label" id="9183">
                    <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="2">
                    <include>LeftMenuButton</include>
                </control>
                <control type="button" id="4">
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[5]</label>
                    <onclick>Skin.Reset(WeatherType)</onclick>
                    <onclick>ActivateWindow(MyWeatherSettings)</onclick>
                    <ondown>3</ondown>
                </control>
                <control type="group" id="300">
                    <width>578</width>
                    <height>71</height>
                    <control type="spincontrolex" id="3">
                        <description>change location button</description>
                        <font>-</font>
                        <onup>4</onup>
                        <ondown>490</ondown>
                        <onright>49</onright>
                        <include>LeftMenuButton</include>
                    </control>
                    <control type="label" id="301">
                        <animation effect="fade" start="100" end="66" time="0" condition="!control.hasfocus(3)">Conditional</animation>
                        <label>396</label>
                        <include>LeftMenuButton</include>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>
