summaryrefslogtreecommitdiff
path: root/skins/estuary4vdr/xmlfiles/displaymenutimers.xml
blob: dada8c870502a8eb1d4051b6f256acdefc00c646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<menutimers 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="{numitemstimers}">
        <listelement>
            <area x="0" y="0" width="{areawidth}*0.305" 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="100%" height="100%" color="{menubackactive}" />
            </area>
            <area x="1%" y="0" width="5%" height="100%" layer="3">
                <drawimage name="logo" imagetype="channellogo" path="{channelid}" x="0" width="100%" height="100%" valign="center" />
            </area>
            
            <area condition="not{current}" x="7%" width="23%" layer="3">
                <drawtext x="0" y="{areaheight}*{timersposydate}/100" font="{regular}" fontsize="{areaheight}*{timerssizedate}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
            </area>
            <areascroll condition="not{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="23%" layer="3">
                <drawtext name="timertext" x="0"  y="{areaheight}*{timersposytitle}/100" font="{regular}" fontsize="{areaheight}*{timerssizetitle}/100" color="{fontdefault}" text="{title}" />
            </areascroll>
            <area condition="{current}" x="7%" width="23%" layer="3">
                <drawtext x="0" y="{areaheight}*{timersposydate}/100" font="{regular}" fontsize="{areaheight}*{timerssizedate}/100" color="{fontmenuactive}" text="{dayname} {day}. {timerstart} - {timerstop}" />
            </area>
            <areascroll condition="{current}" scrollelement="timertext" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="7%" width="23%" layer="3">
                <drawtext name="timertext" x="0" y="{areaheight}*{timersposytitle}/100" font="{regular}" fontsize="{areaheight}*{timerssizetitle}/100" color="{fontmenuactive}" text="{title}" />
            </areascroll>

            <area x="20%" y="5%" width="10%" height="40%" layer="4">
                <drawimage condition="not{current}++{flagactive}++not{flagrecording}" imagetype="icon" path="ico_yes" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="{current}++{flagactive}++not{flagrecording}" imagetype="icon" path="ico_yes_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="not{current}++not{flagactive}++not{flagrecording}" imagetype="icon" path="ico_no" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="{current}++not{flagactive}++not{flagrecording}" imagetype="icon" path="ico_no_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="not{current}++{flagrecording}" imagetype="icon" path="ico_recording" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="{current}++{flagrecording}" imagetype="icon" path="ico_recording_active" align="right" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="{current}++{isremote}" imagetype="icon" path="ico_remotetimer_active" x="{areawidth} - 2*{areaheight} - 10" width="{areaheight}" height="{areaheight}" valign="center" />
                <drawimage condition="not{current}++{isremote}" imagetype="icon" path="ico_remotetimer" x="{areawidth} - 2*{areaheight} - 10" width="{areaheight}" height="{areaheight}" valign="center" />
            </area>
        </listelement>
        <currentelement delay="100" fadetime="200">
            <area condition="{hasposter}" x="39%" y="76%" width="7%" height="22%" layer="3">
                <drawimage imagetype="image" path="{posterpath}" x="0" valign="center" width="{areawidth}" height="{areawidth} * {posterheight} / {posterwidth}" />
            </area>
            <areascroll condition="{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="47%" y="76%" width="49%" height="20%" layer="3">
                <drawtext name="scheduling" x="0" y="0" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
                <drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{eventtitle}" />
                <drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttext}/100" color="{fontdefault}" text="{eventdescription}" />
            </areascroll>
            <areascroll condition="not{hasposter}" orientation="vertical" mode="forthandback" delay="3000" scrollspeed="medium" x="39%" y="76%" width="57%" height="20%" layer="3">
                <drawtext name="scheduling" x="0" y="0" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{dayname} {day}. {timerstart} - {timerstop}" />
                <drawtext name="title" x="0" y="{height(scheduling)}" font="{regular}" width="100%" fontsize="{areaheight}*{timerssizecurrenttitle}/100" color="{fontdefault}" text="{eventtitle}" />
                <drawtextbox x="0" y="{posy(title)}+{height(title)}" width="100%" font="{regular}" fontsize="{areaheight}*{timerssizecurrenttext}/100" color="{fontdefault}" text="{eventdescription}" />
            </areascroll>
        </currentelement>
    </menuitems>

</menutimers>