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

<displaymessage x="5%" y="80%" width="90%" height="15%" fadetime="{fadetime}" shifttime="{shifttimechannel}" shifttype="bottom" shiftmode="slowed">
    <background>
        <area x="0" y="0" width="100%" height="100%" layer="1">
            <fill color="{menuactive}" />
        </area>
    </background>

    <message>
        <area x="0" y="0" width="100%" height="100%" layer="2">
            <drawrectangle condition="{status}" x="20" y="0" width="20" height="100%" color="{clrGreen}" />
            <drawrectangle condition="{info}" x="20" y="0" width="20" height="100%" color="{clrBlue}" />
            <drawrectangle condition="{warning}" x="20" y="0" width="20" height="100%" color="{clrYellow}" />
            <drawrectangle condition="{error}" x="20" y="0" width="20" height="100%" color="{clrRed}" />
            <drawtext align="center" valign="center" width="{areawidth} - 80" font="{light}" fontsize="50%" color="{fontactive}" text="{text}" />
        </area>
    </message>
</displaymessage>