mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
improved estuary4vdr
This commit is contained in:
@@ -13,39 +13,39 @@
|
||||
<area x="0" y="80%" width="20%" height="20%" layer="2">
|
||||
<drawimage cache="true" condition="{channellogoexists}" imagetype="channellogo" path="{channelid}" width="80%" height="80%" align="center" valign="center" />
|
||||
</area>
|
||||
<area x="0" y="76%" width="20%" height="4%" layer="2">
|
||||
<drawtext align="center" y="0" width="100%" fontsize="100%" font="{regular}" color="{fontdefault}" text="{channelnumber} {channelname}" />
|
||||
<area x="0" y="76%" width="20%" height="5%" layer="2">
|
||||
<drawtext align="center" y="0" width="100%" fontsize="{areaheight}*{channelnamefontsize}/100" font="{regular}" color="{fontdefault}" text="{channelnumber} {channelname}" />
|
||||
</area>
|
||||
</channelinfo>
|
||||
|
||||
<epginfo>
|
||||
<!-- current schedule -->
|
||||
<area x="67%" y="76%" width="13%" height="5%" layer="2">
|
||||
<drawtext align="right" valign="center" fontsize="80%" font="{bold}" color="{fontactive}" text="{currentstart} - {currentstop}" />
|
||||
<area x="67%" y="76%" width="13%" height="10%" layer="2">
|
||||
<drawtext align="right" valign="center" fontsize="{areaheight}*{startstopfontsize}/100" font="{bold}" color="{fontactive}" text="{currentstart} - {currentstop}" />
|
||||
</area>
|
||||
<areascroll condition="{scrollepg}++empty{currentsubtitle}" scrollelement="title" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="20%" y="76%" width="47%" height="10%" layer="2">
|
||||
<drawtext name="title" x="0" valign="center" fontsize="55%" width="100%" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
<areascroll condition="{scrollepg}++empty{currentsubtitle}" scrollelement="title" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="fast" x="20%" y="76%" width="47%" height="10%" layer="2">
|
||||
<drawtext name="title" x="0" valign="center" fontsize="{areaheight}*{epgtextfontsizelarge}/100" width="100%" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
</areascroll>
|
||||
<areascroll condition="{scrollepg}++isset{currentsubtitle}" scrollelement="title" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="20%" y="76%" width="47%" height="5%" layer="2">
|
||||
<drawtext name="title" x="0" valign="center" fontsize="100%" width="100%" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
<areascroll condition="{scrollepg}++isset{currentsubtitle}" scrollelement="title" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="fast" x="20%" y="76%" width="47%" height="10%" layer="2">
|
||||
<drawtext name="title" x="0" y="{areaheight}*{epgtextposy}/100" fontsize="{areaheight}*{epgtextfontsize}/100" width="100%" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
</areascroll>
|
||||
<areascroll condition="{scrollepg}++isset{currentsubtitle}" scrollelement="subtitle" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="20%" y="81%" width="50%" height="5%" layer="2">
|
||||
<drawtext name="subtitle" x="0" y="0" fontsize="70%" width="100%" font="{regular}" color="{fontdefault}" text="{currentsubtitle}" />
|
||||
<areascroll condition="{scrollepg}++isset{currentsubtitle}" scrollelement="subtitle" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="fast" x="20%" y="76%" width="50%" height="10%" layer="3">
|
||||
<drawtext name="subtitle" x="0" y="{areaheight}*{epgsubtextposy}/100" fontsize="{areaheight}*{epgsubtextfontsize}/100" width="100%" font="{regular}" color="{fontdefault}" text="{currentsubtitle}" />
|
||||
</areascroll>
|
||||
<area condition="not{scrollepg}" x="20%" y="76%" width="47%" height="10%" layer="2">
|
||||
<drawtext condition="isset{currentsubtitle}" x="0" y="5%" fontsize="50%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
<drawtext condition="isset{currentsubtitle}" x="0" y="55%" fontsize="35%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currentsubtitle}" />
|
||||
<drawtext condition="empty{currentsubtitle}" x="0" valign="center" fontsize="55%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
<drawtext condition="isset{currentsubtitle}" x="0" y="{areaheight}*{epgtextposy}/100" fontsize="{areaheight}*{epgtextfontsize}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
<drawtext condition="isset{currentsubtitle}" x="0" y="{areaheight}*{epgsubtextposy}/100" fontsize="{areaheight}*{epgsubtextfontsize}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currentsubtitle}" />
|
||||
<drawtext condition="empty{currentsubtitle}" x="0" valign="center" fontsize="{areaheight}*{epgtextfontsizelarge}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{currenttitle}" />
|
||||
</area>
|
||||
<area x="70%" y="83%" width="10%" height="3%" layer="2">
|
||||
<drawtext align="right" y="0" fontsize="100%" font="{regular}" color="{fontactive}" text="+{currentremaining} min" />
|
||||
</area>
|
||||
<!-- next schedule -->
|
||||
<area x="20%" y="88%" width="60%" height="10%" layer="2">
|
||||
<drawtext name="startstop" align="right" valign="center" fontsize="40%" font="{bold}" color="{fontdefault}" text="{nextstart} - {nextstop}" />
|
||||
<drawtext condition="isset{nextsubtitle}" x="0" y="5%" fontsize="50%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nexttitle}" />
|
||||
<drawtext condition="isset{nextsubtitle}" x="0" y="55%" fontsize="35%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nextsubtitle}" />
|
||||
<drawtext condition="empty{nextsubtitle}" x="0" valign="center" fontsize="55%" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nexttitle}" />
|
||||
<drawtext name="startstop" align="right" valign="center" fontsize="{areaheight}*{startstopfontsize}/100" font="{bold}" color="{fontdefault}" text="{nextstart} - {nextstop}" />
|
||||
<drawtext condition="isset{nextsubtitle}" x="0" y="{areaheight}*{epgtextposy}/100" fontsize="{areaheight}*{epgtextfontsize}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nexttitle}" />
|
||||
<drawtext condition="isset{nextsubtitle}" x="0" y="{areaheight}*{epgsubtextposy}/100" fontsize="{areaheight}*{epgsubtextfontsize}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nextsubtitle}" />
|
||||
<drawtext condition="empty{nextsubtitle}" x="0" valign="center" fontsize="{areaheight}*{epgtextfontsizelarge}/100" width="{areawidth} - {width(startstop)} - 10" font="{regular}" color="{fontdefault}" text="{nexttitle}" />
|
||||
</area>
|
||||
</epginfo>
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
<drawimage condition="{info}" imagetype="icon" path="info" width="{areaheight}*0.8" height="80%" x="5%" valign="center" />
|
||||
<drawimage condition="{warning}" imagetype="icon" path="warning" width="{areaheight}*0.8" height="80%" x="5%" valign="center" />
|
||||
<drawimage condition="{error}" imagetype="icon" path="error" width="{areaheight}*0.8" height="80%" x="5%" valign="center" />
|
||||
<drawtext align="center" valign="center" fontsize="40%" font="{regular}" color="{fontdefault}" text="{text}" />
|
||||
<drawtext align="center" valign="center" fontsize="{areaheight}*{messagemenusize}/100" font="{regular}" color="{fontdefault}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user