Roku HD110 User Guide - Page 62

Other keywords for zones, DefineZone, STRING, Backgroundbitmap, Color

Page 62 highlights

Example 3 is similar to Example 2, but the RSS zone is replaced with a Text zone. The following explains the Text zone entry: • DefineZone TEXT: This keyword creates a text zone. In addition to providing the size and location of the zone, you must also specify the strings you want to display by using the STRING keyword. You can use as many STRING entries as you want. DefineZone RSS 20,610,1250,90 4 0 10 String This is the first string String This is the second string The three numbers after the Text zone dimensions represent the following: • 4 (1st number): Represents the number of lines to display • 0 (2nd number): Indicates whether the text is animated or static (0 for animated, 1 for static) • 10 (3rd number): Represents the number of seconds to display each string Other keywords for zones In addition to the keywords described in the previous section, you can also use the following keywords when adding zones to a playlist: • Backgroundbitmap: This keyword adds a background bitmap image. You can add a background bitmap to Text, RSS, or Clock zones. The stretch parameter indicates whether the image stretches to the size of the window (0 for no stretch; 1 is stretched). The syntax is: Backgroundbitmap logo.bmp 1 • Color: The color keywords use RGB color values to indicate the density of color for the background screen color, the foreground text and background text. The color values syntax is: r:g:b:a 56 • •

  • 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

56
Example 3 is similar to Example 2, but the RSS zone is replaced with a Text zone. The following
explains the Text zone entry:
DefineZone
TEXT:
This keyword creates a text zone. In addition to providing the size and
location of the zone, you must also specify the strings you want to display by using the
STRING
keyword. You can use as many STRING entries as you want.
DefineZone RSS 20,610,1250,90 4 0 10
String This is the first string
String This is the second string
The three numbers after the Text zone dimensions represent the following:
4
(1
st
number)
:
Represents the number of lines to display
0
(2
nd
number)
:
Indicates whether the text is animated or static (0 for animated, 1 for static)
10
(3
rd
number): Represents the number of seconds to display each string
Other keywords for zones
In addition to the keywords described in the previous section, you can also use the following
keywords when adding zones to a playlist:
Backgroundbitmap:
This keyword adds a background bitmap image. You can add a
background bitmap to Text, RSS, or Clock zones. The stretch parameter indicates whether the
image stretches to the size of the window (0 for no stretch; 1 is stretched). The syntax is:
<.bmp file> <stretch>
Backgroundbitmap logo.bmp 1
Color:
The color keywords use RGB color values to indicate the density of color for the
background screen color, the foreground text and background text. The color values syntax is:
r:g:b:a