adapted estuary4vdr

This commit is contained in:
louis 2016-07-23 14:08:37 +02:00
parent e3525032e8
commit 8c28b0c0fb
2 changed files with 4 additions and 4 deletions

View File

@ -60,8 +60,8 @@
<submenu name="submenucommon" displaytext="{tr(submenucommon)}">
<parameter type="int" name="headerfontsize" min="0" max="100" displaytext="{tr(headerfontsize)}">80</parameter>
<parameter type="int" name="headerdatefontsize" min="0" max="100" displaytext="{tr(headerdatefontsize)}">70</parameter>
<parameter type="int" name="headertimefontsize" min="0" max="100" displaytext="{tr(headertimefontsize)}">80</parameter>
<parameter type="int" name="headertimefontsizesmall" min="0" max="100" displaytext="{tr(headertimefontsizesmall)}">60</parameter>
<parameter type="int" name="headertimefontsize" min="0" max="100" displaytext="{tr(headertimefontsize)}">70</parameter>
<parameter type="int" name="headertimefontsizesmall" min="0" max="100" displaytext="{tr(headertimefontsizesmall)}">50</parameter>
<parameter type="int" name="buttonfontsize" min="0" max="100" displaytext="{tr(buttonfontsize)}">60</parameter>
<parameter type="int" name="numitemsdefault" min="1" max="40" displaytext="{tr(numitemsdefault)}">16</parameter>
<parameter type="int" name="defaultitemfontsize" min="0" max="100" displaytext="{tr(defaultitemfontsize)}">80</parameter>

View File

@ -312,8 +312,8 @@
<time>
<area x="80%" y="80%" width="20%" height="15%" layer="2">
<drawtext name="clock" x="11%" valign="center" fontsize="70%" font="{digital}" color="{fontdefault}" text="{hour}:{printf('%02d', min)}" />
<drawtext name="clocksec" x="{posx(clock)} + {width(clock)}" y="{areaheight}/2 - {height(clocksec)}/2 + {height(clock)}/2 - {height(clocksec)}/2 - 5" fontsize="50%" font="{digital}" color="{fontdefault}" text=":{printf('%02d', sec)}" />
<drawtext name="clock" x="11%" valign="center" fontsize="60%" font="{digital}" color="{fontdefault}" text="{hour}:{printf('%02d', min)}" />
<drawtext name="clocksec" x="{posx(clock)} + {width(clock)}" y="{areaheight}/2 - {height(clocksec)}/2 + {height(clock)}/2 - {height(clocksec)}/2 - 5" fontsize="45%" font="{digital}" color="{fontdefault}" text=":{printf('%02d', sec)}" />
</area>
</time>