vdr-plugin-skindesigner/skins/metrixhd/xmlfiles/displayvolume.xml

24 lines
1.2 KiB
XML
Raw Normal View History

2014-09-27 09:25:14 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displayvolume SYSTEM "../../../dtd/displayvolume.dtd">
2014-09-27 09:25:14 +02:00
2016-01-26 18:32:38 +01:00
<displayvolume x="20%" y="75%" width="60%" height="20%" fadetime="{fadetime}">
2014-09-27 09:25:14 +02:00
<background>
<area x="0" y="0" width="100%" height="100%" layer="1">
2016-06-19 06:39:50 +02:00
<fill color="{menuback}" />
2014-09-27 09:25:14 +02:00
</area>
</background>
<volume>
<area x="0" y="0" width="100%" height="50%" layer="2">
2016-06-19 06:39:50 +02:00
<drawtext x="10" valign="center" font="{light}" fontsize="100%" color="{fontdefault}" text="{tr(volume)}: {volpercent}%" />
2014-09-27 09:25:14 +02:00
<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>
<area x="5%" y="60%" width="90%" height="30%" layer="2">
2016-06-19 06:39:50 +02:00
<fill color="{menualternate}" />
<drawrectangle x="0" y="0" width="{volume}/{maxvolume}*{areawidth}" height="100%" color="{menuheader}" />
2014-09-27 09:25:14 +02:00
</area>
</volume>
</displayvolume>