mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed token volpercent in nopacity and metrixhd
This commit is contained in:
parent
4792fe4d4c
commit
06af6390e3
4
HISTORY
4
HISTORY
@ -153,4 +153,6 @@ Version 0.1.3
|
||||
- added {epgname} token for recordings in currentview and detailedview.
|
||||
- fixed crash when start recording with extrecmenu or remotetimers
|
||||
|
||||
Version 0.1.4
|
||||
Version 0.1.4
|
||||
|
||||
- fixed token volpercent in nopacity and metrixhd
|
||||
|
@ -10,13 +10,13 @@
|
||||
|
||||
<!-- Available Variables volume:
|
||||
{volume} current volume, range from 0 to 255
|
||||
{volumepercent} current volume in %
|
||||
{volpercent} current volume in %
|
||||
{maxvolume} maximal volume
|
||||
{mute} true if volume is muted
|
||||
-->
|
||||
<volume>
|
||||
<area x="0" y="0" width="100%" height="50%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
|
||||
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volpercent}%" />
|
||||
<drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
|
||||
<drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - {areaheight} - 5" y="5" width="{areaheight}-5" height="{areaheight}-5"/>
|
||||
</area>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<!-- Available Variables volume:
|
||||
{volume} current volume, range from 0 to 255
|
||||
{volumepercent} current volume in %
|
||||
{volpercent} current volume in %
|
||||
{maxvolume} maximal volume
|
||||
{mute} true if volume is muted
|
||||
-->
|
||||
@ -19,7 +19,7 @@
|
||||
</area>
|
||||
<!-- Header -->
|
||||
<area x="0" y="3%" width="100%" height="40%" layer="2">
|
||||
<drawtext x="10" valign="center" font="{vdrOsd}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
|
||||
<drawtext x="10" valign="center" font="{vdrOsd}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volpercent}%" />
|
||||
<drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
|
||||
<drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
|
||||
</area>
|
||||
|
Loading…
Reference in New Issue
Block a user