summaryrefslogtreecommitdiff
path: root/Docs/Reference.txt
blob: dbbe9eb0f547479ed2454c351687f08221d201a4 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
REFERENCE text2skin-skins

Thomas Wehrspann

17.12.2004
Last update 02.01.2005

This is a short reference of the XML based skin-format of the 
text2skin-plugin.

Table of Contents
1. Elements
1.1  <skin>
1.2  <display>
1.3  <window>
1.4  <rectangle>
1.5  <ellipse>
1.6  <slope>
1.7  <image>
1.8  <text>
1.9  <marquee>
1.10 <blink>
1.11 <scrolltext>
1.12 <scrollbar>
1.13 <progress>
1.14 <block>
1.15 <list>
1.16 <item>
2. Token
2.1 Common
2.2 Channel Display
2.3 Volume Display
2.4 Message Display
2.5 Replay Display
2.6 Menu Display
3. Functions
3.1 not
3.2 and
3.3 or
3.4 equal
3.5 file
3.6 trans
4. Attributes
4.1 arc
4.2 color
4.3 font

1. Elements
===========
1.1 <skin>
----------
This is the root element of the skins. All further elements go inside this 
container.

-----------------------------------------------------------------------------
| Attribute  || Value                 || Description
-----------------------------------------------------------------------------
| version    || VERSION               || Version of the skin-format (this is
                                         fix value, currently "1.0")
| name       || NAME                  || Name to display in the VDR-OSD
| screenBase || "relative","absolute" || Should the skin be drawn "relative" 
                                         to the VDR setup of "absolute" to 
                                         the coordinates 720x576
-----------------------------------------------------------------------------

 <?xml version="1.0"?>
 <skin version="1.0" name="brushed Aluminium" screenBase="relative">
   .
   .
   .
 </skin>


1.2 <display>
-------------
For each type of a OSD display a <display>-section is required.

-----------------------------------------------------------------------------
| Attribute  || Value                 || Description
-----------------------------------------------------------------------------
| id         || * channelInfo         || Type of the OSD display
                * channelSmall
                * volume
                * message
                * replayInfo
                * replaySmall
                * menu
-----------------------------------------------------------------------------

 <?xml version="1.0"?>
 <skin version="1.0" name="brushed Aluminium" screenBase="relative">
   <display id="replayInfo">
    .
    .
    .
   </display>
 </skin>


1.3 <window>
------------
Each <display>-container has to start with a definition of drawing areas.

-----------------------------------------------------------------------------
| Attribute  || Value                 || Description
-----------------------------------------------------------------------------
| x1         || NUMBER                || Position of the left border
| y1         || NUMBER                || Position of the top border
| x2         || NUMBER                || Position of the right border
| y2         || NUMBER                || Position of the bottom border 
| bpp        || NUMBER                || Color depth of the drawing area
-----------------------------------------------------------------------------

 <?xml version="1.0"?>
 <skin version="1.0" name="brushed Aluminium" screenBase="relative">
   <display id="replayInfo">
     <window x1="0" x2="619" y1="-113" y2="-84" bpp="4" />
     <window x1="20" x2="99" y1="-83" y2="-44" bpp="4" />
      .
      .
      .
   </display>
 </skin>


1.4 <rectangle>
---------------
Draws a filled rectangle.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| x2         || NUMBER         || Position of the right border
| y2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Color of the rectangle (see 4.2 color)
-----------------------------------------------------------------------------

 <rectangle x1="20" x2="99" y1="-83" y2="-44" color="#00000000" />


1.5 <ellipse>
-------------
Draws a circle, a pitch circle, or a ellipse.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Color (see 4.2 color)
| arc        || NUMBER         || pitch circle (see 4.1 arc)
-----------------------------------------------------------------------------

 <ellipse x1="5" y1="7" x2="14" y2="15" color="GraphLight" condition="{IsMenuCurrent}"/>


