skin.pellucid/1080i/MyWeather.xml

217 lines
12 KiB
XML
Raw Normal View History

2014-09-28 20:47:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<window>
2016-02-11 00:01:23 +01:00
<defaultcontrol always="true">100</defaultcontrol>
2016-02-09 22:24:24 +01:00
<include>fadeInOut</include>
2014-09-28 20:47:53 +02:00
<controls>
2016-02-09 22:24:24 +01:00
<!--background-->
<include>globalBackground</include>
<control type="image">
<include>dimensionsFullscreen</include>
2016-04-03 17:35:32 +02:00
<texture>resource://resource.images.weatherfanart.single/$INFO[Window(weather).Property(Current.fanartCode),,.jpg]</texture>
2016-02-09 22:24:24 +01:00
<colordiffuse>33ffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<include>kenBurnsey</include>
<fadetime>1500</fadetime>
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
2017-09-21 21:32:06 +02:00
<!--page header-->
2016-02-09 22:24:24 +01:00
<control type="group">
2017-09-21 21:32:06 +02:00
<include>pageHeader</include>
2016-02-09 22:24:24 +01:00
</control>
<control type="group">
<posx>col-1-begin</posx>
<posy>row-5-begin</posy>
<!--today-->
<control type="group">
<posx>0</posx>
<posy>2-row</posy>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>24-col</width>
<height>2-row</height>
<font>veryLarge</font>
2016-02-21 19:58:08 +01:00
<label>[COLOR highlight]$LOCALIZE[31200][/COLOR] $INFO[Window.Property(Location)]</label>
2016-02-09 22:24:24 +01:00
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-12-21 15:16:56 +01:00
<animation type="Conditional" condition="String.IsEmpty(Window.Property(location))" loop="false" reversible="true">
2016-02-09 22:24:24 +01:00
<effect type="rotatey" end="180" center="auto" tween="back" easing="out" time="2000"/>
<effect type="fade" start="100" end="30" time="800"/>
</animation>
</control>
<control type="group">
2017-12-21 15:16:56 +01:00
<animation type="Conditional" condition="String.IsEmpty(Window.Property(location))" loop="false" reversible="true">
2016-02-09 22:24:24 +01:00
<effect type="rotatey" end="180" center="auto" tween="back" easing="out" time="3500"/>
<effect type="fade" start="100" end="30" time="800"/>
</animation>
<control type="image">
<posx>-12</posx>
<posy>3-row</posy>
<width>3-col</width>
<height>3-col</height>
<aspectratio>stretch</aspectratio>
2016-04-03 17:35:32 +02:00
<texture border="0">resource://resource.images.weathericons.outline/$INFO[Window(weather).Property(current.fanartCode),,.png]</texture>
2016-02-09 22:24:24 +01:00
</control>
<control type="label">
<posx>3-col</posx>
<posy>4-row</posy>
<width>21-col</width>
<height>2-row</height>
<font>largeStrong</font>
<label>$LOCALIZE[31026]: $INFO[Window.Property(Day0.Outlook)]</label>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-02-09 22:24:24 +01:00
</control>
<control type="label">
<posx>3-col</posx>
<posy>6-row</posy>
<width>21-col</width>
<height>2-row</height>
<font>large</font>
<label>$LOCALIZE[31027] $INFO[Window.Property(Current.Temperature)]$INFO[System.TemperatureUnits] ($LOCALIZE[31028] $INFO[Window.Property(Current.FeelsLike)]$INFO[System.TemperatureUnits]), $INFO[Window.Property(current.condition)].</label>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-02-09 22:24:24 +01:00
</control>
<control type="label">
<posx>3-col</posx>
<posy>8-row</posy>
<width>12-col</width>
<height>2-row</height>
<font>regular</font>
<label>$LOCALIZE[13508]: [B]$INFO[Window.Property(Day0.HighTemp)]$INFO[System.TemperatureUnits][/B] $LOCALIZE[418]: [B]$INFO[Window.Property(Day0.LowTemp)]$INFO[System.TemperatureUnits][/B] $LOCALIZE[31030]: [B]$INFO[Window.Property(Current.Humidity)][/B]</label>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-02-09 22:24:24 +01:00
</control>
<control type="label">
<posx>3-col</posx>
<posy>336</posy>
<width>12-col</width>
<height>2-row</height>
<font>regular</font>
2016-11-25 00:26:56 +01:00
<label>$LOCALIZE[31094] $INFO[Window.Property(Current.wind)]</label>
2016-02-09 22:24:24 +01:00
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-02-09 22:24:24 +01:00
</control>
</control>
</control>
<!--remaining forecast begins-->
<control type="group">
2017-12-21 15:16:56 +01:00
<animation type="Conditional" condition="String.IsEmpty(Window.Property(location))" loop="false" reversible="true">
2016-02-09 22:24:24 +01:00
<effect type="slide" start="0,0" end="0,400" time="1500" tween="back" easing="out"/>
<effect type="fade" start="100" end="0" time="300"/>
</animation>
<control type="panel" id="9000">
<posx>0</posx>
<posy>18-row</posy>
<width>24-col</width>
<height>24-row</height>
<itemlayout width="6-col" height="4-row">
<control type="image">
<posx>-12</posx>
<posy>-24</posy>
<width>2-col</width>
<height>2-col</height>
<aspectratio>stretch</aspectratio>
<texture border="0">resource://resource.images.weathericons.outline/$INFO[listitem.property(fanartCode),,.png]</texture>
</control>
<control type="label">
<posx>2-col</posx>
<posy>-24</posy>
<width>6-col-gutter</width>
<height>2-row</height>
<font>dialogTitle</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-02-09 22:24:24 +01:00
</control>
<control type="label">
<posx>2-col</posx>
<posy>18</posy>
<width>4-col</width>
<height>2-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<autoscroll delay="3000" time="1000" repeat="3000"/>
<label>$INFO[ListItem.Property(Outlook)]</label>
</control>
<control type="label">
<posx>2-col</posx>
<posy>76</posy>
<width>6-col-gutter</width>
<height>1-row</height>
<font>itemSubTitle</font>
<textcolor>textActive</textcolor>
<label>$LOCALIZE[13508] [B]$INFO[ListItem.Property(HighTemp)] $INFO[ListItem.Property(TempUnits)][/B] $LOCALIZE[418] [B]$INFO[ListItem.Property(LowTemp)] $INFO[ListItem.Property(TempUnits)][/B]</label>
</control>
</itemlayout>
<focusedlayout/>
<content>
<item id="2">
<description>Day 1</description>
<label>$INFO[Window.Property(Day1.Title)]</label>
<property name="fanartCode">$INFO[Window.Property(Day1.fanartCode)]</property>
<property name="HighTemp">$INFO[Window.Property(Day1.HighTemp)]</property>
<property name="LowTemp">$INFO[Window.Property(Day1.LowTemp)]</property>
<property name="Outlook">$INFO[Window.Property(Day1.Outlook)]</property>
<property name="TempUnits">$INFO[System.TemperatureUnits]</property>
2017-12-04 21:13:06 +01:00
2016-02-09 22:24:24 +01:00
</item>
<item id="3">
<description>Day 2</description>
<label>$INFO[Window.Property(Day2.Title)]</label>
<property name="fanartCode">$INFO[Window.Property(Day2.fanartCode)]</property>
<property name="HighTemp">$INFO[Window.Property(Day2.HighTemp)]</property>
<property name="LowTemp">$INFO[Window.Property(Day2.LowTemp)]</property>
<property name="Outlook">$INFO[Window.Property(Day2.Outlook)]</property>
<property name="TempUnits">$INFO[System.TemperatureUnits]</property>
2017-12-04 21:13:06 +01:00
2016-02-09 22:24:24 +01:00
</item>
<item id="4">
<description>Day 3</description>
<label>$INFO[Window.Property(Day3.Title)]</label>
<property name="fanartCode">$INFO[Window.Property(Day3.fanartCode)]</property>
<property name="HighTemp">$INFO[Window.Property(Day3.HighTemp)]</property>
<property name="LowTemp">$INFO[Window.Property(Day3.LowTemp)]</property>
<property name="Outlook">$INFO[Window.Property(Day3.Outlook)]</property>
<property name="TempUnits">$INFO[System.TemperatureUnits]</property>
2017-12-04 21:13:06 +01:00
2016-02-09 22:24:24 +01:00
</item>
<item id="5">
<description>Day 4</description>
<label>$INFO[Window.Property(Day4.Title)]</label>
<property name="fanartCode">$INFO[Window.Property(Day4.fanartCode)]</property>
<property name="HighTemp">$INFO[Window.Property(Day4.HighTemp)]</property>
<property name="LowTemp">$INFO[Window.Property(Day4.LowTemp)]</property>
<property name="Outlook">$INFO[Window.Property(Day4.Outlook)]</property>
<property name="TempUnits">$INFO[System.TemperatureUnits]</property>
2017-12-04 21:13:06 +01:00
2016-02-09 22:24:24 +01:00
</item>
</content>
</control>
<!--panel ends-->
</control>
</control>
<!--location control-->
2016-02-11 00:01:23 +01:00
<control type="button" id="100">
2016-02-09 22:24:24 +01:00
<description>change location button</description>
<left>-100</left>
<top>-100</top>
<width>6-col</width>
2017-12-04 21:13:06 +01:00
2016-02-11 00:01:23 +01:00
<onright>Weather.LocationNext</onright>
<onleft>Weather.LocationPrevious</onleft>
2016-02-09 22:24:24 +01:00
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>MyWeather.xml</label>
</control>
2014-09-28 20:47:53 +02:00
</controls>
2016-02-09 22:24:24 +01:00
</window>