mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
68 lines
3.9 KiB
XML
68 lines
3.9 KiB
XML
<?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="{menuback}" />
|
|
</area>
|
|
</background>
|
|
|
|
<header>
|
|
<area x="0" y="0" width="1" height="1" layer="1">
|
|
<fill color="{clrTransparent}" />
|
|
</area>
|
|
</header>
|
|
|
|
<datetime>
|
|
<area x="0" y="0" width="1" height="1" layer="1">
|
|
<fill color="{clrTransparent}" />
|
|
</area>
|
|
</datetime>
|
|
|
|
<colorbuttons>
|
|
<area x="0" y="0" width="1" height="1" layer="1">
|
|
<fill color="{clrTransparent}" />
|
|
</area>
|
|
</colorbuttons>
|
|
|
|
<scrollbar>
|
|
<area x="98%" y="20%" width="2%" height="65%" layer="3">
|
|
<fill color="{clrWhite}" />
|
|
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
|
|
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrWhite}" />
|
|
</area>
|
|
</scrollbar>
|
|
|
|
<detailheader>
|
|
<area x="0" y="0" width="100%" height="20%" layer="2">
|
|
<fill color="{menuactive}" />
|
|
</area>
|
|
<area x="0" y="0" width="100%" height="20%" layer="3">
|
|
<drawtext x="20" valign="center" font="{light}" fontsize="40%" color="{fontdefault}" text="{menuheader}" />
|
|
</area>
|
|
<area x="{areawidth} - {areaheight}*0.2" y="0" width="{areaheight}*0.2" height="20%" layer="4">
|
|
<drawimage imagetype="icon" path="{icon}" align="center" valign="center" width="90%" height="90%"/>
|
|
</area>
|
|
<area x="{areawidth} - {areaheight}*0.6" y="0" width="{areaheight}*0.35" height="20%" layer="4">
|
|
<drawtext align="right" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{temperature}°C" />
|
|
</area>
|
|
</detailheader>
|
|
|
|
<tab name="current" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
|
<drawtext x="0" y="0" font="{semibold}" fontsize="10%" color="{fontdefault}" text="{tr(conditions)} {tr(for)} {city} ({latitude}, {longitude}):" />
|
|
<drawtext x="0" y="10%" font="{semibold}" fontsize="10%" color="{fontdefault}" text="{summary}" />
|
|
<drawtext x="0" y="25%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(temp)}: {temperature}°C" />
|
|
<drawtext x="0" y="35%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(apparenttemp)}: {apparenttemperature}°C" />
|
|
<drawtext x="0" y="45%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(todaymin)}: {mintemperature}°C, {tr(todaymax)}: {maxtemperature}°C" />
|
|
<drawtext x="0" y="55%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(precipitationprobability)}: {precipitationprobability} %" />
|
|
<drawtext x="0" y="65%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(precipitationintensity)}: {precipitationintensity} l/qm" />
|
|
<drawtext x="0" y="75%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(humidity)}: {humidity} %" />
|
|
<drawtext x="0" y="85%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(windspeed)}: {windspeed} km/h aus {windbearingstring}" />
|
|
<drawtext x="0" y="95%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(visibility)}: {visibility} km" />
|
|
<drawtext x="0" y="105%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(cloudcover)}: {cloudcover} %" />
|
|
<drawtext x="0" y="115%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(pressure)}: {pressure} HPa" />
|
|
<drawtext x="0" y="125%" font="{light}" fontsize="10%" color="{fontdefault}" text="{tr(ozone)}: {ozone} DU" />
|
|
</tab>
|
|
</menuplugin>
|