vdr-plugin-skindesigner/skins/metrixhd/xmlfiles/displaymessage.xml
2015-05-10 12:55:23 +02:00

28 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displaymessage SYSTEM "../../../dtd/displaymessage.dtd">
<displaymessage x="5%" y="80%" width="90%" height="15%" shifttime="{fadetime}" shifttype="bottom" shiftmode="slowed">
<background>
<area x="0" y="0" width="100%" height="100%" layer="1">
<fill color="{clrTransBlack}" />
</area>
</background>
<!-- Available Variables message:
{text} message text
{status} true if message is a status message
{info} true if message is a info message
{warning} true if message is a warn message
{error} true if message is a error message
-->
<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="{clrWhite}" text="{text}" />
</area>
</message>
</displaymessage>