mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
Add datetime to displaychannel in skin estuary4vdr
This commit is contained in:
parent
64599db339
commit
808fba2367
@ -9,6 +9,19 @@
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<datetime>
|
||||
<area x="80%" y="76%" width="17%" height="6%" layer="2">
|
||||
<drawtext align="right" valign="center" fontsize="{areaheight}*{replaydatetimesize}/100" font="{regular}" color="{fontdefault}" text="{daynameshort} {day}.{monthnameshort}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<time>
|
||||
<area x="80%" y="80%" width="19%" height="15%" layer="2">
|
||||
<drawtext name="clock" x="20%" 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>
|
||||
|
||||
<channelinfo>
|
||||
<area x="0" y="80%" width="20%" height="20%" layer="2">
|
||||
<drawimage cache="true" condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" width="80%" height="80%" align="center" valign="center" />
|
||||
@ -313,13 +326,6 @@
|
||||
</areascroll>
|
||||
</groupchannellistdetail>
|
||||
|
||||
<time>
|
||||
<area x="80%" y="80%" width="20%" height="15%" layer="2">
|
||||
<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>
|
||||
|
||||
<message>
|
||||
<area x="10%" y="80%" width="80%" height="15%" layer="6">
|
||||
<fill color="{messageback}" />
|
||||
|
Loading…
Reference in New Issue
Block a user