mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added possibility to detach viewelements
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
</area>
|
||||
</scrollbar>
|
||||
|
||||
<currentweather>
|
||||
<currentweather detached="true" delay="100" fadetime="0">
|
||||
<area x="40%" y="0" width="15%" height="8%" layer="3">
|
||||
<drawimage name="weathericon" imagetype="icon" path="{icon}" align="right" valign="center" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
<drawtext name="temperature" x="{areawidth} - {width(weathericon)} - {width(temperature)} - 10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{temperature}°C" />
|
||||
@@ -75,7 +75,7 @@
|
||||
{timers[channelid]} ChannelID of channel
|
||||
{timers[channellogoexists]} true if channel logo exists
|
||||
-->
|
||||
<timers>
|
||||
<timers detached="true" delay="100" fadetime="0">
|
||||
<area condition="not{numtimers}" x="55%" y="71%" width="44%" height="19%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{semibold}" fontsize="40%" color="{clrWhite}" text="{tr(noactivetimers)}" />
|
||||
</area>
|
||||
@@ -97,7 +97,7 @@
|
||||
{discalert} true if disc usage is > 95%
|
||||
{vdrusagestring} localized VDR internal usage string
|
||||
-->
|
||||
<discusage>
|
||||
<discusage detached="true" delay="100" fadetime="0">
|
||||
<area x="55%" y="51%" width="44%" height="19%" layer="5">
|
||||
<drawimage imagetype="skinpart" path="tachohands/perc_{usedpercent}" x="{areawidth}*0.025" y="5%" width="20%" height="{areawidth}*0.20"/>
|
||||
</area>
|
||||
@@ -131,7 +131,7 @@
|
||||
{load} current system load
|
||||
{loadhand} system load for tacho hand (between 0 and 2.5 in 0.025 steps multiplied by 1000, >2.5 is always 2525)
|
||||
-->
|
||||
<systemload>
|
||||
<systemload detached="true" delay="100" fadetime="0">
|
||||
<area x="55%" y="51%" width="44%" height="19%" layer="5">
|
||||
<drawimage imagetype="skinpart" path="tachohands/load_{loadhand}" x="{areawidth}*0.28" y="5%" width="20%" height="{areawidth}*0.20"/>
|
||||
</area>
|
||||
@@ -144,7 +144,7 @@
|
||||
{cputemp} current cpu temperature in °C
|
||||
{gputemp} current gpu temperature in °C
|
||||
-->
|
||||
<temperatures>
|
||||
<temperatures detached="true" delay="100" fadetime="0">
|
||||
<area x="55%" y="51%" width="44%" height="19%" layer="5">
|
||||
<drawimage condition="gt({cputemp}, 80)" imagetype="skinpart" path="tachohands/temp_81" x="{areawidth}*0.53" y="5%" width="20%" height="{areawidth}*0.2"/>
|
||||
<drawimage condition="lt({cputemp}, 81)" imagetype="skinpart" path="tachohands/temp_{cputemp}" x="{areawidth}*0.53" y="5%" width="20%" height="{areawidth}*0.2"/>
|
||||
|
||||
Reference in New Issue
Block a user