Hallo,
habe mal, inspiriert von diesem Thread: http://forum.xbmc.org/showthread.php?t=87384 ein Wetter Widget gebastelt.
Ist vielleicht insg. etwas gross und wirkt etwas farblos, was allerdings auch am Wetter liegt.
Externer Inhalt
www.xbmcnerds.com
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
Externer Inhalt
www.xbmcnerds.com
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
XML
<!--widget begin-->
<control type="group">
<posx>925</posx>
<posy>420</posy>
<visible>Weather.IsFetched + !Player.HasMedia</visible>
<control type="group">
<control type="image">
<description>background top</description>
<posx>0</posx>
<posy>0</posy>
<width>410</width>
<height>64</height>
<colordiffuse>CCFFFFFF</colordiffuse>
<texture>DialogContextTop.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>64</posy>
<description>background</description>
<width>410</width>
<height>180</height>
<colordiffuse>CCFFFFFF</colordiffuse>
<texture>DialogContextMiddle.png</texture>
</control>
<control type="image">
<description>background bottom</description>
<posx>0</posx>
<posy>244</posy>
<width>410</width>
<height>44</height>
<colordiffuse>CCFFFFFF</colordiffuse>
<texture>DialogContextBottom.png</texture>
</control>
<!-- current -->
<control type="image">
<description>current condition</description>
<posx>40</posx>
<posy>10</posy>
<width>128</width>
<height>128</height> -->
<texture>$INFO[Window(weather).Property(Current.ConditionIcon)]</texture>
</control>
<control type="label">
<description>current temperature</description>
<posx>180</posx>
<posy>25</posy>
<width>150</width>
<height>60</height>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<font>font50caps_title</font>
<label>$INFO[Window(weather).Property(Current.Temperature)]$INFO[System.TemperatureUnits]</label>
</control>
<control type="label">
<description>location</description>
<posx>165</posx>
<posy>90</posy>
<width>185</width>
<textcolor>white</textcolor>
<font>font12</font>
<label>$INFO[Window(weather).Property(Location)]</label>
</control>
<control type="label">
<description>updated</description>
<posx>165</posx>
<posy>110</posy>
<textcolor>grey</textcolor>
<font>font10</font>
<label>(Stand: $INFO[Window(weather).Property(Updated)])</label>
</control>
<!-- forecast -->
<control type="group">
<description>forecast</description>
<posx>80</posx>
<posy>140</posy>
<!-- day1 -->
<control type="label">
<description>day1 title</description>
<posx>10</posx>
<posy>0</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day1.Title)]</label>
</control>
<control type="image">
<description>day1 current condition</description>
<posx>10</posx>
<posy>30</posy>
<width>64</width>
<height>64</height>
<texture>$INFO[Window(weather).Property(Day1.OutlookIcon)]</texture>
</control>
<control type="label">
<description>day1 temp high</description>
<posx>0</posx>
<posy>85</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day1.HighTemp)]$INFO[System.TemperatureUnits]</label>
</control>
<control type="label">
<description>day1 temp low</description>
<posx>40</posx>
<posy>90</posy>
<font>font10</font>
<textcolor>grey</textcolor>
<label>$INFO[Window(weather).Property(Day1.LowTemp)]$INFO[System.TemperatureUnits]</label>
</control>
<!-- day2 -->
<control type="label">
<description>day2 title</description>
<posx>95</posx>
<posy>0</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day2.Title)]</label>
</control>
<control type="image">
<description>day2 current condition</description>
<posx>95</posx>
<posy>30</posy>
<width>64</width>
<height>64</height>
<texture>$INFO[Window(weather).Property(Day2.OutlookIcon)]</texture>
</control>
<control type="label">
<description>day2 temp high</description>
<posx>85</posx>
<posy>85</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day2.HighTemp)]$INFO[System.TemperatureUnits]</label>
</control>
<control type="label">
<description>day2 temp low</description>
<posx>125</posx>
<posy>90</posy>
<font>font10</font>
<textcolor>grey</textcolor>
<label>$INFO[Window(weather).Property(Day2.LowTemp)]$INFO[System.TemperatureUnits]</label>
</control>
<!-- day3 -->
<control type="label">
<description>Day3 title</description>
<posx>180</posx>
<posy>0</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day3.Title)]</label>
</control>
<control type="image">
<description>Day3 current condition</description>
<posx>180</posx>
<posy>30</posy>
<width>64</width>
<height>64</height>
<texture>$INFO[Window(weather).Property(Day3.OutlookIcon)]</texture>
</control>
<control type="label">
<description>Day3 temp</description>
<posx>170</posx>
<posy>85</posy>
<font>font12</font>
<label>$INFO[Window(weather).Property(Day3.HighTemp)]$INFO[System.TemperatureUnits]</label>
</control>
<control type="label">
<description>Day3 temp low</description>
<posx>210</posx>
<posy>90</posy>
<font>font10</font>
<textcolor>grey</textcolor>
<label>$INFO[Window(weather).Property(Day3.LowTemp)]$INFO[System.TemperatureUnits]</label>
</control>
</control>
</control>
</control>
<!-- widget end -->
Alles anzeigen
Verbesserungen und Feedback erwünscht!