2015-01-06 06:07:48 +01:00
|
|
|
<menuchannels x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="55%" scaletvy="10%" scaletvwidth="40%" scaletvheight="40%">
|
|
|
|
|
|
|
|
<scrollbar>
|
|
|
|
<area x="52%" y="10%" width="2%" height="80%" layer="2">
|
|
|
|
<drawimage imagetype="skinpart" path="scrollbarback" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
</area>
|
|
|
|
<area x="52%" y="10%" width="2%" height="80%" layer="3">
|
|
|
|
<drawimage imagetype="skinpart" path="scrollbar" x="0" y="{areaheight} * {offset} / 1000" width="100%" height="{areaheight} * {height} / 1000"/>
|
|
|
|
</area>
|
|
|
|
</scrollbar>
|
|
|
|
|
|
|
|
<menuitems x="1%" y="10%" orientation="vertical" width="98%" height="80%" align="center" numlistelements="10">
|
|
|
|
<!-- Available Variables channels menu listelement:
|
|
|
|
{nummenuitem} number of item in list, starts with 1
|
|
|
|
{number} number of the displayed channel
|
|
|
|
{name} name of the displayed channel
|
|
|
|
{channellogoexists} true if a channel logo exists
|
|
|
|
{channelid} ChannelID as path to display channel logo
|
|
|
|
{transponder} Transponder of channel
|
|
|
|
{frequency} Frequency of channel
|
|
|
|
{source} Source of channel (S, C, T)
|
|
|
|
{sourcedescription} Descriptin of source from sources.conf
|
|
|
|
{position} orbital position of the satellite in case this is a DVB-S source
|
|
|
|
{isAtsc} true if channel is a ATSC channel
|
|
|
|
{isCable} true if channel is cable channel
|
|
|
|
{isSat} true if channel is a satellite channel
|
|
|
|
{isTerr} true if channel is terrestrical
|
|
|
|
{presenteventtitle} title of present event on this channel
|
|
|
|
{presenteventstart} present event start time in hh::mm
|
|
|
|
{presenteventstop} present event event stop time in hh::mm
|
|
|
|
{current} true if item is currently selected
|
|
|
|
{separator} true if item is a list separator
|
|
|
|
-->
|
|
|
|
<listelement>
|
|
|
|
<area x="0" width="51%" layer="2">
|
|
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="menubutton" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
<drawimage condition="{current}" imagetype="skinpart" path="menubuttonactive" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
</area>
|
|
|
|
<area condition="not{separator}" x="1%" width="9%" layer="3">
|
|
|
|
<drawimage name="logo" imagetype="channellogo" path="{channelid}" width="90%" height="90%" align="center" valign="center" />
|
|
|
|
</area>
|
|
|
|
<area condition="not{separator}" x="11%" width="39%" layer="3">
|
|
|
|
<drawtext condition="not{current}" x="0" y="5%" font="{regular}" fontsize="35%" color="{clrGray}" text="{sourcedescription}, Transp. {transponder}" />
|
|
|
|
<drawtext condition="{current}" x="0" y="5%" font="{regular}" fontsize="35%" color="{clrWhite}" text="{sourcedescription}, Transp. {transponder}" />
|
|
|
|
</area>
|
|
|
|
<area condition="not{separator}" x="11%" width="39%" layer="3">
|
|
|
|
<drawtext condition="not{current}" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrGray}" text="{number} {name}" />
|
|
|
|
<drawtext condition="{current}" x="0" y="35%" font="{regular}" fontsize="60%" color="{clrWhite}" text="{number} {name}" />
|
|
|
|
</area>
|
|
|
|
<area condition="{separator}" x="1%" width="50%" layer="3">
|
|
|
|
<drawtext x="0" valign="center" font="{regular}" fontsize="70%" color="{clrWhite}" text="{name}" />
|
|
|
|
</area>
|
|
|
|
</listelement>
|
|
|
|
<!-- additional element which is drawn for current element -->
|
|
|
|
<!-- Available Variables channels menu currentelement:
|
|
|
|
{menuitemx} x position of according menu item
|
|
|
|
{menuitemy} y position of according menu item
|
|
|
|
{menuitemwidth} width of according menu item
|
|
|
|
{menuitemheight} height of according menu item
|
|
|
|
{number} number of the displayed channel
|
|
|
|
{name} name of the displayed channel
|
|
|
|
{channellogoexists} true if a channel logo exists
|
|
|
|
{channelid} ChannelID as path to display channel logo
|
|
|
|
{transponder} Transponder of channel
|
|
|
|
{frequency} Frequency of channel
|
|
|
|
{source} Source of channel (S, C, T)
|
|
|
|
{sourcedescription} Descriptin of source from sources.conf
|
|
|
|
{position} orbital position of the satellite in case this is a DVB-S source
|
|
|
|
{isAtsc} true if channel is a ATSC channel
|
|
|
|
{isCable} true if channel is cable channel
|
|
|
|
{isSat} true if channel is a satellite channel
|
|
|
|
{isTerr} true if channel is terrestrical
|
|
|
|
{presenteventtitle} title of present event on this channel
|
|
|
|
{presenteventstart} present event start time in hh::mm
|
|
|
|
{presenteventstop} present event stop time in hh::mm
|
|
|
|
{presenteventshorttext} present event short text
|
|
|
|
{presenteventdescription} present event description
|
|
|
|
{presenteventday} present event name of day
|
|
|
|
{presenteventdate} present event date in dd:mm:yy
|
|
|
|
{presenteventelapsed} present event elapsed time
|
|
|
|
{presenteventduration} present event duration
|
|
|
|
{presenteventdurationhours} duration, full hours
|
|
|
|
{presenteventdurationminutes} duration, rest of minutes
|
|
|
|
{hasposter} true if a scraped poster is available for this elements present evemt
|
|
|
|
{posterwidth} width of scraped poster
|
|
|
|
{posterheight} height of scraped poster
|
|
|
|
{posterpath} absolute path of scraped poster
|
|
|
|
{nexteventtitle} title of next event on this channel
|
|
|
|
{nexteventstart} next event start time in hh::mm
|
|
|
|
{nexteventstop} next event event stop time in hh::mm
|
|
|
|
{nexteventshorttext} next event short text
|
|
|
|
{nexteventdescription} next event description
|
|
|
|
{nexteventday} next event name of day
|
|
|
|
{nexteventdate} next event date in dd:mm:yy
|
|
|
|
{nexteventduration} next event duration
|
|
|
|
{nexteventdurationhours} duration, full hours
|
|
|
|
{nexteventdurationminutes} duration, rest of minutes
|
|
|
|
{schedule[]} array with following 10 schedules
|
|
|
|
{schedule[title]} title of event
|
|
|
|
{schedule[shorttext]} shorttext of event
|
|
|
|
{schedule[start]} start time of event in hh:mm
|
|
|
|
{schedule[stop]} stop time of event in hh:mm
|
|
|
|
-->
|
|
|
|
<currentelement delay="500" fadetime="0">
|
|
|
|
<area x="55%" y="52%" width="45%" height="48%" layer="2">
|
|
|
|
<drawimage imagetype="skinpart" path="displaymenucurrentback" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
</area>
|
|
|
|
<area x="55%" y="53%" width="44%" height="47%" layer="3">
|
|
|
|
<drawimage name="logo" imagetype="channellogo" path="{channelid}" width="30%" height="30%" align="right" y="0" />
|
|
|
|
</area>
|
|
|
|
<areascroll mode="forthandback" orientation="vertical" delay="1000" scrollspeed="medium" x="55%" y="52%" width="45%" height="48%" layer="4">
|
|
|
|
<drawtext x="10" y="0" font="{semibold}" fontsize="15%" color="{clrWhite}" text="{tr(schedule)}:" />
|
2015-01-11 14:46:33 +01:00
|
|
|
<drawtext x="10" y="16%" font="{regular}" width="{areawidth}-20" fontsize="12%" color="{clrWhite}" text="{tr(since)} {presenteventstart} - {presenteventtitle}" />
|
|
|
|
<drawtext x="10" y="26%" font="{regular}" width="{areawidth}-20" fontsize="12%" color="{clrWhite}" text="{nexteventstart} - {nexteventtitle}" />
|
|
|
|
<loop name="schedule" x="0" y="36%" orientation="vertical">
|
2015-01-06 06:07:48 +01:00
|
|
|
<drawtext x="10" font="{regular}" width="{areawidth}-20" fontsize="12%" color="{clrWhite}" text="{schedule[start]} - {schedule[title]}" />
|
|
|
|
</loop>
|
|
|
|
</areascroll>
|
|
|
|
</currentelement>
|
|
|
|
|
|
|
|
</menuitems>
|
|
|
|
|
|
|
|
</menuchannels>
|