vdr-plugin-skindesigner/skins/blackhole/xmlfiles/displaymenu.xml

258 lines
16 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="0" y="0" width="100%" height="100%" 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>
<area x="0" y="0" width="100%" height="100%" layer="1">
<drawimage imagetype="skinpart" path="displaymenubacktv" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="0" y="0" width="83%" height="8%" layer="2">
<drawimage imagetype="skinpart" path="displaymenuheader" x="0" y="0" width="100%" height="100%"/>
</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
{freetime} available disc capacity in hh:mm
{freepercent} available disc capacity in percent
{usedpercent} used disc capacity in percent
{freegb} available disc capacity in gigabytes
{discalert} true if disc usage is > 95%
{vdrusagestring} localized VDR internal usage string
-->
<header>
<area x="0" y="0" width="83%" height="8%" layer="3">
<drawtext x="1%" width="100%" valign="center" font="{semibold}" fontsize="90%" 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="50%" y="0" width="27%" height="8%" layer="3">
<drawtext align="right" valign="center" font="{semibold}" fontsize="90%" color="{clrWhite}" text="{daynameshort} {day}.{month}" />
</area>
</datetime>
<!-- Available Variables time:
{sec} current seconds
{min} current minutes
{hour} current hours
{hmins} current "hourminutes" to display an hour hand
-->
<time detached="true" delay="50" shifttime="{shifttimemenu}" shifttype="right" shiftmode="slowed">
<area background="true" x="74%" y="0" width="26%" height="46%" layer="3">
<drawimage imagetype="skinpart" path="displaymenucorner" x="0" y="0" width="100%" height="100%"/>
</area>
<area background="true" x="{areawidth}*0.865" y="{areawidth}*0.005" width="13%" height="{areawidth}*0.13" layer="4">
<drawimage imagetype="skinpart" path="watchback" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="80%" y="0" width="10%" height="5%" layer="5">
<drawtext x="0" valign="center" font="{digital}" fontsize="75%" color="{clrWhite}" text="{printf('%02d:%02d.%02d', hour, min, sec)}" />
</area>
<area x="{areawidth}*0.865" y="{areawidth}*0.005" width="13%" height="{areawidth}*0.13" layer="5">
<drawimage imagetype="skinpart" path="watchhands/s_{sec}" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="{areawidth}*0.865" y="{areawidth}*0.005" width="13%" height="{areawidth}*0.13" layer="6">
<drawimage imagetype="skinpart" path="watchhands/m_{min}" x="0" y="0" width="100%" height="100%"/>
</area>
<area x="{areawidth}*0.865" y="{areawidth}*0.005" width="13%" height="{areawidth}*0.13" layer="7">
<drawimage imagetype="skinpart" path="watchhands/h_{hmins}" x="0" y="0" width="100%" height="100%"/>
</area>
</time>
<!-- 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 detached="true" delay="0" shifttime="{shifttimemessage}" shifttype="bottom" shiftmode="slowed">
<area x="5%" y="80%" width="90%" height="15%" layer="6">
<drawimage condition="{status}" imagetype="skinpart" path="messageblue" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{info}" imagetype="skinpart" path="messagegreen" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{warning}" imagetype="skinpart" path="messageyellow" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{error}" imagetype="skinpart" path="messagered" x="0" y="0" width="100%" height="100%" />
</area>
<area x="5%" y="80%" width="90%" height="15%" layer="7">
<drawtext align="center" valign="center" font="{regular}" fontsize="40%" color="{clrWhite}" text="{text}" />
</area>
</message>
<!-- Available Variables sortmode:
{sortnumber} true if menu is sorted by number
{sortname} true if menu is sorted alphabetical
{sorttime} true if menu is sorted by time
{sortprovider} true if menu is sorted by provider
-->
<sortmode>
<area x="44%" y="1%" width="6%" height="6%" layer="3">
<drawimage condition="{sortnumber}" imagetype="icon" path="ico_sort_number" x="0" y="0" width="100%" height="100%"/>
<drawimage condition="{sortname}" imagetype="icon" path="ico_sort_name" x="0" y="0" width="100%" height="100%"/>
<drawimage condition="{sorttime}" imagetype="icon" path="ico_sort_time" x="0" y="0" width="100%" height="100%"/>
<drawimage condition="{sortprovider}" imagetype="icon" path="ico_sort_provider" x="0" y="0" width="100%" height="100%"/>
</area>
</sortmode>
<!-- 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 condition="{red1}" x="0" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{red1}" x="0" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{red}" />
</area>
<area condition="{green1}" x="0" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{green1}" x="0" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{green}" />
</area>
<area condition="{yellow1}" x="0" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{yellow1}" x="0" y="90%" width="25%" height="10%" layer="4">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{yellow}" />
</area>
<area condition="{blue1}" x="0" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{blue1}" x="0" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{blue}" />
</area>
<area condition="{red2}" x="25%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{red2}" x="25%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{red}" />
</area>
<area condition="{green2}" x="25%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{green2}" x="25%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{green}" />
</area>
<area condition="{yellow2}" x="25%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{yellow2}" x="25%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{yellow}" />
</area>
<area condition="{blue2}" x="25%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{blue2}" x="25%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{blue}" />
</area>
<area condition="{red3}" x="50%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{red3}" x="50%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{red}" />
</area>
<area condition="{green3}" x="50%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{green3}" x="50%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{green}" />
</area>
<area condition="{yellow3}" x="50%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{yellow3}" x="50%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{yellow}" />
</area>
<area condition="{blue3}" x="50%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{blue3}" x="50%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{blue}" />
</area>
<area condition="{red4}" x="75%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonred" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{red4}" x="75%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{red}" />
</area>
<area condition="{green4}" x="75%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttongreen" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{green4}" x="60%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{green}" />
</area>
<area condition="{yellow4}" x="75%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonyellow" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{yellow4}" x="75%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{yellow}" />
</area>
<area condition="{blue4}" x="75%" y="90%" width="25%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="buttonblue" align="center" valign="center" width="90%" height="60%"/>
</area>
<area condition="{blue4}" x="75%" y="90%" width="25%" height="10%" layer="3">
<drawtext align="center" valign="center" font="{regular}" fontsize="50%" color="{clrWhite}" text="{blue}" />
</area>
</colorbuttons>
&displaymenudefault;
&displaymenumain;
&displaymenusetup;
&displaymenuschedules;
&displaymenutimers;
&displaymenuchannels;
&displaymenurecordings;
&displaymenudetailepg;
&displaymenudetailrecording;
&displaymenudetailtext;
</displaymenu>