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

55 lines
4.9 KiB
XML

<menuchannels 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="{numitemschannels}">
<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 condition="not{separator}" 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}++not{separator}" x="7%" width="22%" layer="3">
<drawtext x="0" y="{areaheight}*{channelsposytitle}/100" font="{regular}" fontsize="{areaheight}*{channelssizetitle}/100" color="{fontdefault}" text="{number} {name}" />
</area>
<areascroll condition="not{current}++not{separator}" scrollelement="epgtitle" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="22%" layer="3">
<drawtext name="epgtitle" x="0" width="100%" y="{areaheight}*{channelsposydate}/100" font="{regular}" fontsize="{areaheight}*{channelssizedate}/100" color="{fontdefault}" text="{presenteventstart} - {presenteventstop}: {presenteventtitle}" />
</areascroll>
<area condition="{current}++not{separator}" x="7%" width="22%" layer="3">
<drawtext x="0" y="{areaheight}*{channelsposytitle}/100" font="{regular}" fontsize="{areaheight}*{channelssizetitle}/100" color="{fontmenuactive}" text="{number} {name}" />
</area>
<areascroll condition="{current}++not{separator}" scrollelement="epgtitle" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="22%" layer="3">
<drawtext name="epgtitle" x="0" width="100%" y="{areaheight}*{channelsposydate}/100" font="{regular}" fontsize="{areaheight}*{channelssizedate}/100" color="{fontmenuactive}" text="{presenteventstart} - {presenteventstop}: {presenteventtitle}" />
</areascroll>
<area condition="not{separator}++{isEncrypted}" x="20%" y="5%" width="10%" height="38%" layer="4">
<drawimage condition="not{current}" imagetype="icon" path="ico_crypt" align="right" y="0" width="{areaheight}" height="{areaheight}"/>
<drawimage condition="{current}" imagetype="icon" path="ico_crypt_active" align="right" y="0" width="{areaheight}" height="{areaheight}"/>
</area>
<area condition="{separator}" x="1%" width="29%" layer="3">
<drawtext x="0" width="100%" y="{areaheight}*{channelsposytitle}/100" font="{regular}" fontsize="{areaheight}*{channelsseparator}/100" color="{fontdefault}" text="{name}" />
</area>
</listelement>
<currentelement delay="100" fadetime="200">
<area x="39%" y="76%" width="57%" height="6%" layer="3">
<drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="10%" height="100%" valign="center" />
<drawtext x="{width(logo)}+30" valign="center" font="{regular}" width="{areawidth} - {width(logo)} - 30" fontsize="{areaheight}*{channelssizecurrenttitle}/100" color="{fontdefault}" text="{number} {name} - {sourcedescription}, Transp. {transponder}" />
</area>
<areascroll mode="forthandback" orientation="vertical" delay="5000" scrollspeed="medium" x="39%" y="83%" width="57%" height="14%" layer="3">
<drawtext x="0" y="0" font="{regular}" fontsize="{areaheight}*{channelssizecurrenttext}/100" color="{fontdefault}" text="Following Schedules:" />
<loop name="schedule" x="0" y="{areaheight}/4 + 5" orientation="vertical">
<drawtext x="0" name="title" font="{regular}" width="{areawidth}-20" fontsize="{areaheight}*{channelssizecurrenttext}/100" color="{fontdefault}" text="{schedule[start]} {schedule[title]}" />
<drawtext x="{width(title)}" condition="isset{schedule[shorttext]}" font="{regular}" width="{areawidth} -20 - {width(title)}" fontsize="{areaheight}*{channelssizecurrenttext}/100" color="{fontdefault}" text=" - {schedule[shorttext]}" />
</loop>
</areascroll>
</currentelement>
</menuitems>
</menuchannels>