vdr-plugin-skindesigner/skins/estuary4vdr/xmlfiles/displaymenutimers.xml
2016-07-22 15:21:09 +02:00

57 lines
6.1 KiB
XML

<menutimers x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="39%" scaletvy="8%" scaletvwidth="60%" scaletvheight="60%">
<menuitems x="2%" y="9%" orientation="vertical" width="98%" height="82%" align="center" numlistelements="{numitemstimers}">
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area condition="{current}" indicator="true" x="0" y="0" width="{areawidth}*0.305" height="100%" layer="2">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menubackactive}" />
</area>
<area condition="not{current}" x="0" y="0" width="{areawidth}*0.305" height="100%" layer="2">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
</area>
<area x="1%" y="0" width="5%" height="100%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
</area>
<area condition="not{current}" x="7%" width="23%" layer="3">
<drawtext x="0" y="{areaheight}*{timersposydate}/100" font="{regular}" fontsize="{areaheight}*{timerssizedate}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
</area>
<areascroll condition="not{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="23%" layer="3">
<drawtext name="timertext" x="0" y="{areaheight}*{timersposytitle}/100" font="{regular}" fontsize="{areaheight}*{timerssizetitle}/100" color="{fontdefault}" text="{title}" />
</areascroll>
<area condition="{current}" x="7%" width="23%" layer="3">
<drawtext x="0" y="{areaheight}*{timersposydate}/100" font="{regular}" fontsize="{areaheight}*{timerssizedate}/100" color="{fontmenuactive}" text="{dayname} {day}. {timerstart} - {timerstop}" />
</area>
<areascroll condition="{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="23%" layer="3">
<drawtext name="timertext" x="0" y="{areaheight}*{timersposytitle}/100" font="{regular}" fontsize="{areaheight}*{timerssizetitle}/100" color="{fontmenuactive}" text="{title}" />
</areascroll>
<area x="20%" y="5%" width="10%" height="40%" layer="4">
<drawimage condition="not{current}++{flagactive}++not{flagrecording}" imagetype="icon" path="ico_yes" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="{current}++{flagactive}++not{flagrecording}" imagetype="icon" path="ico_yes_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="not{current}++not{flagactive}++not{flagrecording}" imagetype="icon" path="ico_no" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="{current}++not{flagactive}++not{flagrecording}" imagetype="icon" path="ico_no_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="not{current}++{flagrecording}" imagetype="icon" path="ico_recording" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="{current}++{flagrecording}" imagetype="icon" path="ico_recording_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="{current}++{isremote}" imagetype="icon" path="ico_remotetimer_active" x="{areawidth} - 2*{areaheight} - 10" width="{areaheight}" height="{areaheight}" valign="center" />
<drawimage condition="not{current}++{isremote}" imagetype="icon" path="ico_remotetimer" x="{areawidth} - 2*{areaheight} - 10" width="{areaheight}" height="{areaheight}" valign="center" />
</area>
</listelement>
<currentelement delay="100" fadetime="200">
<area condition="{hasposter}" x="39%" y="76%" width="7%" height="22%" layer="3">
<drawimage imagetype="image" path="{posterpath}" x="0" valign="center" width="{areawidth}" height="{areawidth} * {posterheight} / {posterwidth}" />
</area>
<areascroll condition="{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="47%" y="76%" width="49%" height="20%" layer="3">
<drawtext name="scheduling" x="0" y="0" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
<drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{eventtitle}" />
<drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttext}/100" color="{fontdefault}" text="{eventdescription}" />
</areascroll>
<areascroll condition="not{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="39%" y="76%" width="57%" height="20%" layer="3">
<drawtext name="scheduling" x="0" y="0" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
<drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{eventtitle}" />
<drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttext}/100" color="{fontdefault}" text="{eventdescription}" />
</areascroll>
</currentelement>
</menuitems>
</menutimers>