summaryrefslogtreecommitdiff
path: root/skins/metrixhd/xmlfiles/displayvolume.xml
blob: fd219a926d202d5665603d9405fc4e09f93f22ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displayvolume SYSTEM "../../../dtd/displayvolume.dtd">

<displayvolume x="20%" y="75%" width="60%" height="20%" fadetime="{fadetime}">
    <background>
        <area x="0" y="0" width="100%" height="100%" layer="1">
            <fill color="{menuback}" />
        </area>
    </background>

    <volume>
        <area x="0" y="0" width="100%" height="50%" layer="2">
            <drawtext x="10" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{tr(volume)}: {volpercent}%" />
            <drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - {areaheight} - 10" y="10" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
            <drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - {areaheight} - 10" y="10" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
        </area>
        <area x="5%" y="60%" width="90%" height="30%" layer="2">
            <fill color="{menualternate}" />
            <drawrectangle x="0" y="0" width="{volume}/{maxvolume}*{areawidth}" height="100%" color="{menuheader}" />
        </area>        
    </volume>

</displayvolume>