vdr-plugin-skindesigner/skins/default/xmlfiles/displaymessage.xml

28 lines
1.4 KiB
XML
Raw Normal View History

2014-09-27 09:25:14 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE displaymessage SYSTEM "../../dtd/displaymessage.dtd">
<displaymessage x="5%" y="80%" width="90%" height="15%" fadetime="{fadeTime}">
<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>