mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
53 lines
5.1 KiB
XML
53 lines
5.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="12">
|
||
|
<listelement>
|
||
|
<area x="0" y="0" width="{areawidth}*0.305" height="100%" layer="2">
|
||
|
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
|
||
|
<drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
|
||
|
<drawrectangle condition="{current}" x="0" y="0" width="100%" height="100%" color="{menubackactive}" />
|
||
|
</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="8%" font="{regular}" fontsize="45%" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
|
||
|
</area>
|
||
|
<areascroll condition="not{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" y="50%" width="23%" height="50%" layer="3">
|
||
|
<drawtext name="timertext" x="0" valign="center" font="{regular}" fontsize="85%" color="{fontdefault}" text="{title}" />
|
||
|
</areascroll>
|
||
|
<area condition="{current}" x="7%" width="23%" layer="3">
|
||
|
<drawtext x="0" y="8%" font="{regular}" fontsize="45%" color="{fontmenuactive}" text="{dayname} {day}. {timerstart} - {timerstop}" />
|
||
|
</area>
|
||
|
<areascroll condition="{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" y="50%" width="23%" height="50%" layer="3">
|
||
|
<drawtext name="timertext" x="0" valign="center" font="{regular}" fontsize="85%" 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" />
|
||
|
</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="25%" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
|
||
|
<drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="20%" color="{fontdefault}" text="{eventtitle}" />
|
||
|
<drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="15%" 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="25%" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
|
||
|
<drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="20%" color="{fontdefault}" text="{eventtitle}" />
|
||
|
<drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="15%" color="{fontdefault}" text="{eventdescription}" />
|
||
|
</areascroll>
|
||
|
</currentelement>
|
||
|
</menuitems>
|
||
|
|
||
|
</menutimers>
|