fixed token volpercent in nopacity and metrixhd

This commit is contained in:
louis
2015-01-18 15:43:05 +01:00
parent 4792fe4d4c
commit 06af6390e3
3 changed files with 7 additions and 5 deletions

View File

@@ -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>