mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
156 lines
10 KiB
XML
156 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE displaymenu SYSTEM "../../dtd/displaymenu.dtd" [
|
|
<!ENTITY displaymenudefault SYSTEM "displaymenudefault.xml">
|
|
<!ENTITY displaymenumain SYSTEM "displaymenumain.xml">
|
|
<!ENTITY displaymenusetup SYSTEM "displaymenusetup.xml">
|
|
<!ENTITY displaymenuschedules SYSTEM "displaymenuschedules.xml">
|
|
<!ENTITY displaymenutimers SYSTEM "displaymenutimers.xml">
|
|
<!ENTITY displaymenuchannels SYSTEM "displaymenuchannels.xml">
|
|
<!ENTITY displaymenurecordings SYSTEM "displaymenurecordings.xml">
|
|
<!ENTITY displaymenudetailepg SYSTEM "displaymenudetailepg.xml">
|
|
<!ENTITY displaymenudetailrecording SYSTEM "displaymenudetailrecording.xml">
|
|
<!ENTITY displaymenudetailtext SYSTEM "displaymenudetailtext.xml">
|
|
]>
|
|
|
|
<displaymenu x="3%" y="5%" width="94%" height="90%" fadetime="0">
|
|
<!--
|
|
The following background, header, datetime and colorbuttons definitions are default
|
|
implementations. If one or more of these elements are not implemented in the subview,
|
|
the default implementations are used.
|
|
-->
|
|
<background>
|
|
<!-- background left Menu -->
|
|
<area x="0" y="0" width="63%" height="100%" layer="1">
|
|
<fill color="{clrTransBlack}" />
|
|
</area>
|
|
<!-- background right detail view -->
|
|
<area x="63%" y="3%" width="37%" height="94%" layer="1">
|
|
<fill color="{clrTransBlueLight}" />
|
|
</area>
|
|
</background>
|
|
<!-- Available Variables header:
|
|
{title} title of current menu
|
|
{vdrversion} running VDR Version
|
|
{hasicon} true if a menu icon is available
|
|
{icon} path of menu icon
|
|
-->
|
|
<header>
|
|
<area x="0" y="0" width="41%" height="10%" layer="2">
|
|
<drawtext condition="not{hasicon}" x="5" width="{areawidth}-10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
|
<drawimage condition="{hasicon}" name="menuicon" imagetype="menuicon" path="{icon}" x="5" valign="center" width="{areaheight}*8/10" height="80%"/>
|
|
<drawtext condition="{hasicon}" x="{areaheight}" valign="center" width="{areawidth}-{areaheight}-10" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" />
|
|
</area>
|
|
</header>
|
|
<!-- Available Variables datetime:
|
|
{time} time in hh:mm
|
|
{day} day in digits
|
|
{dayleadingzero} day in digits with leading 0
|
|
{dayname} Full name of the day
|
|
{daynameshort} Short 3 char name of the day
|
|
{month} month in digits with leading 0
|
|
{monthname} Full name of the month
|
|
{monthnameshort} 3 letter abbrivation of month name
|
|
{year} year in yyyy
|
|
-->
|
|
<datetime>
|
|
<area x="41%" y="0" width="12%" height="10%" layer="2">
|
|
<drawtext align="right" y="5%" font="{light}" fontsize="50%" color="{clrWhite}" text="{dayname}" />
|
|
<drawtext align="right" y="45%" font="{light}" fontsize="50%" color="{clrWhite}" text="{day}. {monthnameshort}" />
|
|
</area>
|
|
<area x="53%" y="0" width="10%" height="10%" layer="2">
|
|
<drawtext align="center" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{time}" />
|
|
</area>
|
|
</datetime>
|
|
<!-- Available Variables message:
|
|
{text} message text
|
|
{status} true if message is an status message
|
|
{info} true if message is an info message
|
|
{warning} true if message is an warn message
|
|
{error} true if message is an error message
|
|
-->
|
|
<message>
|
|
<area x="5%" y="75%" width="90%" height="15%" layer="7">
|
|
<fill color="{clrTransBlack}" />
|
|
<drawrectangle condition="{status}" x="10" y="0" width="10" height="100%" color="{clrGreen}" />
|
|
<drawrectangle condition="{info}" x="10" y="0" width="10" height="100%" color="{clrBlue}" />
|
|
<drawrectangle condition="{warning}" x="10" y="0" width="10" height="100%" color="{clrYellow}" />
|
|
<drawrectangle condition="{error}" x="10" y="0" width="10" height="100%" color="{clrRed}" />
|
|
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
|
|
</area>
|
|
</message>
|
|
<!-- Available Variables colorbuttons:
|
|
{red1} true if red button is button 1
|
|
{red2} true if red button is button 2
|
|
{red3} true if red button is button 3
|
|
{red4} true if red button is button 4
|
|
{green1} true if green button is button 1
|
|
{green2} true if green button is button 2
|
|
{green3} true if green button is button 3
|
|
{green4} true if green button is button 4
|
|
{yellow1} true if yellow button is button 1
|
|
{yellow2} true if yellow button is button 2
|
|
{yellow3} true if yellow button is button 3
|
|
{yellow4} true if yellow button is button 4
|
|
{blue1} true if blue button is button 1
|
|
{blue2} true if blue button is button 2
|
|
{blue3} true if blue button is button 3
|
|
{blue4} true if blue button is button 4
|
|
{red} label of red button
|
|
{green} label of green button
|
|
{yellow} label of yellow button
|
|
{blue} label of blue button
|
|
-->
|
|
<colorbuttons>
|
|
<area x="0" y="92%" width="15%" height="8%" layer="2">
|
|
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
|
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
|
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
|
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
|
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
|
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
|
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
|
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
|
</area>
|
|
<area x="15%" y="92%" width="15%" height="8%" layer="2">
|
|
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
|
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
|
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
|
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
|
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
|
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
|
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
|
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
|
</area>
|
|
<area x="30%" y="92%" width="15%" height="8%" layer="2">
|
|
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
|
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
|
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
|
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
|
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
|
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
|
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
|
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
|
</area>
|
|
<area x="45%" y="92%" width="15%" height="8%" layer="2">
|
|
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{red}" />
|
|
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
|
|
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{green}" />
|
|
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
|
|
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{yellow}" />
|
|
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
|
|
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{blue}" />
|
|
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
|
|
</area>
|
|
</colorbuttons>
|
|
&displaymenudefault;
|
|
&displaymenumain;
|
|
&displaymenusetup;
|
|
&displaymenuschedules;
|
|
&displaymenutimers;
|
|
&displaymenuchannels;
|
|
&displaymenurecordings;
|
|
&displaymenudetailepg;
|
|
&displaymenudetailrecording;
|
|
&displaymenudetailtext;
|
|
</displaymenu>
|