vdr-plugin-skindesigner/skins/metrixhd/xmlfiles/displaymenudefault.xml
2016-07-23 09:34:32 +02:00

145 lines
12 KiB
XML

<menudefault x="0" y="0" width="100%" height="100%" fadetime="0">
<background>
<!-- background Menu -->
<area x="0" y="0" width="100%" height="100%" layer="1">
<fill color="{menuback}" />
<drawrectangle x="75%" y="0" width="13%" height="10%" color="{menuheader}" />
</area>
</background>
<header>
<area x="0" y="0" width="75%" height="10%" layer="2">
<drawtext condition="not{hasicon}" x="10" valign="center" font="{light}" fontsize="75%" color="{fontdefault}" text="{title}" />
<drawimage condition="{hasicon}" name="menuicon" imagetype="menuicon" path="{icon}" x="10" valign="center" width="{areaheight}*8/10" height="80%"/>
<drawtext condition="{hasicon}" x="{width(menuicon)}+20" valign="center" font="{light}" fontsize="75%" color="{fontdefault}" text="{title}" />
</area>
</header>
<datetime>
<area x="75%" y="0" width="12%" height="10%" layer="3">
<drawtext align="right" y="0%" font="{light}" fontsize="55%" color="{fontactive}" text="{dayname}" />
<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="3">
<drawtext align="center" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{time}" />
</area>
</datetime>
<colorbuttons>
<area x="0" y="93%" width="25%" height="7%" layer="2">
<drawtext condition="{red1}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{red}" />
<drawrectangle condition="{red1}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
<drawtext condition="{green1}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{green}" />
<drawrectangle condition="{green1}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
<drawtext condition="{yellow1}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{yellow}" />
<drawrectangle condition="{yellow1}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
<drawtext condition="{blue1}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{blue}" />
<drawrectangle condition="{blue1}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
</area>
<area x="25%" y="93%" width="25%" height="7%" layer="2">
<drawtext condition="{red2}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{red}" />
<drawrectangle condition="{red2}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
<drawtext condition="{green2}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{green}" />
<drawrectangle condition="{green2}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
<drawtext condition="{yellow2}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{yellow}" />
<drawrectangle condition="{yellow2}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
<drawtext condition="{blue2}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{blue}" />
<drawrectangle condition="{blue2}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
</area>
<area x="50%" y="93%" width="25%" height="7%" layer="2">
<drawtext condition="{red3}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{red}" />
<drawrectangle condition="{red3}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
<drawtext condition="{green3}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{green}" />
<drawrectangle condition="{green3}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
<drawtext condition="{yellow3}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{yellow}" />
<drawrectangle condition="{yellow3}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
<drawtext condition="{blue3}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{blue}" />
<drawrectangle condition="{blue3}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
</area>
<area x="75%" y="93%" width="25%" height="7%" layer="2">
<drawtext condition="{red4}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{red}" />
<drawrectangle condition="{red4}" x="0" y="0" width="10" height="100%" color="{clrRed}" />
<drawtext condition="{green4}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{green}" />
<drawrectangle condition="{green4}" x="0" y="0" width="10" height="100%" color="{clrGreen}" />
<drawtext condition="{yellow4}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{yellow}" />
<drawrectangle condition="{yellow4}" x="0" y="0" width="10" height="100%" color="{clrYellow}" />
<drawtext condition="{blue4}" x="20" valign="center" font="{light}" fontsize="80%" color="{fontdefault}" text="{blue}" />
<drawrectangle condition="{blue4}" x="0" y="0" width="10" height="100%" color="{clrBlue}" />
</area>
</colorbuttons>
<scrollbar>
<area condition="lt({indexshowscrollbar},2)" x="96%" y="10%" width="2%" height="82%" layer="3">
<fill condition="{hasprev}||{hasnext}" color="{scrollbar}" />
<drawrectangle condition="{hasprev}||{hasnext}" x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle condition="{hasprev}||{hasnext}" x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{scrollbar}" />
</area>
<area condition="eq({indexshowscrollbar},2)" x="96%" y="10%" width="2%" height="82%" layer="3">
<fill color="{scrollbar}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{scrollbar}" />
</area>
</scrollbar>
<menuitems x="0" y="10%" orientation="vertical" width="94%" height="82%" align="center" menuitemwidth="94%" determinatefont="column1" numlistelements="{listitemsmax}">
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}++not{separator}" x="0" width="100%" layer="2">
<fill color="{menuactive}" />
</area>
<!-- Separators -->
<area x="0" condition="{separator}" width="100%" layer="2">
<fill color="{menualternate}" />
</area>
<area x="1%" condition="{separator}" width="98%" layer="3">
<drawtext condition="not{current}" align="left" valign="center" font="{light}" fontsize="90%" width="98%" color="{fontdefault}" text="{column1}" />
<drawtext condition="{current}" align="left" valign="center" font="{light}" fontsize="90%" width="98%" color="{fontactive}" text="{column1}" />
</area>
<!-- Setup Menus -->
<area condition="not{separator}++{setup}++{column2set}++not{current}" x="1%" width="59%" layer="3">
<drawtext x="0" width="99%" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{column1}" />
</area>
<area condition="not{separator}++{setup}++{column2set}++{current}++{doitsimple}" x="1%" width="59%" layer="3">
<drawtext x="0" width="99%" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{column1}" />
</area>
<areascroll condition="not{separator}++{setup}++{column2set}++{current}++not{doitsimple}" scrollelement="column1" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="1%" width="59%" layer="3">
<drawtext name="column1" x="0" width="99%" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{column1}" />
</areascroll>
<area x="60%" condition="not{separator}++{setup}++{column2set}" width="39%" layer="3">
<drawtext condition="not{current}" align="right" valign="center" font="{light}" fontsize="90%" width="99%" color="{fontdefault}" text="{column2}" />
<drawtext condition="{current}" align="right" valign="center" font="{light}" fontsize="90%" width="99%" color="{fontactive}" text="{column2}" />
</area>
<area x="1%" condition="not{separator}++{setup}++not{column2set}" width="98%" layer="3">
<drawtext condition="not{current}" align="left" valign="center" font="{light}" fontsize="90%" width="99%" color="{fontdefault}" text="{column1}" />
<drawtext condition="{current}" align="left" valign="center" font="{light}" fontsize="90%" width="99%" color="{fontactive}" text="{column1}" />
</area>
<!-- Default Menus -->
<area condition="not{separator}++not{setup}++not{current}" x="1%" width="{column1width}" layer="3">
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{column1}" />
</area>
<area condition="not{separator}++not{setup}++{current}++{doitsimple}" x="1%" width="{column1width}" layer="3">
<drawtext x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{column1}" />
</area>
<areascroll condition="not{separator}++not{setup}++{current}++not{doitsimple}" scrollelement="column1" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{fontactive}" text="{column1}" />
</areascroll>
<area condition="not{separator} ++ not{setup} ++ not{current}" x="1%" width="100%" layer="4">
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" width="{column2width}" color="{fontdefault}" text="{column2}" />
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" width="{column3width}" color="{fontdefault}" text="{column3}" />
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" width="{column4width}" color="{fontdefault}" text="{column4}" />
<drawtext condition="{column5set}" x="{column5x}" valign="center" font="{light}" fontsize="90%" width="{column5width}" color="{fontdefault}" text="{column5}" />
<drawtext condition="{column6set}" x="{column6x}" valign="center" font="{light}" fontsize="90%" width="{column6width}" color="{fontdefault}" text="{column6}" />
</area>
<area condition="not{separator}++not{setup}++{current}" x="1%" width="100%" layer="4">
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" width="{column2width}" color="{fontactive}" text="{column2}" />
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" width="{column3width}" color="{fontactive}" text="{column3}" />
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" width="{column4width}" color="{fontactive}" text="{column4}" />
<drawtext condition="{column5set}" x="{column5x}" valign="center" font="{light}" fontsize="90%" width="{column5width}" color="{fontactive}" text="{column5}" />
<drawtext condition="{column6set}" x="{column6x}" valign="center" font="{light}" fontsize="90%" width="{column6width}" color="{fontactive}" text="{column6}" />
</area>
</listelement>
</menuitems>
</menudefault>