mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
63 lines
3.8 KiB
XML
63 lines
3.8 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="{clrTransBlack}" />
|
|
</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="{clrTransBlueLight}" />
|
|
</area>
|
|
<area x="0" y="0" width="100%" height="20%" layer="3">
|
|
<drawtext x="20" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" 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>
|
|
</detailheader>
|
|
|
|
<tab name="current" x="2%" y="20%" width="94%" height="65%" layer="2" scrollheight="{areaheight}/4">
|
|
<drawtextbox name="summary" x="0" y="5%" width="{areawidth}" font="{semibold}" fontsize="10%" color="{clrWhite}" text="{summary}" />
|
|
<drawrectangle x="0" y="{height(summary)}" width="{areawidth}" height="1" color="{clrWhite}" />
|
|
<loop name="daily" x="0" y="{height(summary)}" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight}/5">
|
|
<drawtext x="0" font="{semibold}" fontsize="9%" valign="center" color="{clrWhite}" text="{daily[dayname]} {daily[day]}" />
|
|
<drawimage imagetype="icon" path="{daily[icon]}" x="2*{rowheight}" valign="center" width="{rowheight}*0.8" height="{rowheight}*0.8"/>
|
|
<drawtext x="3.5*{rowheight}" font="{light}" fontsize="{rowheight}*0.3" y="0" color="{clrWhite}" text="{daily[temperaturemin]}°C - {daily[temperaturemax]}°C ({tr(max)} {daily[temperaturemaxtime]}, {tr(min)} {daily[temperaturemintime]})" />
|
|
<drawtext x="3.5*{rowheight}" font="{light}" fontsize="{rowheight}/4" y="{rowheight}*0.25" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{daily[summary]}" />
|
|
<drawtext x="3.5*{rowheight}" font="{light}" fontsize="{rowheight}/4" y="{rowheight}*0.5" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{tr(precipitationprobability)} {daily[precipitationprobability]}%, {daily[precipitationintensity]} l/qm, {tr(windspeed)} {daily[windspeed]} km/h {tr(from)} {daily[windbearingstring]}" />
|
|
<drawtext x="3.5*{rowheight}" font="{light}" fontsize="{rowheight}/4" y="{rowheight}*0.75" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{tr(cloudcover)} {daily[cloudcover]}%, {tr(visibility)} {daily[visibility]} km, {tr(pressure)} {daily[pressure]} HPa, {tr(ozone)} {daily[ozone]} DU" />
|
|
<drawrectangle x="0" y="{rowheight} - 1" width="{columnwidth}" height="1" color="{clrWhite}" />
|
|
</loop>
|
|
</tab>
|
|
</menuplugin>
|