mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
some more nopacity optimizations - thanx@utility
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<displaychannel x="0" y="0" width="100%" height="100%" fadetime="{fadeTime}">
|
||||
|
||||
<background>
|
||||
<area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="20">
|
||||
<area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="{transparency}">
|
||||
<drawimage imagetype="skinpart" path="displaychannelback" x="0" y="0" width="100%" height="100%"/>
|
||||
</area>
|
||||
<area x="1%" y="74%" width="98%" height="25%" layer="7">
|
||||
@@ -47,7 +47,7 @@
|
||||
</datetime>
|
||||
|
||||
<currentweather>
|
||||
<area x="60%" y="74%" width="18%" height="6%" layer="2">
|
||||
<area condition="{showweather}" x="60%" y="74%" width="18%" height="6%" layer="2">
|
||||
<drawimage name="weathericon" imagetype="icon" path="{icon}" x="{areawidth}/2 + {width(temperature)}/2 - {width(weathericon)}/2 + 5" valign="center" width="{areaheight}*0.7" height="{areaheight}*0.7"/>
|
||||
<drawtext name="temperature" x="{areawidth}/2 - {width(temperature)}/2 - {width(weathericon)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrWhite}" text="{temperature}°C" />
|
||||
</area>
|
||||
@@ -195,10 +195,10 @@
|
||||
{isbanner} true if image is a banner, false if it is a poster
|
||||
-->
|
||||
<scrapercontent>
|
||||
<area condition="{isbanner}" x="1%" y="1%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2">
|
||||
<area condition="{showposter}++{isbanner}" x="1%" y="1%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/>
|
||||
</area>
|
||||
<area condition="not{isbanner}" x="1%" y="1%" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2">
|
||||
<area condition="{showposter}++not{isbanner}" x="1%" y="1%" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2">
|
||||
<drawimage imagetype="image" path="{mediapath}" x="5" y="5" width="{areawidth}-10" height="{areaheight}-10"/>
|
||||
</area>
|
||||
</scrapercontent>
|
||||
@@ -211,14 +211,14 @@
|
||||
{error} true if message is a error message
|
||||
-->
|
||||
<message>
|
||||
<area x="5%" y="58%" width="90%" height="15%" layer="6">
|
||||
<area x="5%" y="88%" width="90%" height="10%" layer="6">
|
||||
<drawimage condition="{status}" imagetype="skinpart" path="messageStatus" x="0" y="0" width="100%" height="100%" />
|
||||
<drawimage condition="{info}" imagetype="skinpart" path="messageInfo" x="0" y="0" width="100%" height="100%" />
|
||||
<drawimage condition="{warning}" imagetype="skinpart" path="messageWarning" x="0" y="0" width="100%" height="100%" />
|
||||
<drawimage condition="{error}" imagetype="skinpart" path="messageError" x="0" y="0" width="100%" height="100%" />
|
||||
</area>
|
||||
<area x="5%" y="58%" width="90%" height="15%" layer="7">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" />
|
||||
<area x="5%" y="88%" width="90%" height="10%" layer="7">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
|
||||
</area>
|
||||
</message>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user