vdr-plugin-skindesigner/skins/estuary4vdr/xmlfiles/displaymenusetup.xml
2016-04-17 09:29:54 +02:00

33 lines
2.8 KiB
XML

<menusetup x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="39%" scaletvy="8%" scaletvwidth="60%" scaletvheight="60%">
<menuitems x="2%" y="9%" orientation="vertical" width="98%" height="82%" align="center" numlistelements="10">
<listelement>
<area x="0" y="0" width="31%" height="100%" layer="2">
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
<drawrectangle condition="{current}" x="0" y="0" width="15%" height="100%" color="{menubackactivedark}" />
<drawrectangle condition="{current}" x="15%" y="0" width="85%" height="100%" color="{menubackactive}" />
</area>
<area x="0" y="0" width="5%" height="100%" layer="3">
<drawimage condition="not{current}" imagetype="menuicon" path="{icon}" align="center" valign="center" width="{areaheight}*0.6" height="{areaheight}*0.6"/>
<drawimage condition="{current}" imagetype="menuicon" path="{icon}_active" align="center" valign="center" width="{areaheight}*0.6" height="{areaheight}*0.6"/>
</area>
<areascroll condition="{showlistnumbers}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="5%" width="25%" layer="4">
<drawtext condition="not{current}" x="20" valign="center" font="{regular}" fontsize="60%" color="{fontdefault}" text="{number} {label}" />
<drawtext condition="{current}" name="menutext" x="20" valign="center" font="{regular}" fontsize="60%" color="{fontmenuactive}" text="{number} {label}" />
</areascroll>
<areascroll condition="not{showlistnumbers}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="5%" width="25%" layer="4">
<drawtext condition="not{current}" x="20" valign="center" font="{regular}" fontsize="60%" color="{fontdefault}" text="{label}" />
<drawtext condition="{current}" name="menutext" x="20" valign="center" font="{regular}" fontsize="60%" color="{fontmenuactive}" text="{label}" />
</areascroll>
</listelement>
<currentelement delay="100" fadetime="200">
<area x="47%" y="76%" width="49%" height="20%" layer="3">
<drawimage name="icon" imagetype="menuicon" path="{icon}" x="0" valign="center" width="{areaheight}" height="{areaheight}"/>
<drawtext x="{posx(icon)} + {width(icon)} + 40" valign="center" font="{regular}" fontsize="50%" color="{fontdefault}" text="{label}" />
</area>
</currentelement>
</menuitems>
</menusetup>