mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added wide schedules menu in estuary4vdr
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
</area>
|
||||
</channellistback>
|
||||
|
||||
<channellist x="0" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="16" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="left">
|
||||
<channellist x="0" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="{zapclnumchannels}" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="left">
|
||||
<listelement>
|
||||
<area x="0" width="100%" layer="4">
|
||||
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
|
||||
@@ -238,7 +238,7 @@
|
||||
</area>
|
||||
</grouplistback>
|
||||
|
||||
<grouplist x="70%" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="12" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="right">
|
||||
<grouplist x="70%" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="{zapglnumgroups}" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="right">
|
||||
<listelement>
|
||||
<area x="0" width="100%" layer="5">
|
||||
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
|
||||
@@ -268,7 +268,7 @@
|
||||
</area>
|
||||
</groupchannellistback>
|
||||
|
||||
<groupchannellist x="40%" y="3%" orientation="vertical" width="30%" height="94%" align="center" numlistelements="14" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" startx="70%" starty="3%">
|
||||
<groupchannellist x="40%" y="3%" orientation="vertical" width="30%" height="94%" align="center" numlistelements="{zapclnumchannels}" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" startx="70%" starty="3%">
|
||||
<listelement>
|
||||
<area x="0" width="100%" layer="2">
|
||||
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
|
||||
|
||||
@@ -8,7 +8,32 @@
|
||||
</area>
|
||||
</header>
|
||||
|
||||
<menuitems x="2%" y="9%" orientation="vertical" width="98%" height="82%" align="center" numlistelements="{numitemsschedueles}">
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<drawimage condition="eq({indexschedulesmenustyle}, 0)" imagetype="skinpart" x="0" y="0" width="100%" height="100%" path="background_menu_tvframe" />
|
||||
<drawimage condition="eq({indexschedulesmenustyle}, 1)" imagetype="skinpart" x="0" y="0" width="100%" height="100%" path="background_menu" />
|
||||
</area>
|
||||
<area condition="eq({indexschedulesmenustyle}, 0)" x="39%" y="70%" width="60%" height="20%" layer="2">
|
||||
<fill color="{menuback}" />
|
||||
</area>
|
||||
</background>
|
||||
|
||||
<scrollbar>
|
||||
<area condition="lt({height}, 1000) ++ eq({indexschedulesmenustyle}, 0)" x="33%" y="9%" width="{areawidth}*0.01" height="82%" layer="2">
|
||||
<fill color="{menuback}" />
|
||||
</area>
|
||||
<area condition="lt({height}, 1000) ++ eq({indexschedulesmenustyle}, 1)" x="98%" y="9%" width="{areawidth}*0.01" height="82%" layer="2">
|
||||
<fill color="{menuback}" />
|
||||
</area>
|
||||
<area condition="lt({height}, 1000) ++ eq({indexschedulesmenustyle}, 0)" x="33%" y="9%" width="{areawidth}*0.01" height="82%" layer="3">
|
||||
<drawrectangle x="0" y="{areaheight} * {offset} / 1000" width="100%" height="{areaheight} * {height} / 1000" color="{progressbar}" />
|
||||
</area>
|
||||
<area condition="lt({height}, 1000) ++ eq({indexschedulesmenustyle}, 1)" x="98%" y="9%" width="{areawidth}*0.01" height="82%" layer="3">
|
||||
<drawrectangle x="0" y="{areaheight} * {offset} / 1000" width="100%" height="{areaheight} * {height} / 1000" color="{progressbar}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
|
||||
<menuitems condition="eq({indexschedulesmenustyle}, 0)" x="2%" y="9%" orientation="vertical" width="98%" height="82%" align="center" numlistelements="{numitemsscheduelesnarrow}">
|
||||
<listelement>
|
||||
<!-- background and progressbar -->
|
||||
<area x="0" y="0" width="{areawidth}*0.305" height="100%" layer="2">
|
||||
@@ -29,7 +54,7 @@
|
||||
</area>
|
||||
<!-- day or channel separator -->
|
||||
<area condition="{separator}" x="1%" width="{areawidth}*0.295" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulesseparator}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulesseparator}/100" color="{fontactive}" text="{title}" />
|
||||
</area>
|
||||
<!-- element whatson -->
|
||||
<area condition="not{separator}++{whatson}++not{current}" x="1%" width="{areawidth}*0.295" layer="3">
|
||||
@@ -114,4 +139,138 @@
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
|
||||
<menuitems condition="eq({indexschedulesmenustyle}, 1)" x="2%" y="9%" orientation="vertical" width="95%" height="82%" align="center" numlistelements="{numitemsscheduleswide}">
|
||||
<listelement>
|
||||
<!-- background and progressbar -->
|
||||
<area x="0" y="0" width="100%" 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}" />
|
||||
<drawrectangle condition="{running}" x="30%" y="20%" width="10%" height="60%" color="{progressbarback}" />
|
||||
<drawrectangle condition="{running}" x="{areawidth}*0.3 + 1" y="{areaheight}*0.2 + 1" width="{areawidth}*0.1*{elapsed}/{duration} - {elapsed}/{duration} - 1" height="{areaheight}*0.6 - 3" color="{progressbar}" />
|
||||
</area>
|
||||
<!-- timer -->
|
||||
<area condition="not{separator} ++ {timerfull}" x="94%" y="0" width="5%" height="100%" layer="4">
|
||||
<drawimage condition="not{current}" imagetype="icon" path="ico_timer" align="right" valign="center" width="0.9*{areaheight}" height="0.9*{areaheight}" />
|
||||
<drawimage condition="{current}" imagetype="icon" path="ico_timer_active" align="right" valign="center" width="0.9*{areaheight}" height="0.9*{areaheight}" />
|
||||
</area>
|
||||
<area condition="not{separator} ++ {timerpartitial}" x="94%" y="0" width="5%" height="100%" layer="4">
|
||||
<drawimage condition="not{current}" imagetype="icon" path="ico_timer" align="right" valign="center" width="0.55*{areaheight}" height="0.55*{areaheight}" />
|
||||
<drawimage condition="{current}" imagetype="icon" path="ico_timer_active" align="right" valign="center" width="0.55*{areaheight}" height="0.55*{areaheight}" />
|
||||
</area>
|
||||
<!-- day or channel separator -->
|
||||
<area condition="{separator}" x="1%" width="99%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontactive}" text="{title}" />
|
||||
</area>
|
||||
<!-- element whatson -->
|
||||
<area condition="not{separator}++{whatson}++not{current}" x="1%" width="100%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{day}" />
|
||||
<drawtext x="5%" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext condition="not{running}" x="30%" valign="center" width="69%" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtext condition="{running}" x="41%" valign="center" width="58%" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{title}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatson}++{current}" x="1%" width="100%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{day}" />
|
||||
<drawtext x="5%" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext condition="not{running}" x="30%" valign="center" width="69%" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{title}" />
|
||||
<drawtext condition="{running}" x="41%" valign="center" width="58%" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{title}" />
|
||||
</area>
|
||||
<!-- element whatsonnow -->
|
||||
<area condition="not{separator}++{whatsonnow}" x="0" width="10%" layer="3">
|
||||
<drawimage condition="{channellogoexists}" name="logo" imagetype="channellogo" path="{channelid}" width="95%" height="95%" align="center" valign="center" />
|
||||
<drawtext condition="not{channellogoexists}++not{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontdefault}" text="{channelname}" />
|
||||
<drawtext condition="not{channellogoexists}++{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontmenuactive}" text="{channelname}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++not{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++not{current}" x="41%" width="59%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{title}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnow}++{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++{whatsonnow}++{current}" scrollelement="scheduletitle" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="41%" width="59%" layer="3">
|
||||
<drawtext name="scheduletitle" x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{title}" />
|
||||
</areascroll>
|
||||
<!-- element whatsonnext -->
|
||||
<area condition="not{separator}++{whatsonnext}" x="0" width="10%" layer="3">
|
||||
<drawimage condition="{channellogoexists}" name="logo" imagetype="channellogo" path="{channelid}" width="95%" height="95%" align="center" valign="center" />
|
||||
<drawtext condition="not{channellogoexists}++not{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontdefault}" text="{channelname}" />
|
||||
<drawtext condition="not{channellogoexists}++{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontmenuactive}" text="{channelname}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnext}++not{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnext}++not{current}" x="31%" width="69%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{title}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonnext}++{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++{whatsonnext}++{current}" scrollelement="scheduletitle" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="31%" width="69%" layer="3">
|
||||
<drawtext name="scheduletitle" x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{title}" />
|
||||
</areascroll>
|
||||
<!-- element whatsonfavorites -->
|
||||
<area condition="not{separator}++{whatsonfavorites}" x="0" width="10%" layer="3">
|
||||
<drawimage condition="{channellogoexists}" name="logo" imagetype="channellogo" path="{channelid}" width="95%" height="95%" align="center" valign="center" />
|
||||
<drawtext condition="not{channellogoexists}++not{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontdefault}" text="{channelname}" />
|
||||
<drawtext condition="not{channellogoexists}++{current}" align="center" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewidesmall}/100" color="{fontmenuactive}" text="{channelname}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonfavorites}++not{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonfavorites}++not{current}" x="31%" width="69%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontdefault}" text="{title}" />
|
||||
</area>
|
||||
<area condition="not{separator}++{whatsonfavorites}++{current}" x="11%" width="18%" layer="3">
|
||||
<drawtext x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{start} - {stop}" />
|
||||
</area>
|
||||
<areascroll condition="not{separator}++{whatsonfavorites}++{current}" scrollelement="scheduletitle" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="31%" width="69%" layer="3">
|
||||
<drawtext name="scheduletitle" x="0" valign="center" font="{regular}" fontsize="{areaheight}*{schedulessizewide}/100" color="{fontmenuactive}" text="{title}" />
|
||||
</areascroll>
|
||||
</listelement>
|
||||
<currentelement delay="1000" fadetime="200">
|
||||
<areacontainer condition="{schedulesshowcurrent} ++ lt({numitem}, 11)">
|
||||
<area x="20%" y="{menuitemy}+{menuitemheight}" width="80%" height="31%" layer="4">
|
||||
<fill color="{messageback}" />
|
||||
</area>
|
||||
<area condition="{hasposter}" x="21%" y="{menuitemy}+{menuitemheight}" width="12%" height="30%" layer="5">
|
||||
<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="34%" y="{menuitemy}+{menuitemheight} + {areaheight}*0.01" width="65%" height="29%" layer="5">
|
||||
<drawtext name="datetime" x="0" y="0" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext name="title" x="0" y="{height(datetime)}" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttitle}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="{posy(title)} + {height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)} + 10" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{description}" />
|
||||
</areascroll>
|
||||
<areascroll condition="not{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="21%" y="{menuitemy}+{menuitemheight} + {areaheight}*0.01" width="78%" height="29%" layer="5">
|
||||
<drawtext name="datetime" x="0" y="0" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext name="title" x="0" y="{height(datetime)}" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttitle}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)} + 10" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{description}" />
|
||||
</areascroll>
|
||||
</areacontainer>
|
||||
<areacontainer condition="{schedulesshowcurrent} ++ gt({numitem}, 10)">
|
||||
<area x="20%" y="{menuitemy} - {areaheight}*0.31" width="80%" height="31%" layer="4">
|
||||
<fill color="{messageback}" />
|
||||
</area>
|
||||
<area condition="{hasposter}" x="21%" y="{menuitemy} - {areaheight}*0.31" width="12%" height="30%" layer="5">
|
||||
<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="34%" y="{menuitemy} + {areaheight}*0.01 - {areaheight}*0.31" width="65%" height="29%" layer="5">
|
||||
<drawtext name="datetime" x="0" y="0" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext name="title" x="0" y="{height(datetime)}" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttitle}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="{posy(title)} + {height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)} + 10" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{description}" />
|
||||
</areascroll>
|
||||
<areascroll condition="not{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="21%" y="{menuitemy} + {areaheight}*0.01 - {areaheight}*0.31" width="78%" height="29%" layer="5">
|
||||
<drawtext name="datetime" x="0" y="0" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{day} {daynumeric}.{month} {start} - {stop}" />
|
||||
<drawtext name="title" x="0" y="{height(datetime)}" font="{regular}" width="100%" fontsize="{areaheight}*{schedulessizecurrenttitle}/100" color="{fontdefault}" text="{title}" />
|
||||
<drawtextbox name="shorttext" x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{shorttext}" />
|
||||
<drawtextbox x="0" y="{posy(shorttext)} + {height(shorttext)} + 10" width="100%" font="{regular}" fontsize="{areaheight}*{schedulessizecurrenttext}/100" color="{fontdefault}" text="{description}" />
|
||||
</areascroll>
|
||||
</areacontainer>
|
||||
</currentelement>
|
||||
</menuitems>
|
||||
</menuschedules>
|
||||
Reference in New Issue
Block a user