2014-09-27 09:25:14 +02:00
|
|
|
<menudefault x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="0" scaletvy="0" scaletvwidth="0" scaletvheight="0">
|
|
|
|
<background>
|
|
|
|
<area x="0" y="0" width="100%" height="100%" layer="1">
|
2014-10-03 15:54:23 +02:00
|
|
|
<fill color="{clrBackground}" />
|
2014-09-27 09:25:14 +02:00
|
|
|
</area>
|
|
|
|
<area x="0" y="0" width="100%" height="10%" layer="2">
|
|
|
|
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
|
|
|
|
</area>
|
|
|
|
</background>
|
|
|
|
|
|
|
|
<!-- IMPORTANT: menuitemwidth and determinatefont have to be defined here. menuitemwidth defines the total width of the
|
|
|
|
default menu items, determinatefont the function which sets the actual font to use. With that it is possible to determinate
|
|
|
|
the correct column widths -->
|
|
|
|
<menuitems x="1%" y="10%" orientation="vertical" width="96%" height="80%" align="center" menuitemwidth="96%" determinatefont="column1" numlistelements="16">
|
|
|
|
<!-- Available Variables default menu listelement:
|
|
|
|
{column1} text of column1
|
|
|
|
{column2} text of column2
|
|
|
|
{column3} text of column3
|
|
|
|
{column4} text of column4
|
|
|
|
{column5} text of column5
|
|
|
|
{column6} text of column6
|
|
|
|
{column2set} true if column2 is used
|
|
|
|
{column3set} true if column3 is used
|
|
|
|
{column4set} true if column4 is used
|
|
|
|
{column5set} true if column5 is used
|
|
|
|
{column6set} true if column6 is used
|
|
|
|
{column2x} proposed x value of column2
|
|
|
|
{column3x} proposed x value of column3
|
|
|
|
{column4x} proposed x value of column4
|
|
|
|
{column5x} proposed x value of column5
|
|
|
|
{column6x} proposed x value of column6
|
|
|
|
{column1width} proposed width of column1
|
|
|
|
{column2width} proposed width of column2
|
|
|
|
{column3width} proposed width of column3
|
|
|
|
{column4width} proposed width of column4
|
|
|
|
{column5width} proposed width of column5
|
|
|
|
{column6width} proposed width of column6
|
|
|
|
{current} true if column is currently selected
|
|
|
|
{separator} true if column is a list separator
|
|
|
|
-->
|
|
|
|
<listelement>
|
|
|
|
<area x="0" width="100%" layer="2">
|
|
|
|
<drawimage condition="not{current}" imagetype="skinpart" path="menubuttondefault" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
|
|
|
|
<drawimage condition="{current}" imagetype="skinpart" path="menubuttondefaultactive" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
|
|
|
|
</area>
|
|
|
|
<areascroll scrollelement="column1" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
|
|
|
|
<drawtext condition="not{current}" name="column1" x="{column1x}" width="{column1width}" valign="center" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column1}" />
|
|
|
|
<drawtext condition="{current}" name="column1" x="{column1x}" width="{column1width}" valign="center" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column1}" />
|
|
|
|
</areascroll>
|
|
|
|
<area x="1%" width="100%" layer="3">
|
|
|
|
<drawtext condition="{column2set}++not{current}" x="{column2x}" valign="center" width="{column2width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column2}" />
|
|
|
|
<drawtext condition="{column2set}++{current}" x="{column2x}" valign="center" width="{column2width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column2}" />
|
|
|
|
<drawtext condition="{column3set}++not{current}" x="{column3x}" valign="center" width="{column3width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column3}" />
|
|
|
|
<drawtext condition="{column3set}++{current}" x="{column3x}" valign="center" width="{column3width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column3}" />
|
|
|
|
<drawtext condition="{column4set}++not{current}" x="{column4x}" valign="center" width="{column4width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column4}" />
|
|
|
|
<drawtext condition="{column4set}++{current}" x="{column4x}" valign="center" width="{column4width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column4}" />
|
|
|
|
<drawtext condition="{column5set}++not{current}" x="{column5x}" valign="center" width="{column5width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column5}" />
|
|
|
|
<drawtext condition="{column5set}++{current}" x="{column5x}" valign="center" width="{column5width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column5}" />
|
|
|
|
<drawtext condition="{column6set}++not{current}" x="{column6x}" valign="center" width="{column6width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItem}" text="{column6}" />
|
|
|
|
<drawtext condition="{column6set}++{current}" x="{column6x}" valign="center" width="{column6width}" font="{vdrOsd}" fontsize="90%" color="{clrFontMenuItemSelected}" text="{column6}" />
|
|
|
|
</area>
|
|
|
|
</listelement>
|
|
|
|
|
|
|
|
</menuitems>
|
|
|
|
</menudefault>
|