1.6 <slope>
-----------
Draws a curve.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Color (see 4.2 color)
| arc        || NUMBER         || Direction (see 4.1 arc)
-----------------------------------------------------------------------------

 ;-(


1.7 <image>
-----------
Display an image.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x          || NUMBER         || Position of the left border (no scaling)
| y          || NUMBER         || Position of the top border (no scaling)
| x1         || NUMBER         || Position of the left border (with scaling)
| y1         || NUMBER         || Position of the top border (with scaling)
| x2         || NUMBER         || Position of the right border (with scaling)
| y2         || NUMBER         || Position of the bottom border (with scaling)
| condition  || FUNCTION/TOKEN || Complex condition
| alpha      || NUMBER         || Blended transparency (0-255) (see 4.2 color)
| colors     || NUMBER         || Maximum amount of colors in the scaled image
                                  (if scaling should be applied)
| color      || STRING         || replacement color for color 1 of the image
                                  (see 4.2 color)
| bgColor    || STRING         || replacement color for color 0 of the image
                                  (see 4.2 color)
| path       || STRING/TOKEN   || Image file
-----------------------------------------------------------------------------

 <image x="0" y="-70" path="Aluminium_volumebar.png" />
 <image x="585" y="138" condition="{CanScrollUp}" path="symbols/arrowup.xpm" color="#AFFFFF00" />


1.8 <text>
----------
A static or compound text.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Text color (see 4.2 color)
| align      || * center       || Alignment of the text
                * right
                * left
| font       || STRING         || Font name (see 4.3 font)
-----------------------------------------------------------------------------

 <text x1="42" x2="571" y1="-113" y2="-86" color="#FF000000" font="Osd">{ReplayTitle}</text>


1.9 <marquee>
----------
An alternative to <text> for legth texts

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Text color (see 4.2 color)
| delay      || NUMBER         || Scroll rate (in ms)
| align      || * center       || Alignment of the text
                * right
                * left
| font       || STRING         || Font name (see 4.3 font)
-----------------------------------------------------------------------------

 <marquee x1="130" x2="480" y1="423" y2="445" color="Text" font="Sml">{ReplayTitle}</marquee>;

1.9 <blink>
----------
An alternative to <text> for legth texts

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Text color (see 4.2 color)
| blinkColor || STRING         || Highlight color (see 4.2 color)
| delay      || NUMBER         || Delay between switches
| align      || * center       || Alignment of the text
                * right
                * left
| font       || STRING         || Font name (see 4.3 font)
-----------------------------------------------------------------------------

 ;-(


1.11 <scrolltext>
-----------------
A multiline text.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Text color (see 4.2 color)
| align      || * center       || Alignment of the text
                * right
                * left
| font       || STRING         || Font name (see 4.3 font)
-----------------------------------------------------------------------------

 <scrolltext x1="24" y1="138" y2="-72" x2="583" font="helmetr.ttf:20" color="#AFFFFF00">
{PresentShortText}
{PresentDescription}
 </scrolltext>


1.12 <scrollbar>
----------------
A scrollbar.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Color of the bar (see 4.2 color)
| bgColor    || STRING         || Color of the background (see 4.2 color)
-----------------------------------------------------------------------------

 <scrollbar x1="585" x2="608" y1="162" y2="-110" color="#AFFFFF00" bgColor="#8F2B1B9E" />


1.13 <progress>
--------------
A progressbar.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition
| color      || STRING         || Color of the bar (see 4.2 color)
| bgColor    || STRING         || Color of the background (see 4.2 color)
| mark       || STRING         || Color of the cutting marks (see 4.2 color)
| active     || STRING         || Color of the active area (see 4.2 color)
| keep       || STRING         || Color of the video area that should be 
                                  kept (see 4.2 color)
| current    || ZAHL/TOKEN     || Current index value
| total      || ZAHL/TOKEN     || Maximum index value
-----------------------------------------------------------------------------

 <progress x1="19" x2="556" y1="-17" y2="-7" color="#AF000000" current="{VolumeCurrent}" total="{VolumeTotal}" />
 <progress x1="129" x2="478" y1="487" y2="502" color="#FFCE7B00" bgColor="Blue" mark="Black" active="Black" keep="Black" current="{ReplayPositionIndex}" total="{ReplayDurationIndex}" />

1.14 <block>
------------
A '''<block></block>''' pools several objects together. (No recursion)

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| condition  || FUNCTION       || Complex condition
-----------------------------------------------------------------------------

 <block condition="file('logos/{ChannelName}.mng')"> 
  <rectangle x1="4" x2="67" y1="4" y2="51" color="#AF000000" />
  <image x="0" y="0" path="logos/{ChannelName}.mng" />
 </block>


1.15 <list>
-----------
Defines a list in the menu.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| x1         || NUMBER         || Position of the left border
| y1         || NUMBER         || Position of the top border
| y2         || NUMBER         || Position of the right border
| x2         || NUMBER         || Position of the bottom border
| condition  || FUNCTION/TOKEN || Complex condition (possible, but makes 
                                  little sense)
-----------------------------------------------------------------------------

 <list x1="24" y1="62" x2="569" y2="-82">
   <item height="28"/>
   <text x1="25" x2="569" y1="3" y2="27" color="#AF00FFFF" font="Sml">{MenuGroup}</text>
   <text x1="25" x2="569" y1="3" y2="27" color="#AFFFFFFF" font="Sml">{MenuItem}</text>
   <rectangle x1="0" x2="579" y1="0" y2="27" color="#FF2B1B9E" condition="{IsMenuCurrent}" />
   <text x1="22" x2="569" y1="0" y2="27" color="#AFFFFFFF" font="Osd">{MenuCurrent}</text>
   <text x1="0" x2="25" y1="0" y2="27" color="#AFFFFFFF" font="Osd">-&gt;</text>
 </list>


1.16 <item>
-----------
Defines an item for the list.

-----------------------------------------------------------------------------
| Attribute  || Value          || Description
-----------------------------------------------------------------------------
| condition  || FUNCTION/TOKEN || Complex condition (possible, but makes 
                                  little sense)
| height     || NUMBER         || Height of one list item
-----------------------------------------------------------------------------

 <list x1="24" y1="62" x2="569" y2="-82">
   <item height="28" />
   <text x1="25" x2="569" y1="3" y2="27" color="#AF00FFFF" font="Sml">{MenuGroup}</text>
   <text x1="25" x2="569" y1="3" y2="27" color="#AFFFFFFF" font="Sml">{MenuItem}</text>
   <rectangle x1="0" x2="579" y1="0" y2="27" color="#FF2B1B9E" condition="{IsMenuCurrent}" />
   <text x1="22" x2="569" y1="0" y2="27" color="#AFFFFFFF" font="Osd">{MenuCurrent}</text>
   <text x1="0" x2="25" y1="0" y2="27" color="#AFFFFFFF" font="Osd">-&gt;</text>
 </list>


2. Token
========
2.1 Common
----------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| DateTime               || (s.h. "man strftime")     || Current date/time
-----------------------------------------------------------------------------


2.2 Channel Display
-------------------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| ChannelNumber          ||                           || Channel number ("channel number-" on ongoing input
| ChannelName            ||                           || Channel- or group name
| ChannelShortName       ||                           || Short name of channel if available
| ChannelBouquet         ||                           || Provider-/bouquet name if available
| ChannelPortal          ||                           || Portal name if available
| ChannelSource          ||                           || Signal source (e.g. "S19.2E")
| PresentStartDateTime   || (also in Menu Display)    || Start time of current title
| PresentVPSDateTime     || (also in Menu Display)    || VPS start time of current title if available
| PresentEndDateTime     || (also in Menu Display)    || End time of current title
| PresentDuration        || (also in Menu Display)    || Duration of current title
| PresentProgress        || (also in Menu Display)    || Elapsed time of current title
| PresentRemaining       || (also in Menu Display)    || Remaining time of current title
| PresentTitle           || (also in Menu Display)    || Title/Heading of current title
| PresentShortText       || (also in Menu Display)    || Short text/episode of current title
| PresentDescription     || (also in Menu Display)    || Description  of current title
| FollowingStartDateTime ||                           || Start time of following title
| FollowingVPSDateTime   ||                           || VPS start time of following title if available
| FollowingEndDateTime   ||                           || End time of following title
| FollowingDuration      ||                           || Duration of following title
| FollowingTitle         ||                           || Title/Heading of following title
| FollowingShortText     ||                           || Short text/episode of following title
| FollowingDescription   ||                           || Description  of following title
| ButtonRed              || (also in Menu Display     || Caption of red button if available
                             and Replay Display)
| ButtonGreen            || (also in Menu Display     || Caption of green button if available
                             and Replay Display)
| ButtonYellow           || (also in Menu Display     || Caption of yellow button if available
                             and Replay Display)
| ButtonBlue             || (also in Menu Display     || Caption of blue button if available
                             and Replay Display)
| Language               ||                           || Language (currently only "Audio 1", "Audio 2" or "Digital Audio")
| HasTeletext            ||                           || True, if video text is available
| HasMultilang           ||                           || True, if if several sound tracks are available
| HasDolby               ||                           || True, if digital multi-channel sound is available
| IsEncrypted            ||                           || True, if the broadcast is encrypted
| IsRadio                ||                           || True, if the broadcast is a radio channel
| IsRecording            ||                           || True, if a recording is running
| HasVPS                 || (also in Menu Display)    || True, if VPS is available
| HasTimer               || (also in Menu Display)    || True, if a timer for the current title is set
| IsRunning              || (also in Menu Display)    || True, if the current title has the state "running"
| CurrentRecording       || (in every Display)        || Provides every currently running recording in a 2 second cycle
-----------------------------------------------------------------------------


2.3 Volume Display
------------------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| VolumeCurrent          ||                           || Current volume  (0-VolumeTotal) (numeric)
| VolumeTotal            ||                           || Maximum value for volume
| IsMute                 ||                           || True, if volume is muted
-----------------------------------------------------------------------------


2.4 Message Display
-------------------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| Message                || (in every Display)        || Text of the current message if available (whatever type)
| MessageStatus          || (in every Display)        || Text of the current message if available (status message)
| MessageInfo            || (in every Display)        || Text of the current message if available (information)
| MessageWarning         || (in every Display)        || Text of the current message if available (warning)
| MessageError           || (in every Display)        || Text of the current message if available (error)
-----------------------------------------------------------------------------


2.5 Replay Display
------------------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| ReplayTitle            ||                           || Title of the current replay
| ReplayPositionIndex    ||                           || Position in the current replay (numeric, analog to PresentProgress)
| ReplayDurationIndex    ||                           || Duration of the current replay (numeric, analog to PresentDuration)
| ReplayRemaining        ||                           || Remaining time of the current replay to elapse (numeric, analog to PresentRemaining)
| ReplayPrompt           ||                           || Prompt if available (e.g. "Jump: --:--")
| IsPlaying              ||                           || True, if a replay is runnning
| IsFastForward          ||                           || True, if fast forward
| IsFastRewind           ||                           || True, if fase rewind
| IsSlowForward          ||                           || True, if slow forward
| IsSlowRewind           ||                           || True, if slow rewind
| IsPausing              ||                           || True, if replay is pausing
| ReplayPosition         ||                           || Position in the replay, completely formatted, with frames at cutting marks, otherwise without frames
| ReplayDuration         ||                           || Duration of the replay, completely formatted
| ReplayMode             ||                           || Type of the replay (e.g. "dvd", "vcd", "normal",...)
| ButtonRed              || (also in Menu Display     || Caption of red button if available
                             and Channel Display)  
| ButtonGreen            || (also in Menu Display     || Caption of green button if available
                             and Channel Display)
| ButtonYellow           || (also in Menu Display     || Caption of yellow button if available
                             and ReChannel Display)
| ButtonBlue             || (also in Menu Display     || Caption of blue button if available
                             and Channel Display)
-----------------------------------------------------------------------------


2.6 Menu Display
----------------
-----------------------------------------------------------------------------
| Token                  || Comment                   || Description
-----------------------------------------------------------------------------
| MenuTitle              || Attribute: "clean"        || Title of the menu page, or filtered title with "clean"
| MenuGroup              ||                           || Text of the current list item if it is a group/delimiter
| IsMenuGroup            ||                           || True, if currently drawn list item is a group/delimiter
| MenuItem               ||                           || Text of the current list item if it is a normal entry
| IsMenuItem             ||                           || True, if currently drawn list item is a normal entry
| MenuCurrent            || Atrribute: "clean"        || Text of the current list item if it is the selected entry
| IsMenuCurrent          ||                           || True, if currently drawn list item is a currently selected one
| MenuText               || Attribute: "clean"        || Text page to display instead of the list (e.g. display in the command menu)
| ButtonRed              || (also in Channel Display  || Caption of red button if available
                             and Replay Display)
| ButtonGreen            || (also in Channel Display  || Caption of green button if available
                             and Replay Display)
| ButtonYellow           || (also in Channel Display  || Caption of yellow button if available
                             and Replay Display)
| ButtonBlue             || (also in Channel Display  || Caption of blue button if available
                             and Replay Display)
| CanScrollUp            ||                           || True, if a scroll-text can be scrolled upward
| CanScrollDown          ||                           || True, if a scroll-text can be scrolled downward
| PresentStartDateTime   || (also in Channel Display) || 
| PresentVPSDateTime     || (also in Channel Display) || 
| PresentEndDateTime     || (also in Channel Display) || 
| PresentDuration        || (also in Channel Display) || 
| PresentProgress        || (also in Channel Display) || 
| PresentTitle           || (also in Channel Display) || 
| PresentShortText       || (also in Channel Display) || 
| PresentDescription     || (also in Channel Display) || 
| HasVPS                 || (also in Channel Display) || 
| HasTimer               || (also in Channel Display) || 
| IsRunning              || (also in Channel Display) || 
-----------------------------------------------------------------------------


3. Functions
============
3.1 not
-------
Negation of the term.

 not(equal({PresentStartDateTime},{PresentVPSDateTime}))

3.2 and
-------
True, if all parameter are true.

 and({CanScrollUp},{CanScrollDown})

3.3 or
------
True, if one parameter is true.

 or({CanScrollUp},{CanScrollDown})

3.4 equal
---------
True, if both parameters are true.

 equal('Kanäle', trans('Channels'))

3.5 file
--------
Returns the parameter, if the file exists in the skin directory.

 file('logos/{ChannelName}.png')

3.6 trans
---------
Rreturn the translation (i18n) of the parameter, false, if no translation is found.

 equal('Kanäle', trans('Channels'))


4. Attributes
==============
4.1 arc
-------
-----------------------------------------------------------------------------
| Attribute || Value   || Meaning (ellipse)    || Meaning (slope)
-----------------------------------------------------------------------------
| arc       || 0       || full ellipse         || horizontal, increasing, bottom
            || 1       || first quadrant       || horizontal, increasing, top
            || 2       || second quadrant      || horizontal, decreasing, bottom
            || 3       || third quadrant       || horizontal, decreasing, top
            || 4       || fourth quadrant      || vertical, increasing, right
            || 5       || right half           || vertical, increasing, left
            || 6       || upper half           || vertical, decreasing, right
            || 7       || left half            || vertical, decreasing, left
            || 8       || lower half           ||
            || -1..-8  || invers of the above  ||
-----------------------------------------------------------------------------

4.2 color
---------
Also concerns bgColor, blinkColor, mark, active, keep
Colors are given in RGB-format transparency information

  color=#AARRGGBB

* A - alpha value (transparency 0-255)
* R - red value
* G - gree value
* B - blue value

Some examples

         AARRGGBB
  color=#00000000 = Black, fully transparent
  color=#FF000000 = Black, full opacity
  color=#7F000000 = Black, half translucent
  color=#7FFFFFFF = White, half translucent

4.3 font
--------
There are three predefined fonts

* Osd
* Fix
* Sml

If the freetype library is installed it is possible to use every True-Type font in the directories
  /etc/vdr/plugins/text2skin/fonts/
or
  /etc/vdr/plugins/text2skin/SkinName/

In the skin file the font is defined with

  font="Osd"

or with True-Type fonts with the desired size and width (optional)

  font="helmetr.ttf:size[,width]"