skin.tributary/720p/MyWeather.xml

568 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">50</defaultcontrol>
<menucontrol>9000</menucontrol>
<onload condition="!Skin.HasSetting(FirstTimeRun)">ActivateWindow(1112)</onload>
<controls>
<include>CommonBackground</include>
<control type="multiimage">
<depth>DepthBackground</depth>
<include>BackgroundDimensions</include>
<aspectratio>scale</aspectratio>
<imagepath background="true">resource://resource.images.weatherfanart.multi/$INFO[Window(Weather).Property(Current.FanartCode)]</imagepath>
<timeperimage>10000</timeperimage>
<randomize>true</randomize>
<fadetime>1000</fadetime>
<include>VisibleFadeEffect</include>
<visible>System.AddonIsEnabled(resource.images.weatherfanart.multi)</visible>
<animation effect="fade" time="150">WindowClose</animation>
</control>
<include content="CommonWindowHeader">
<param name="Icon" value="icon_weather" />
<param name="Label" value="$LOCALIZE[8]" />
</include>
<control type="image">
<left>0</left>
<top>100r</top>
<width>1280</width>
<height>100</height>
<texture>floor.png</texture>
<include>VisibleFadeEffect</include>
<animation effect="slide" start="0,10" end="0,0" time="150" condition="Window.Previous(Home)">WindowOpen</animation>
<animation effect="slide" start="0,0" end="0,10" time="150" condition="Window.Next(Home)">WindowClose</animation>
</control>
<control type="group">
<animation type="WindowOpen" reversible="false">
<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="225" />
<effect type="fade" start="0" end="100" time="225" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="225" />
<effect type="fade" start="100" end="0" time="225" />
</animation>
<include>VisibleFadeEffect</include>
<control type="group">
<left>60</left>
<top>40</top>
<control type="image">
<left>0</left>
<top>0</top>
<width>500</width>
<height>620</height>
<texture border="20">ContentPanel.png</texture>
</control>
<control type="image">
<left>0</left>
<top>612</top>
<width>500</width>
<height>64</height>
<texture border="10">ContentPanelMirror.png</texture>
</control>
<control type="image">
<left>8</left>
<top>5</top>
<width>484</width>
<height>45</height>
<texture>dialogheader.png</texture>
</control>
<control type="label">
<description>header label</description>
<left>20</left>
<top>15</top>
<width>460</width>
<height>30</height>
<font>font13_title</font>
<label>31300</label>
<align>center</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="image">
<left>30</left>
<top>55</top>
<width>440</width>
<height>46</height>
<aspectratio align="center" aligny="center">keep</aspectratio>
<texture>$INFO[Window.Property(WeatherProviderLogo)]</texture>
</control>
<control type="label">
<description>Provider Text</description>
<left>20</left>
<top>60</top>
<width>460</width>
<height>35</height>
<font>font12</font>
<textcolor>white</textcolor>
<scroll>true</scroll>
<align>center</align>
<aligny>center</aligny>
<label>$LOCALIZE[31303] : [COLOR=orange]$INFO[Window.Property(WeatherProvider)][/COLOR]</label>
<include>Window_OpenClose_Animation</include>
<visible>String.IsEmpty(Window.Property(WeatherProviderLogo))</visible>
</control>
<control type="group">
<control type="label">
<description>weather location label</description>
<left>20</left>
<top>100</top>
<width>460</width>
<height>30</height>
<font>font13_title</font>
<textcolor>white</textcolor>
<scroll>false</scroll>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[Window.Property(Location)]</label>
</control>
<control type="label">
<description>update label</description>
<left>20</left>
<top>120</top>
<width>460</width>
<height>35</height>
<font>font12</font>
<label>$LOCALIZE[31301] - $INFO[Window.Property(Updated)]</label>
<align>center</align>
<aligny>center</aligny>
<textcolor>grey2</textcolor>
</control>
<control type="group">
<depth>DepthContent+</depth>
<control type="label">
<description>current temp Value</description>
<left>15</left>
<top>185</top>
<width>180</width>
<height>40</height>
<font>WeatherTemp</font>
<align>right</align>
<aligny>top</aligny>
<label>$INFO[Window.Property(Current.Temperature)]</label>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
<description>current temp Value Units</description>
<left>200</left>
<top>206</top>
<width>100</width>
<height>40</height>
<font>font16</font>
<align>left</align>
<aligny>top</aligny>
<label>[B]$INFO[System.TemperatureUnits][/B]</label>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="image">
<description>current weather icon</description>
<left>260</left>
<top>145</top>
<width>200</width>
<height>200</height>
<info>Window.Property(Current.ConditionIcon)</info>
<aspectratio>keep</aspectratio>
</control>
</control>
<control type="label">
<description>current condition label</description>
<left>20</left>
<top>350</top>
<width>460</width>
<height>30</height>
<info>Window.Property(Current.Condition)</info>
<wrapmultiline>true</wrapmultiline>
<font>font13</font>
<align>center</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
</control>
<control type="image">
<left>20</left>
<top>390</top>
<width>460</width>
<height>4</height>
<texture>separator.png</texture>
</control>
<control type="grouplist">
<left>0</left>
<top>400</top>
<width>170</width>
<height>180</height>
<itemgap>0</itemgap>
<control type="label">
<description>current feels like label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[402] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.FeelsLike))</visible>
</control>
<control type="label">
<description>current dew label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[405] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.DewPoint))</visible>
</control>
<control type="label">
<description>current humidity label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[406] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Humidity))</visible>
</control>
<control type="label">
<description>current UV Index label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[403] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.UVIndex))</visible>
</control>
<control type="label">
<description>current Precipitation label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[33021] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Precipitation))</visible>
</control>
<control type="label">
<description>current Wind label</description>
<left>0</left>
<top>0</top>
<width>170</width>
<height>28</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[404] :</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Wind))</visible>
</control>
</control>
<control type="grouplist">
<left>185</left>
<top>400</top>
<width>300</width>
<height>180</height>
<itemgap>0</itemgap>
<control type="label">
<description>current feels like Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Window.Property(Current.FeelsLike)]$INFO[System.TemperatureUnits]</label>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.FeelsLike))</visible>
</control>
<control type="label">
<description>current dew Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Window.Property(Current.DewPoint)]$INFO[System.TemperatureUnits]</label>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.DewPoint))</visible>
</control>
<control type="label">
<description>current humidity Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<info>Window.Property(Current.Humidity)</info>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Humidity))</visible>
</control>
<control type="label">
<description>current UV Index Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<info>Window.Property(Current.UVIndex)</info>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.UVIndex))</visible>
</control>
<control type="label">
<description>current Precipitation Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<info>Window.Property(Current.Precipitation)</info>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Precipitation))</visible>
</control>
<control type="label">
<description>current Wind Value</description>
<left>0</left>
<top>0</top>
<width>300</width>
<height>28</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<info>Window.Property(Current.Wind)</info>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Current.Wind))</visible>
</control>
</control>
<control type="group">
<visible>!String.IsEmpty(Window.Property(Today.IsFetched))</visible>
<control type="label">
<description>Sunrise Label</description>
<left>30</left>
<top>570</top>
<width>300</width>
<height>35</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<label>$LOCALIZE[33027] : [COLOR=white]$INFO[Window.Property(Today.Sunrise)][/COLOR]</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Today.Sunrise))</visible>
</control>
<control type="label">
<description>Sunset label</description>
<left>170</left>
<top>570</top>
<width>300</width>
<height>35</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$LOCALIZE[33028] : [COLOR=white]$INFO[Window.Property(Today.Sunset)][/COLOR]</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>!String.IsEmpty(Window.Property(Today.Sunset))</visible>
</control>
</control>
</control>
<control type="group">
<left>580</left>
<top>40</top>
<control type="image">
<left>0</left>
<top>0</top>
<width>650</width>
<height>620</height>
<texture border="20">ContentPanel.png</texture>
</control>
<control type="image">
<left>0</left>
<top>612</top>
<width>650</width>
<height>64</height>
<texture border="10">ContentPanelMirror.png</texture>
</control>
<control type="image">
<left>8</left>
<top>5</top>
<width>634</width>
<height>45</height>
<texture>dialogheader.png</texture>
</control>
<control type="group" id="50">
<include>WeatherDaily</include>
<include>Weather36Hour</include>
<include>WeatherWeekend</include>
<include>WeatherHourly</include>
<include>WeatherMaps</include>
<include>WeatherAlerts</include>
</control>
</control>
</control>
<control type="group">
<depth>DepthFooter</depth>
<include>CommonNowPlaying</include>
</control>
<include>MainWindowMouseButtons</include>
<control type="group">
<left>-250</left>
<include>SideBladeLeft</include>
<control type="grouplist" id="9000">
<left>0</left>
<top>60</top>
<width>250</width>
<height>650</height>
<onleft>9000</onleft>
<onright>50</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<onback>50</onback>
<itemgap>0</itemgap>
<control type="label" id="200">
<width>250</width>
<height>35</height>
<font>font12</font>
<label>31006</label>
<textcolor>blue</textcolor>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="group" id="300">
<width>250</width>
<height>40</height>
<control type="spincontrolex" id="3">
<description>change location button</description>
<left>0</left>
<top>0</top>
<font/>
<include>ButtonCommonValues</include>
<onleft>50</onleft>
<onright>50</onright>
<onup>200</onup>
<ondown>302</ondown>
<onback>50</onback>
</control>
<control type="label" id="301">
<left>10</left>
<top>0</top>
<width>200</width>
<height>40</height>
<font>font13</font>
<label>31027</label>
<textcolor>white</textcolor>
<align>left</align>
<aligny>center</aligny>
</control>
</control>
<control type="button" id="302">
<description>Daily forcast button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>31904</label>
<onfocus>ClearProperty(Weather.CurrentView)</onfocus>
<visible>!String.IsEmpty(Window.Property(Daily.IsFetched))</visible>
</control>
<control type="button" id="303">
<description>36 hour forcast button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>31901</label>
<onfocus>SetProperty(Weather.CurrentView,36hour)</onfocus>
<visible>!String.IsEmpty(Window.Property(36Hour.IsFetched))</visible>
</control>
<control type="button" id="304">
<description>Weekend forcast button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>31903</label>
<onfocus>SetProperty(Weather.CurrentView,weekend)</onfocus>
<visible>!String.IsEmpty(Window.Property(Weekend.IsFetched))</visible>
</control>
<control type="button" id="305">
<description>Hourly forcast button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>31902</label>
<onfocus>SetProperty(Weather.CurrentView,hourly)</onfocus>
<visible>!String.IsEmpty(Window.Property(Hourly.IsFetched))</visible>
</control>
<control type="button" id="306">
<description>Maps button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>31910</label>
<onfocus>SetProperty(Weather.CurrentView,map)</onfocus>
<visible>!String.IsEmpty(Window.Property(Map.IsFetched))</visible>
</control>
<control type="button" id="307">
<description>Alerts button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>33050</label>
<onfocus>SetProperty(Weather.CurrentView,alerts)</onfocus>
<visible>!String.IsEmpty(Window.Property(Alerts.IsFetched))</visible>
</control>
<control type="label" id="201">
<width>250</width>
<height>35</height>
<font>font12</font>
<label>31026</label>
<textcolor>blue</textcolor>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="button" id="2">
<description>Refresh button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>103</label>
</control>
<control type="button" id="4">
<description>Settings button</description>
<label>5</label>
<onclick>ActivateWindow(servicesettings,weather)</onclick>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
</control>
<include>CommonNowPlaying_Controls</include>
</control>
</control>
</controls>
</window>