2015-01-15 11:20:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd">
|
|
|
|
|
|
|
|
<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0">
|
|
|
|
<background>
|
|
|
|
<area x="0" y="0" width="100%" height="100%" layer="1">
|
|
|
|
<fill color="{clrTransBlack}" />
|
|
|
|
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrBackground}" />
|
|
|
|
</area>
|
|
|
|
<area x="0" y="0" width="100%" height="10%" layer="2">
|
|
|
|
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
</area>
|
|
|
|
</background>
|
|
|
|
<scrollbar>
|
|
|
|
<area x="97%" y="25%" width="2%" height="60%" layer="2">
|
|
|
|
<fill color="{clrBorder}" />
|
|
|
|
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
|
2015-01-28 17:58:50 +01:00
|
|
|
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" />
|
2015-01-15 11:20:32 +01:00
|
|
|
</area>
|
|
|
|
</scrollbar>
|
|
|
|
<!-- Available Variables in detailheader and tab:
|
|
|
|
{menuheader} "Current Weather"
|
|
|
|
{city} configured city to display weather for
|
|
|
|
{latitude} latitude
|
|
|
|
{longitude} longitude
|
|
|
|
{timestamp} timestamp in hh:mm dd.mm of current forecast
|
|
|
|
{temperature} current temperature in °C
|
|
|
|
{apparenttemperature} apparent (felt) temperature in °C
|
|
|
|
{temperaturemin} minimum temperature the day in °C
|
|
|
|
{temperaturemax} maximum temperature the day in °C
|
|
|
|
{summary} short summary of current weather
|
|
|
|
{icon} path to use in <drawimage> to display appropriate weather icon
|
|
|
|
{precipitationintensity} precipitation intensity in l/qm
|
|
|
|
{precipitationprobability} precipitation probability in %
|
|
|
|
{precipitationtype} precipitation type (snow, ...)
|
|
|
|
{humidity} humidity in %
|
|
|
|
{windspeed} wind speed in km/h
|
|
|
|
{windbearing} wind bearing in degrees
|
|
|
|
{windbearingstring} wind bearing as human readable string (e.g NE, NNE, ...)
|
|
|
|
{visibility} visibility in km
|
|
|
|
{cloudcover} cloud cover in %
|
|
|
|
{pressure} pressure in HPa
|
|
|
|
{ozone} Ozone in DU (Dobson Unit)
|
|
|
|
-->
|
|
|
|
<detailheader>
|
|
|
|
<area x="1%" y="10%" width="98%" height="15%" layer="2">
|
|
|
|
<fill color="{clrTransBlack}" />
|
|
|
|
</area>
|
|
|
|
<area x="1%" y="10%" width="97%" height="15%" layer="3">
|
|
|
|
<drawimage name="weathericon" imagetype="icon" path="{icon}" align="right" valign="center" width="{areaheight}*0.7" height="70%"/>
|
|
|
|
<drawtext name="temp" x="{areawidth} - {width(weathericon)} - {width(temp)} - 10" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{temperature}°C" />
|
|
|
|
<drawtext x="2%" y="20%" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{tr(conditions)} {tr(for)} {city}, {timestamp}:" />
|
|
|
|
<drawtext x="2%" y="55%" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{summary}" />
|
|
|
|
</area>
|
|
|
|
</detailheader>
|
|
|
|
|
|
|
|
<tab name="current" x="2%" y="25%" width="94%" height="60%" layer="2" scrollheight="{areaheight}/4">
|
|
|
|
<drawtext x="0" y="6%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(apparenttemp)}: {apparenttemperature}°C" />
|
|
|
|
<drawtext x="0" y="12%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(todaymin)}: {mintemperature}°C, {tr(todaymax)}: {maxtemperature}°C" />
|
|
|
|
<drawtext x="0" y="18%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationprobability)}: {precipitationprobability} %" />
|
|
|
|
<drawtext x="0" y="24%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationintensity)}: {precipitationintensity} l/qm" />
|
|
|
|
<drawtext x="0" y="30%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(humidity)}: {humidity} %" />
|
|
|
|
<drawtext x="0" y="36%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(windspeed)}: {windspeed} km/h aus {windbearingstring}" />
|
|
|
|
<drawtext x="0" y="42%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(visibility)}: {visibility} km" />
|
|
|
|
<drawtext x="0" y="48%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(cloudcover)}: {cloudcover} %" />
|
|
|
|
<drawtext x="0" y="54%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(pressure)}: {pressure} HPa" />
|
|
|
|
<drawtext x="0" y="60%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(ozone)}: {ozone} DU" />
|
|
|
|
</tab>
|
|
|
|
</menuplugin>
|