mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
updated metrixhd
This commit is contained in:
@@ -69,13 +69,21 @@
|
||||
|
||||
<areacontainer condition="eq({indexshowinformation},1)">
|
||||
<!-- system load background -->
|
||||
<area x="75%" y="40%" width="25%" height="5%" layer="1">
|
||||
<area condition="{mainmenusmall}||eq({indexmainmenuorientation},1)" x="75%" y="39%" width="25%" height="5%" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
<!-- disc usage background -->
|
||||
<area x="75%" y="26%" width="25%" height="10%" layer="1">
|
||||
<area condition="{mainmenusmall}||eq({indexmainmenuorientation},1)" x="75%" y="26%" width="25%" height="10%" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
<!--
|
||||
<area condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)" x="75%" y="89%" width="25%" height="5%" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
<area condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)" x="75%" y="75%" width="25%" height="10%" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
-->
|
||||
</areacontainer>
|
||||
</background>
|
||||
|
||||
@@ -121,20 +129,20 @@
|
||||
</areacontainer>
|
||||
</header>
|
||||
|
||||
<datetime shifttime="400" shifttype="right">
|
||||
<datetime>
|
||||
<area x="75%" y="0" width="12%" height="10%" layer="2">
|
||||
<drawtext align="right" y="0%" font="{light}" fontsize="55%" color="{fontactive}" text="{dayname}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="55%" color="{fontactive}" text="{day}. {monthnameshort}" />
|
||||
<drawtext align="right" y="45%" font="{light}" fontsize="50%" color="{fontactive}" text="{day}. {monthname}" />
|
||||
</area>
|
||||
<area x="88%" y="0" width="12%" height="10%" layer="2">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{time}" />
|
||||
</area>
|
||||
</datetime>
|
||||
|
||||
<currentweather condition="gt({indexshowweather},0)" shifttime="400" shifttype="right">
|
||||
<currentweather condition="gt({indexshowweather},0)">
|
||||
<areacontainer condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)">
|
||||
<area x="50%" y="0" width="14%" height="10%" layer="3">
|
||||
<drawimage imagetype="icon" path="{icon}" align="center" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawimage imagetype="icon" path="{icon}_active" align="center" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
</area>
|
||||
<area x="64%" y="0" width="10%" height="10%" layer="3">
|
||||
<drawtext x="0" y="0" font="{light}" fontsize="35%" color="{fontdefault}" text="{mintemperature}°C" />
|
||||
@@ -142,9 +150,9 @@
|
||||
<drawtext align="right" valign="center" font="{light}" fontsize="65%" color="{fontdefault}" text="{temperature}°C" />
|
||||
</area>
|
||||
</areacontainer>
|
||||
<areacontainer condition="{mainmenusmall}||gt({indexmainmenuorientation},0)">
|
||||
<areacontainer condition="{mainmenusmall}||eq({indexmainmenuorientation},1)">
|
||||
<area x="75%" y="13%" width="13%" height="10%" layer="2">
|
||||
<drawimage imagetype="icon" path="{icon}" align="center" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawimage imagetype="icon" path="{icon}_active" align="center" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
</area>
|
||||
<area x="89%" y="13%" width="10%" height="10%" layer="2">
|
||||
<drawtext x="0" y="0" font="{light}" fontsize="35%" color="{fontdefault}" text="{mintemperature}°C" />
|
||||
@@ -158,19 +166,34 @@
|
||||
|
||||
|
||||
<devices condition="gt({indexshowdevices},0)">
|
||||
<areacontainer condition="{mainmenusmall}||gt({indexmainmenuorientation},0)">
|
||||
<area background="true" x="75%" y="26%" width="25%" height="{areaheight}/12 * {numdevices}" layer="1">
|
||||
<areacontainer condition="{mainmenusmall}||eq({indexmainmenuorientation},1)">
|
||||
<area condition="eq({indexshowinformation},1)" background="true" x="75%" y="47%" width="25%" height="{areaheight}/12 * {numdevices}" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
<area x="75%" y="26%" width="25%" height="{areaheight}/12 * {numdevices}" layer="2">
|
||||
<area condition="eq({indexshowinformation},1)" x="75%" y="47%" width="25%" height="{areaheight}/12 * {numdevices}" layer="2">
|
||||
<loop name="devices" x="0" y="0" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight} / {numdevices}" overflow="cut">
|
||||
<drawtext name="label" x="5" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="{devices[num]}: {devices[type]}" />
|
||||
<drawtext condition="{devices[hascam]}" x="{width(label)} + 15" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="(CAM {devices[cam]})" />
|
||||
<drawtext condition="{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrRed}" text="LiveTV, Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="{devices[recording]} ++ not{devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrRed}" text="Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="not{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="LiveTV ({devices[channelname]}) " />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="{rowheight}/3 + 5" width="{areawidth} * {devices[signalstrength]} / 100 - 10 * {devices[signalstrength]} / 100" height="{rowheight}/3 - 10" color="{clrWhiteTrans}" />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="2*{rowheight}/3 + 5" width="{areawidth} * {devices[signalquality]} / 100 - 10 * {devices[signalquality]} / 100" height="{rowheight}/3 - 10" color="{clrWhiteTrans}" />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="{rowheight}/3 + 5" width="{areawidth} * {devices[signalstrength]} / 100 - 10 * {devices[signalstrength]} / 100" height="{rowheight}/3 - 10" color="{menuactive}" />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="2*{rowheight}/3 + 5" width="{areawidth} * {devices[signalquality]} / 100 - 10 * {devices[signalquality]} / 100" height="{rowheight}/3 - 10" color="{menuactive}" />
|
||||
<drawtext condition="not{devices[istuned]}" align="center" y="{rowheight}/2" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="not tuned" />
|
||||
</loop>
|
||||
</area>
|
||||
<area condition="eq({indexshowinformation},2)" background="true" x="75%" y="26%" width="25%" height="{areaheight}/12 * {numdevices}" layer="1">
|
||||
<fill color="{menuback}"/>
|
||||
</area>
|
||||
<area condition="eq({indexshowinformation},2)" x="75%" y="26%" width="25%" height="{areaheight}/12 * {numdevices}" layer="2">
|
||||
<loop name="devices" x="0" y="0" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight} / {numdevices}" overflow="cut">
|
||||
<drawtext name="label" x="5" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="{devices[num]}: {devices[type]}" />
|
||||
<drawtext condition="{devices[hascam]}" x="{width(label)} + 15" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="(CAM {devices[cam]})" />
|
||||
<drawtext condition="{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrRed}" text="LiveTV, Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="{devices[recording]} ++ not{devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{clrRed}" text="Recording ({devices[channelname]}) " />
|
||||
<drawtext condition="not{devices[recording]} ++ {devices[livetv]}" align="right" y="0" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="LiveTV ({devices[channelname]}) " />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="{rowheight}/3 + 5" width="{areawidth} * {devices[signalstrength]} / 100 - 10 * {devices[signalstrength]} / 100" height="{rowheight}/3 - 10" color="{menuactive}" />
|
||||
<drawrectangle condition="{devices[istuned]}" x="5" y="2*{rowheight}/3 + 5" width="{areawidth} * {devices[signalquality]} / 100 - 10 * {devices[signalquality]} / 100" height="{rowheight}/3 - 10" color="{menuactive}" />
|
||||
<drawtext condition="not{devices[istuned]}" align="center" y="{rowheight}/2" font="{light}" fontsize="{rowheight}*0.35" color="{fontdefault}" text="not tuned" />
|
||||
</loop>
|
||||
</area>
|
||||
@@ -320,8 +343,9 @@
|
||||
</areacontainer>
|
||||
</colorbuttons>
|
||||
|
||||
|
||||
<timers shifttime="{shifttimetimers}" startx="0" starty="100%">
|
||||
<areacontainer condition="eq({indexshowinformation},1)" >
|
||||
<areacontainer condition="eq({indexshowinformation},1)">
|
||||
<area x="0" y="75%" width="{areawidth}/8 - 5" height="25%" layer="1">
|
||||
<fill color="{menuback}" />
|
||||
</area>
|
||||
@@ -366,6 +390,7 @@
|
||||
</loop>
|
||||
</area>
|
||||
</areacontainer>
|
||||
|
||||
<areacontainer condition="gt({indexshowinformation},1)">
|
||||
<area x="0%" y="77%" width="30%" height="6%" layer="2">
|
||||
<drawtext condition="lt({numtimers}, 1) || gt({numtimers}, 1)" align="center" valign="center" fontsize="60%" font="{regular}" color="{fontactive}" text="{numtimers} {tr(activetimers)}" />
|
||||
@@ -402,15 +427,27 @@
|
||||
|
||||
<discusage>
|
||||
<areacontainer condition="eq({indexshowinformation},1)">
|
||||
<area background="true" x="75%" y="26%" width="25%" height="10%" layer="1">
|
||||
<area condition="{mainmenusmall}||eq({indexmainmenuorientation},1)" background="true" x="75%" y="26%" width="25%" height="10%" layer="1">
|
||||
<fill condition="{discalert}" color="{clrRed}"/>
|
||||
</area>
|
||||
<area x="75%" y="26%" width="25%" height="10%" layer="2">
|
||||
<area condition="{mainmenusmall}||eq({indexmainmenuorientation},1)" x="75%" y="26%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="icon" path="ico_discusage" x="1%" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawtext x="{areaheight}+10" y="0" font="{light}" fontsize="55%" color="{fontdefault}" text="{tr(disc)}: {freepercent}% {tr(free)}" />
|
||||
<drawtext x="{areaheight}+10" y="45%" font="{light}" fontsize="55%" color="{fontdefault}" text="{freetime} {tr(hours)}" />
|
||||
</area>
|
||||
|
||||
<area condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)" background="true" x="75%" y="75%" width="25%" height="10%" layer="1">
|
||||
<fill condition="{discalert}" color="{clrRed}"/>
|
||||
</area>
|
||||
<!--
|
||||
<area condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)" x="75%" y="75%" width="25%" height="10%" layer="2">
|
||||
<drawimage imagetype="icon" path="ico_discusage" x="1%" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
|
||||
<drawtext x="{areaheight}+10" y="0" font="{light}" fontsize="55%" color="{fontdefault}" text="{tr(disc)}: {freepercent}% {tr(free)}" />
|
||||
<drawtext x="{areaheight}+10" y="45%" font="{light}" fontsize="55%" color="{fontdefault}" text="{freetime} {tr(hours)}" />
|
||||
</area>
|
||||
-->
|
||||
</areacontainer>
|
||||
|
||||
<areacontainer condition="gt({indexshowinformation},1)">
|
||||
<area background="true" x="71%" y="85%" width="9%" height="6%" layer="2">
|
||||
<drawimage imagetype="icon" path="harddisc" align="center" y="0" width="{areaheight}" height="{areaheight}" />
|
||||
@@ -424,9 +461,14 @@
|
||||
|
||||
<systemload>
|
||||
<areacontainer condition="eq({indexshowinformation},1)">
|
||||
<area x="75%" y="40%" width="25%" height="5%" layer="2">
|
||||
<area condition="{mainmenusmall}||eq({indexmainmenuorientation},1)" x="75%" y="39%" width="25%" height="5%" layer="2">
|
||||
<drawtext x="5" valign="center" font="{light}" fontsize="100%" color="{fontdefault}" text="System Load: {load}" />
|
||||
</area>
|
||||
<!--
|
||||
<area condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)" x="75%" y="89%" width="25%" height="5%" layer="2">
|
||||
<drawtext x="5" valign="center" font="{light}" fontsize="100%" color="{fontdefault}" text="System Load: {load}" />
|
||||
</area>
|
||||
-->
|
||||
</areacontainer>
|
||||
<areacontainer condition="gt({indexshowinformation},1)">
|
||||
<area background="true" x="81%" y="85%" width="5%" height="5%" layer="2">
|
||||
@@ -460,23 +502,30 @@
|
||||
<area indicator="true" condition="{current}" layer="2">
|
||||
<fill color="{menuactive}" />
|
||||
</area>
|
||||
<areascroll condition="{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
|
||||
<area condition="{current}++{doitsimple}" x="0" width="99%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
|
||||
</area>
|
||||
<areascroll condition="{current}++not{doitsimple}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
<areascroll condition="not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="4">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
<area condition="not{current}" x="0" width="99%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />
|
||||
</area>
|
||||
</areacontainer>
|
||||
<areacontainer x="0" width="41%" condition="{mainmenusmall}">
|
||||
<area indicator="true" condition="{current}" layer="2">
|
||||
<fill color="{menuactive}" />
|
||||
<area layer="2">
|
||||
<fill condition="not{current}" color="{clrTransparent}" />
|
||||
<fill condition="{current}" color="{menuactive}" />
|
||||
</area>
|
||||
<areascroll condition="{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
|
||||
<area condition="{current}++{doitsimple}" x="0" width="99%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
|
||||
</area>
|
||||
<areascroll condition="{current}++not{doitsimple}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
<areascroll condition="not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
|
||||
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />
|
||||
</areascroll>
|
||||
<area condition="not{current}" x="0" width="99%" layer="3">
|
||||
<drawtext x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />
|
||||
</area>
|
||||
</areacontainer>
|
||||
</listelement>
|
||||
|
||||
@@ -496,9 +545,9 @@
|
||||
<area x="0" width="100%" y="10%" height="80%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}" align="center" valign="center" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
|
||||
</area>
|
||||
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="3000" scrollspeed="medium" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext name="menutext" align="center" valign="center" font="{light}" fontsize="50%" color="{fontdefault}" text="{label}" />
|
||||
</areascroll>
|
||||
<area x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{fontdefault}" text="{label}" />
|
||||
</area>
|
||||
</areacontainer>
|
||||
<areacontainer condition="{current}">
|
||||
<area indicator="true" x="0" y="15%" width="100%" height="75%" layer="2">
|
||||
@@ -507,30 +556,39 @@
|
||||
<area x="0" width="100%" y="10%" height="80%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}_active" align="center" valign="center" width="{areaheight}*0.5" height="{areaheight}*0.5"/>
|
||||
</area>
|
||||
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="3000" scrollspeed="medium" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<area condition="{doitsimple}" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{fontactive}" text="{label}" />
|
||||
</area>
|
||||
<areascroll condition="not{doitsimple}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="3000" scrollspeed="medium" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext name="menutext" align="center" valign="center" font="{light}" fontsize="50%" color="{fontactive}" text="{label}" />
|
||||
</areascroll>
|
||||
</areacontainer>
|
||||
</listelement>
|
||||
</menuitems>
|
||||
<menuitems orientation="horizontal" condition="{mainmenusmall}" x="0" y="7%" width="44%" height="56%" align="center" numlistelements="{menuitemsmax}">
|
||||
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
|
||||
|
||||
<menuitems orientation="horizontal" condition="{mainmenusmall}" x="1%" y="7%" width="42%" height="56%" align="center" numlistelements="{menuitemsmax}">
|
||||
<listelement>
|
||||
<areacontainer condition="not{current}">
|
||||
<area x="0" width="100%" y="10%" height="60%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}" valign="center" align="center" x="0" y="10%" width="{areawidth}*0.7" height="{areawidth}*0.7"/>
|
||||
<drawimage condition="lt({menuitemsmax},3)" imagetype="menuicon" path="{icon}" valign="center" align="center" x="0" y="10%" width="{areaheight}*0.7" height="{areaheight}*0.7"/>
|
||||
<drawimage condition="gt({menuitemsmax},2)" imagetype="menuicon" path="{icon}" valign="center" align="center" x="0" y="10%" width="{areawidth}*0.7" height="{areawidth}*0.7"/>
|
||||
</area>
|
||||
</areacontainer>
|
||||
<areacontainer condition="{current}">
|
||||
<area indicator="true" x="0" y="10%" width="100%" height="60%" layer="2">
|
||||
<area x="0" y="10%" width="100%" height="60%" layer="2">
|
||||
<fill color="{menuactive}" />
|
||||
</area>
|
||||
<area x="0" width="100%" y="10%" height="60%" layer="3">
|
||||
<drawimage imagetype="menuicon" path="{icon}_active" valign="center" align="center" x="0" y="10%" width="{areawidth}*0.8" height="{areawidth}*0.8"/>
|
||||
<drawimage condition="lt({menuitemsmax},3)" imagetype="menuicon" path="{icon}_active" valign="center" align="center" x="0" y="10%" width="{areaheight}*0.8" height="{areaheight}*0.8"/>
|
||||
<drawimage condition="gt({menuitemsmax},2)" imagetype="menuicon" path="{icon}_active" valign="center" align="center" x="0" y="10%" width="{areawidth}*0.8" height="{areawidth}*0.8"/>
|
||||
</area>
|
||||
</areacontainer>
|
||||
</listelement>
|
||||
<currentelement delay="0" fadetime="{fadetimecurrent}">
|
||||
<areascroll scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<area condition="{doitsimple}" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext align="center" valign="center" font="{light}" fontsize="80%" color="{fontactive}" text="{label}" />
|
||||
</area>
|
||||
<areascroll condition="not{doitsimple}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="5%" width="90%" y="70%" height="20%" layer="4">
|
||||
<drawtext name="menutext" align="center" valign="center" font="{light}" fontsize="80%" color="{fontactive}" text="{label}" />
|
||||
</areascroll>
|
||||
</currentelement>
|
||||
|
||||
Reference in New Issue
Block a user