mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
468 lines
33 KiB
XML
468 lines
33 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE displayplugin SYSTEM "../../../dtd/displayplugin.dtd">
|
|
|
|
<displayplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="80%" scaletvy="0" scaletvwidth="20%" scaletvheight="20%">
|
|
|
|
<viewelement name="background_hor">
|
|
<area x="0" y="0" width="100%" height="20%" layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_header" x="0" y="0" width="80%" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_tvframe" x="80%" y="0" width="20%" height="100%"/>
|
|
</area>
|
|
<area x="72%" y="1%" width="7%" height="5%" layer="2">
|
|
<drawimage imagetype="skinpart" path="tvguide_clock" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area x="0" y="20%" width="15%" height="5%" layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_left" x="0" y="0" width="12" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_vertical" x="12" y="0" width="{areawidth}-24" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_right" x="{areawidth}-12" y="0" width="12" height="100%"/>
|
|
</area>
|
|
<area x="0" y="92%" width="100%" height="8%" layer="1">
|
|
<fill color="{clrBackground}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="background_ver">
|
|
<area x="0" y="0" width="100%" height="20%" layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_header" x="0" y="0" width="80%" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_tvframe" x="80%" y="0" width="20%" height="100%"/>
|
|
</area>
|
|
<area x="72%" y="1%" width="7%" height="5%" layer="2">
|
|
<drawimage imagetype="skinpart" path="tvguide_clock" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area x="0" y="20%" width="8%" height="15%" layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_date_vertical" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area x="0" y="90%" width="100%" height="10%" layer="1">
|
|
<fill color="{clrBackground}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<!-- Tokens available in Header
|
|
{isdummy} true if active element is a dummy element
|
|
{title} title of event of active grid
|
|
{shorttext} shorttext of event of active grid
|
|
{description} detailed description of event of active grid
|
|
{start} event start time in hh::mm
|
|
{stop} event stop time
|
|
{day} day of event of active grid
|
|
{date} date of event of active grid in dd.mm.yy
|
|
{daynumeric} day as number
|
|
{month} month as number
|
|
{year} year as number
|
|
{running} true if event is currently running
|
|
{elapsed} elapsed time of event, if not running 0
|
|
{duration} duration of event
|
|
{durationhours} duration, full hours
|
|
{durationminutes} duration, rest of minutes
|
|
{channelname} Channel Name
|
|
{channelnumber} Channel Number
|
|
{channelid} ChannelID as path to display channel logo
|
|
{channellogoexists} true if channel logo exists
|
|
{hasposter} true if a scraped poster is available for this element
|
|
{posterwidth} width of scraped poster
|
|
{posterheight} height of scraped poster
|
|
{posterpath} absolute path of scraped poster
|
|
-->
|
|
<viewelement name="header_hor">
|
|
<areascroll condition="not{isdummy}++not{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="1%" y="1%" width="71%" height="18%" layer="2">
|
|
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
|
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
|
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
|
</areascroll>
|
|
<area condition="not{isdummy}++{hasposter}" x="1%" y="1%" width="{areaheight}*0.18*{posterwidth}/{posterheight}" height="18%" layer="2">
|
|
<drawimage imagetype="image" path="{posterpath}" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<areascroll condition="not{isdummy}++{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="12%" y="1%" width="60%" height="18%" layer="2">
|
|
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
|
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
|
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
|
</areascroll>
|
|
<area condition="{isdummy}" x="1%" y="1%" width="58%" height="18%" layer="2">
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="35%" color="{clrWhite}" text="{title}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="header_ver">
|
|
<areascroll condition="not{isdummy}++not{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="1%" y="1%" width="71%" height="18%" layer="2">
|
|
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
|
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
|
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
|
</areascroll>
|
|
<area condition="not{isdummy}++{hasposter}" x="1%" y="1%" width="{areaheight}*0.18*{posterwidth}/{posterheight}" height="18%" layer="2">
|
|
<drawimage imagetype="image" path="{posterpath}" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<areascroll condition="not{isdummy}++{hasposter}" orientation="vertical" mode="forthandback" delay="1000" scrollspeed="medium" x="12%" y="1%" width="60%" height="18%" layer="2">
|
|
<drawtext x="0" y="0" font="{vdrOsd}" width="100%" fontsize="20%" color="{clrWhite}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="25%" color="{clrWhite}" text="{title}" />
|
|
<drawtextbox name="shorttext" x="0" y="45%" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{shorttext}" />
|
|
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)}" width="100%" font="{vdrOsd}" fontsize="15%" color="{clrWhite}" text="{description}" />
|
|
</areascroll>
|
|
<area condition="{isdummy}" x="1%" y="1%" width="58%" height="18%" layer="2">
|
|
<drawtext x="0" y="20%" font="{vdrOsd}" width="100%" fontsize="35%" color="{clrWhite}" text="{title}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<!-- Available Variables Footer:
|
|
{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
|
|
-->
|
|
<viewelement name="footer_hor">
|
|
<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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="footer_ver">
|
|
<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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" 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="40%"/>
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{blue}" />
|
|
</area>
|
|
</viewelement>
|
|
<!-- Available Variables time:
|
|
{time} timestring in hh:mm
|
|
{sec} current seconds
|
|
{min} current minutes
|
|
{hour} current hours
|
|
{hmins} current "hourminutes" to display an hour hand
|
|
{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
|
|
-->
|
|
<viewelement name="time_hor">
|
|
<area x="72%" y="1%" width="7%" height="5%" layer="3">
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="75%" color="{clrWhite}" text="{time}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="time_ver">
|
|
<area x="72%" y="1%" width="7%" height="5%" layer="3">
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="75%" color="{clrWhite}" text="{time}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<!-- Tokens available in datetimeline
|
|
{weekday} weekday of current display
|
|
{date} date of current display
|
|
-->
|
|
<viewelement name="datetimeline_hor">
|
|
<area x="0" y="20%" width="15%" height="5%" layer="2">
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{weekday} {date}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="datetimeline_ver">
|
|
<area x="0" y="20%" width="8%" height="15%" layer="1">
|
|
<drawtext align="center" y="10%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{weekday}" />
|
|
<drawtext align="center" y="50%" font="{vdrOsd}" fontsize="35%" color="{clrWhite}" text="{date}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<!-- Tokens available in timeindicator
|
|
{percenttotal} position of current time indicator in tenth of a percent of complete time shown
|
|
-->
|
|
<viewelement name="timeindicator_hor">
|
|
<area x="15%" y="25%" width="85%" height="68%" layer="3">
|
|
<drawrectangle x="{percenttotal}*{areawidth}/1000" y="0" width="1" height="100%" color="{clrRed}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<viewelement name="timeindicator_ver">
|
|
<area x="0" y="35%" width="100%" height="57%" layer="3">
|
|
<drawrectangle x="0" y="{percenttotal}*{areaheight}/1000" width="100%" height="1" color="{clrRed}" />
|
|
</area>
|
|
</viewelement>
|
|
|
|
<!-- Tokens available in timeline
|
|
{timestring} time of grid in hh:mm
|
|
-->
|
|
<grid name="timeline_hor" x="15%" y="20%" width="85%" height="5%">
|
|
<area layer="1">
|
|
<drawimage condition="{fullhour}" imagetype="skinpart" path="tvguide_timelinebright_horizontal" x="0" y="0" width="100%" height="100%"/>
|
|
<drawimage condition="not{fullhour}" imagetype="skinpart" path="tvguide_timelinedark_horizontal" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtext condition="{fullhour}" x="5%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrBlack}" text="{timestring}" />
|
|
<drawtext condition="not{fullhour}" x="5%" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{timestring}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<grid name="timeline_ver" x="0" y="35%" width="8%" height="57%">
|
|
<area layer="1">
|
|
<drawimage condition="{fullhour}" imagetype="skinpart" path="tvguide_timelinebright_vertical" x="0" y="0" width="100%" height="100%"/>
|
|
<drawimage condition="not{fullhour}" imagetype="skinpart" path="tvguide_timelinedark_vertical" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtext condition="{fullhour}" align="center" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrBlack}" text="{timestring}" />
|
|
<drawtext condition="not{fullhour}" align="center" y="5%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{timestring}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<!-- Tokens available in channels
|
|
{name} name of channel
|
|
{number} number of channel
|
|
{channelid} id of channel to display channel logo
|
|
{channellogoexists} true if channel logo exists
|
|
-->
|
|
<grid name="channels_hor" x="5%" y="25%" width="10%" height="68%">
|
|
<area layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_channellogoback_horizontal" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawimage condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" align="center" valign="center" width="90%" height="90%" />
|
|
<drawtext condition="not{channellogoexists}" align="center" valign="center" width="98%" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{name}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<grid name="channels_ver" x="8%" y="25%" width="92%" height="10%">
|
|
<area layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_channellogoback_vertical" x="0" y="0" width="100%" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawimage condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" align="center" valign="center" width="80%" height="80%" />
|
|
<drawtext condition="not{channellogoexists}" align="center" valign="center" width="98%" font="{light}" fontsize="40%" color="{clrWhite}" text="{name}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<!-- Tokens available in channelgroups
|
|
{color} alternates grid by grid from true to false
|
|
{group} name of channel group
|
|
-->
|
|
<grid name="channelgroups_hor" x="0" y="25%" width="5%" height="68%">
|
|
<area layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_head" x="0" y="0" width="100%" height="12"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_horizontal" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtextvertical align="center" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{group}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<grid name="channelgroups_ver" x="8%" y="20%" width="92%" height="5%">
|
|
<area layer="1">
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_left" x="0" y="0" width="12" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_vertical" x="12" y="0" width="{areawidth}-24" height="100%"/>
|
|
<drawimage imagetype="skinpart" path="tvguide_channelgroup_right" x="{areawidth}-12" y="0" width="12" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtext align="center" valign="center" font="{vdrOsd}" fontsize="80%" color="{clrWhite}" text="{group}" />
|
|
</area>
|
|
</grid>
|
|
|
|
<!-- Tokens available in schedules
|
|
{color} alternates grid by grid from true to false
|
|
{dummy} true if grid is a dummy grid
|
|
{timer} true if a timer is set for the according event
|
|
{switchtimer} true if a switchtimer is set for the according event
|
|
{title} title of grid
|
|
{shorttext} shorttext of grid
|
|
{start} start time in hh:mm
|
|
{stop} stop time in hh:dd
|
|
-->
|
|
<grid name="schedules_hor" x="15%" y="25%" width="85%" height="68%">
|
|
<area layer="1">
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_left" x="0" y="0" width="13" height="100%"/>
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_horizontal" x="13" y="0" width="{areawidth}-26" height="100%"/>
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_right" x="{areawidth}-13" y="0" width="13" height="100%"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_left" x="0" y="0" width="13" height="100%"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_horizontal" x="13" y="0" width="{areawidth}-26" height="100%"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_right" x="{areawidth}-13" y="0" width="13" height="100%"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtext condition="not{dummy}++{current}" x="1%" y="2%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
|
<drawtext condition="not{dummy}++{current}" x="1%" y="50%" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
<drawtext condition="not{dummy}++not{current}" x="1%" y="2%" font="{vdrOsd}" fontsize="45%" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
|
<drawtext condition="not{dummy}++not{current}" x="1%" y="50%" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItem}" text="{title}" />
|
|
<drawtext condition="{dummy}++{current}" x="1%" valign="center" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
<drawtext condition="{dummy}++not{current}" x="1%" valign="center" width="98%" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItem}" text="{title}" />
|
|
<drawimage condition="{timer}" imagetype="icon" path="ico_rec_on" x="{areawidth} - {areaheight}*0.42" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
|
<drawimage condition="{switchtimer}++not{timer}" imagetype="icon" path="ico_switchtimer" x="{areawidth} - {areaheight}*0.42" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
|
<drawimage condition="{switchtimer}++{timer}" imagetype="icon" path="ico_switchtimer" x="{areawidth} - {areaheight}*0.84" y="58%" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
|
</area>
|
|
</grid>
|
|
|
|
<grid name="schedules_ver" x="8%" y="35%" width="92%" height="57%">
|
|
<area layer="1">
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_head" x="0" y="0" width="100%" height="12"/>
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_vertical" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="tvguide_grid_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_head" x="0" y="0" width="100%" height="12"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_vertical" x="0" y="12" width="100%" height="{areaheight}-24"/>
|
|
<drawimage condition="{current}" imagetype="skinpart" path="tvguide_grid_active_bottom" x="0" y="{areaheight}-12" width="100%" height="12"/>
|
|
</area>
|
|
<area layer="2">
|
|
<drawtext condition="not{dummy}++{current}" x="2%" y="0" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.16" color="{clrFontMenuItemSelected}" text="{start} - {stop}" />
|
|
<drawtext condition="not{dummy}++not{current}" x="2%" y="0" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.16" color="{clrFontMenuItem}" text="{start} - {stop}" />
|
|
<drawtextbox name="title" condition="not{dummy}++{current}" x="2%" y="{areawidth}*0.16" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.15" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
<drawtextbox name="title" condition="not{dummy}++not{current}" x="2%" y="{areawidth}*0.16" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.15" color="{clrFontMenuItem}" text="{title}" />
|
|
<drawtextbox condition="not{dummy}++{current}" x="2%" y="{posy(title)} + {height(title)} - {areawidth}*0.1" width="96%" height="{areaheight}*1.1 - {posy(title)} - {height(title)}" font="{vdrOsd}" fontsize="{areawidth}*0.12" color="{clrFontMenuItemSelected}" text="{shorttext}" />
|
|
<drawtextbox condition="not{dummy}++not{current}" x="2%" y="{posy(title)} + {height(title)} - {areawidth}*0.1" width="96%" height="{areaheight}*1.1 - {posy(title)} - {height(title)}" font="{vdrOsd}" fontsize="{areawidth}*0.12" color="{clrFontMenuItem}" text="{shorttext}" />
|
|
<drawtextbox condition="{dummy}++{current}" x="2%" y="5%" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.2" color="{clrFontMenuItemSelected}" text="{title}" />
|
|
<drawtextbox condition="{dummy}++not{current}" x="2%" y="5%" width="96%" font="{vdrOsd}" fontsize="{areawidth}*0.2" color="{clrFontMenuItem}" text="{title}" />
|
|
<drawimage condition="{timer}" imagetype="icon" path="ico_rec_on" x="82%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
|
<drawimage condition="{switchtimer}++not{timer}" imagetype="icon" path="ico_switchtimer" x="82%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
|
<drawimage condition="{switchtimer}++{timer}" imagetype="icon" path="ico_switchtimer" x="65%" y="{areaheight}-{areawidth}*0.18" width="15%" height="{areawidth}*0.15"/>
|
|
</area>
|
|
</grid>
|
|
|
|
<!-- Tokens available in channeljump
|
|
{channel} current user input for channel jump
|
|
-->
|
|
<viewelement name="channeljump">
|
|
</viewelement>
|
|
|
|
</displayplugin>
|