<?xml version="1.0" encoding="utf-8"?>
<window id="2600">
    <defaultcontrol always="true">50</defaultcontrol>
     
    <controls>
        <control type="button" id="50">
            <texturefocus></texturefocus>
            <texturenofocus></texturenofocus>
            <onleft>7000</onleft>
			<onright>60</onright>
            <onclick>noop</onclick>
        </control>
		<control type="button" id="60">
            <texturefocus></texturefocus>
            <texturenofocus></texturenofocus>
            <onleft>50</onleft>
            <onclick>noop</onclick>
        </control>
        <include>SkinFanart</include>
        <control type="image">
            <include>Dimensions_Fullscreen</include>
            <animation effect="fade" time="500">WindowOpen</animation>
            <texture background="true">$INFO[Window.Property(Day0.FanartCode),extras/weather_fanart/,.jpg]</texture>
        </control>
        <control type="image">
            <include>Dimensions_Fullscreen</include>
            <fadetime>500</fadetime>
            <texture background="true">music_fanart_diffuse.png</texture>
        </control>
        <include>BarClock</include>
		
		
		<control type="group"><visible>![Window.IsVisible(2003) | Window.IsVisible(DialogAddonInfo.xml) | Window.IsVisible(DialogMusicInfo.xml) | Window.IsVisible(DialogFavourites.xml)]</visible><include>NowPlayingControls</include><include>TouchscreenNavigation</include></control>        <control type="label">
			<animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
			<include>ViewMainTitle</include>	
			<label>$INFO[Weather.Location]</label>
		</control>
		<control type="group">
			<left>50</left>
            <top>290</top>
            <animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
			<!-- Current Day Weather Details -->
			<control type="grouplist">
                <visible>Weather.IsFetched</visible>
                <animation effect="fade" time="400">VisibleChange</animation>
				<animation effect="slide" start="0" end="170" time="300" delay="0" tween="cubic" easing="inout" condition="Control.HasFocus(60)">conditional</animation>
                <left>0</left>
                <top>0</top>
				<width>250</width>
				<itemgap>0</itemgap>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[383][/COLOR]</label>
					<height>25</height>
					<font>WeatherInfo</font>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.WindSpeed)] | $INFO[Window(Weather).Property(Current.WindDirection)]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[402][/COLOR]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.FeelsLike)]$INFO[System.TemperatureUnits]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[406][/COLOR]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.Humidity)]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[33020][/COLOR]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.Condition)]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[403][/COLOR]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.UVIndex)]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>[COLOR Accent]$LOCALIZE[405][/COLOR]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Current.DewPoint)]</label>
					<font>WeatherInfo</font>
					<height>25</height>
					<align>left</align>
				</control>
				

            </control>
			<!-- Current Day Forecast -->
			<control type="group">    
				
				<control type="image">
					<width>155</width>
					<height>315</height>
					<texture>button.png</texture>
					<bordersize>5</bordersize>
					<bordertexture>white_box.png</bordertexture>
				</control>
				<control type="label">
					<label>$LOCALIZE[33006]</label>
					<left>5</left>
					<top>5</top>
					<width>145</width>
					<height>45</height>
					<aligny>top</aligny>
					<font>WeatherDay</font>
					<align>center</align>
				</control>
				<control type="image">
					<left>15</left>
					<top>50</top>
					<width>125</width>
					<height>125</height>
					<texture>$INFO[Window.Property(Day0.FanartCode),extras/weather_icons/,.png]</texture>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<label>$INFO[Window(Weather).Property(Day0.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day0.LowTemp)]$INFO[System.TemperatureUnits]</label>
					<left>5</left>
					<top>265</top>
					<width>145</width>
					<font>WeatherExtrema</font>
					<align>center</align>
				</control>
				<control type="label">
					<info>Window.Property(Day0.Outlook)</info>
					<width>145</width>
					<left>5</left>
					<top>165</top>
					<font>WeatherOutlook</font>
					<align>center</align>
					<aligny>top</aligny>
					<wrapmultiline>true</wrapmultiline>
				</control>
				<control type="label">
					<description>Day 0 Label</description>
					<left>5</left>
					<top>210</top>
					<width>145</width>
					<font>WeatherCurrentTemperature</font>
					<align>center</align>
					<label>$INFO[Window(Weather).Property(Current.Temperature)][LOWERCASE]$INFO[System.TemperatureUnits][/LOWERCASE]</label>
				</control>
			</control>    
			<!-- 6 Day Forecast-->
			<control type="group">
				<animation effect="slide" start="0" end="155" time="300" delay="0" tween="cubic" easing="inout" condition="Control.HasFocus(60)">conditional</animation>
                <left>165</left>
                <top>0</top>
                <control type="group">
                    <left>0</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
		            </control>
                    <control type="label">
                        <info>Window.Property(Day1.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 1 Label</description>
						<label>$INFO[Window(Weather).Property(Day1.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day1.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day1.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day1.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
                <control type="group">
                    <left>165</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day2.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 2 Label</description>
                        <label>$INFO[Window(Weather).Property(Day2.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day2.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day2.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day2.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
                <control type="group">
                    <left>330</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
                    </control>
					<control type="label">
                        <info>Window.Property(Day3.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 3 Label</description>
                        <label>$INFO[Window(Weather).Property(Day3.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day3.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day3.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day3.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
                <control type="group">
                    <left>495</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
                    </control>
					<control type="label">
                        <info>Window.Property(Day4.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 4 Label</description>
                        <label>$INFO[Window(Weather).Property(Day4.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day4.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day4.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day4.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
				<control type="group">
                    <left>660</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
                    </control>
					<control type="label">
                        <info>Window.Property(Day5.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 5 Label</description>
                        <label>$INFO[Window(Weather).Property(Day5.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day5.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day5.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day5.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
				<control type="group">
                    <left>825</left>
                    <top>0</top>
                    <control type="image">
                        <width>155</width>
                        <height>315</height>
                        <texture>tile.png</texture>
						<bordersize>5</bordersize>
						<bordertexture>button.png</bordertexture>
					</control>
                    <control type="label">
                        <info>Window.Property(Day6.Title)</info>
                        <left>5</left>
						<top>5</top>
						<width>145</width>
						<height>45</height>
						<aligny>top</aligny>
						<font>WeatherDay</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <description>Day 6 Label</description>
                        <label>$INFO[Window(Weather).Property(Day6.HighTemp)]$INFO[System.TemperatureUnits] | $INFO[Window(Weather).Property(Day6.LowTemp)]$INFO[System.TemperatureUnits]</label>
                        <left>5</left>
						<top>265</top>
						<width>145</width>
						<font>WeatherExtrema</font>
						<align>center</align>
                    </control>
                    <control type="label">
                        <info>Window.Property(Day6.Outlook)</info>
                        <width>145</width>
						<left>5</left>
						<top>165</top>
						<font>WeatherOutlook</font>
						<align>center</align>
						<aligny>top</aligny>
						<wrapmultiline>true</wrapmultiline>
                    </control>
                    <control type="image">
                        <left>15</left>
						<top>50</top>
						<width>125</width>
						<height>125</height>
                        <texture>$INFO[Window.Property(Day6.FanartCode),extras/weather_icons/,.png]</texture>
                    </control>
                </control>
            </control>
        </control>
		
		<control type="label">
			<animation type="WindowClose">
                <effect type="fade" time="300" />
                <effect type="slide" end="+1500,0" time="300" />
            </animation>
            <animation type="WindowOpen">
                <effect type="fade" time="300" />
                <effect type="slide" start="+1500,0" time="300" />
            </animation>
			<include>ViewFooterTitle</include>
			<label>[COLOR Accent]$LOCALIZE[31208][/COLOR] $INFO[Window(Weather).Property(Updated)]</label>
		</control>
		
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1280</width>
            <height>720</height>
            <texture border="2">other_textures/black-back.png</texture>
            <animation type="Conditional" condition="!ControlGroup(7000).HasFocus()">
                <effect type="fade" start="100" end="0" time="300" />
            </animation>
        </control>
		
		<!-- This Control shows the background of the left settings menu -->
		<control type="group">
		 	<animation type="Conditional" condition="!ControlGroup(7000).HasFocus() | Window.IsActive(PlayerControls)">
                <effect type="slide" start="0,0" end="-320,0" time="300" easing="inout" tween="cubic" />
            </animation>
			<include>LeftMenuBackground</include>
			<control type="label">
                <description>Menu Title</description>
                <include>LeftMenuTitle</include>
                <label>$LOCALIZE[33063]</label>
            </control>
		</control>	
		
		
        <control type="group">
            <animation type="Conditional" condition="!ControlGroup(7000).HasFocus()">
                <effect type="slide" start="0,0" end="-320,0" time="300" easing="inout" tween="cubic" />
            </animation>
            <!-- Weather Navigation menu -->
            <control type="grouplist" id="7000">
                <left>20</left>
				<top>70</top>
				<width>280</width>
				<height>305</height>
				<itemgap>0</itemgap>
                <onright>50</onright>
                <onup>noop</onup>
                <ondown>noop</ondown>
                <orientation>vertical</orientation>
                <control type="button" id="2">
                    <description>Refresh</description>
                    <width>280</width>
					<textoffsetx>10</textoffsetx>
					<align>left</align>
					<font>List_Left_Menu</font>
                </control>
                <control type="button" id="4">
                    <description>Settings</description>
                    <width>280</width>
					<textoffsetx>10</textoffsetx>
					<align>left</align>
					<font>List_Left_Menu</font>
                    <label>$LOCALIZE[8] $LOCALIZE[5]</label>
                    <onclick>ActivateWindow(weathersettings)</onclick>
                </control>
                <control type="spincontrolex" id="3">
                    <description>Location Select</description>
                    <width>280</width>
                    <align>left</align>
                    <font>List_Left_Menu</font>
                     <textcolor></textcolor>
                    <focusedcolor></focusedcolor>
				</control>
            </control>
            <control type="label">
                <description>Location Label</description>
                <left>30</left>
                <top>155</top>
                <width>230</width>
                <height>45</height>
                <aligny>center</aligny>
                <label>$INFO[Control.GetLabel(3)]</label>
                <font>List_Left_Menu</font>
                <visible>!Control.HasFocus(3)</visible>
            </control>
            <control type="label">
                <description>Location Label</description>
                <left>30</left>
                <top>155</top>
                <width>230</width>
                <height>45</height>
                <aligny>center</aligny>
                <label>$INFO[Control.GetLabel(3)]</label>
                <font>List_Left_Menu</font>
                <visible>Control.HasFocus(3)</visible>
            </control>
        </control>
    </controls>
</window>