summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-10 16:44:29 +0200
committerlouis <louis.braun@gmx.de>2015-04-10 16:44:29 +0200
commit5146f15e44d9523e3dc96bf0f5e0aeaf1bee9c2f (patch)
tree553ab422e102a9096f637a91114d48cf8846bd2e /skins
parent97f3d372dc6cdd81f3f298f37c6a542adc6aa959 (diff)
downloadvdr-plugin-skindesigner-5146f15e44d9523e3dc96bf0f5e0aeaf1bee9c2f.tar.gz
vdr-plugin-skindesigner-5146f15e44d9523e3dc96bf0f5e0aeaf1bee9c2f.tar.bz2
fixed bug that string tokens are not evaluated in area conditions
Diffstat (limited to 'skins')
-rw-r--r--skins/blackhole/xmlfiles/displaychannel.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/skins/blackhole/xmlfiles/displaychannel.xml b/skins/blackhole/xmlfiles/displaychannel.xml
index 2385596..add8fca 100644
--- a/skins/blackhole/xmlfiles/displaychannel.xml
+++ b/skins/blackhole/xmlfiles/displaychannel.xml
@@ -60,18 +60,28 @@
{nextrecording} true if next Schedule will be recorded
-->
<epginfo>
- <area x="17%" y="80%" width="66%" height="7%" layer="3">
+ <area condition="isset{currentsubtitle}" x="17%" y="80%" width="66%" height="7%" layer="3">
<drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrWhite}" text="{currentstart}" />
<drawtext align="right" name="elapsed" valign="center" font="{regular}" fontsize="75%" color="{clrWhite}" text="{currentelapsed}/{currentduration}min" />
<drawtext x="{width(starttime)} + 40" y="0" width="{areawidth} - {width(starttime)} - {width(elapsed)} - 45" font="{regular}" fontsize="70%" color="{clrWhite}" text="{currenttitle}" />
<drawtext x="{width(starttime)} + 40" y="56%" width="{areawidth} - {width(starttime)} - {width(elapsed)} - 45" font="{regular}" fontsize="45%" color="{clrWhite}" text="{currentsubtitle}" />
</area>
- <area x="17%" y="87%" width="66%" height="7%" layer="3">
+ <area condition="empty{currentsubtitle}" x="17%" y="80%" width="66%" height="7%" layer="3">
+ <drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrWhite}" text="{currentstart}" />
+ <drawtext align="right" name="elapsed" valign="center" font="{regular}" fontsize="75%" color="{clrWhite}" text="{currentelapsed}/{currentduration}min" />
+ <drawtext x="{width(starttime)} + 40" valign="center" width="{areawidth} - {width(starttime)} - {width(elapsed)} - 45" font="{regular}" fontsize="75%" color="{clrWhite}" text="{currenttitle}" />
+ </area>
+ <area condition="isset{nextsubtitle}" x="17%" y="87%" width="66%" height="7%" layer="3">
<drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrGray}" text="{nextstart}" />
<drawtext align="right" name="duration" valign="center" font="{regular}" fontsize="75%" color="{clrGray}" text="{nextduration}min" />
<drawtext x="{width(starttime)} + 40" y="0" width="{areawidth} - {width(starttime)} - {width(duration)} - 45" font="{regular}" fontsize="70%" color="{clrGray}" text="{nexttitle}" />
<drawtext x="{width(starttime)} + 40" y="55%" width="{areawidth} - {width(starttime)} - {width(duration)} - 45" font="{regular}" fontsize="40%" color="{clrGray}" text="{nextsubtitle}" />
</area>
+ <area condition="empty{nextsubtitle}" x="17%" y="87%" width="66%" height="7%" layer="3">
+ <drawtext name="starttime" x="1%" valign="center" font="{regular}" fontsize="80%" color="{clrGray}" text="{nextstart}" />
+ <drawtext align="right" name="duration" valign="center" font="{regular}" fontsize="75%" color="{clrGray}" text="{nextduration}min" />
+ <drawtext x="{width(starttime)} + 40" valign="center" width="{areawidth} - {width(starttime)} - {width(duration)} - 45" font="{regular}" fontsize="75%" color="{clrGray}" text="{nexttitle}" />
+ </area>
</epginfo>
<!-- Available Variables progressbar: