Roku HD110 User Guide - Page 51

Using rollover events (HD810, HD1010, and HD2000 only), Relor

Page 51 highlights

Using rollover events (HD810, HD1010, and HD2000 only) You can define either a rectangular or circular rollover region. To setup a rollover region, use either of the following keywords in the events row: NOTE: When the x_origin : y_origin are set to -1:-1, the starting position for the ON and OFF images are also the starting coordinates for the rollover region. This is true for both rectangular and circular rollover regions. Relor Define a rectangular rollover region using this format: relor:x:y:width:height:enable_rollover:on_bitmap:off_bitmap:x_origin:y_origin • x:y represents the starting position of the rollover region, where 0,0 is in the upper left corner of the display. • width, height represents the width and height of the touch area in pixels. • enable_rollover: 1 enables rollovers; 0 disables rollovers • on_bitmap represents the name of the bitmap image that displays when the mouse is within the defined region. • off_bitmap represents the name of the bitmap image that displays when the mouse is not within the defined region. • x_origin,y_origin represents the starting position for the rollover image. Reloc Define a circular rollover region using this format: reloc:x:y:radius:enable_rollover:on_bitmap:off_bitmap:x_origin:y_origin • x, y represents the center of the touch area. • radius represents the radius of the touch area in pixels. • enable_rollover: 1 enables rollovers, 0 disables rollovers • on_bitmap represents the name of the bitmap image that displays when the mouse is within the defined region. 45 • •

  • 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

45
Using rollover events (HD810, HD1010, and HD2000 only)
You can define either a rectangular or circular rollover region. To setup a rollover region, use
either of the following keywords in the events row:
NOTE:
When the x_origin : y_origin are set to -1:-1, the starting position for the ON and OFF
images are also the starting coordinates for the rollover region. This is true for both rectangular
and circular rollover regions.
Relor
Define a rectangular rollover region using this format:
relor:x:y:width:height:enable_rollover:on_bitmap:off_bitmap:x_origin:y_origin
x:y
represents the starting position of the rollover region, where 0,0 is in the upper left corner
of the display.
width, height
represents the width and height of the touch area in pixels.
enable_rollover
: 1 enables rollovers; 0 disables rollovers
on_bitmap
represents the name of the bitmap image that displays when the mouse is within
the defined region.
off_bitmap
represents the name of the bitmap image that displays when the mouse is not
within the defined region.
x_origin,y_origin
represents the starting position for the rollover image.
Reloc
Define a circular rollover region using this format:
reloc:x:y:radius:enable_rollover:on_bitmap:off_bitmap:x_origin:y_origin
x, y
represents the center of the touch area.
radius
represents the radius of the touch area in pixels.
enable_rollover:
1 enables rollovers, 0 disables rollovers
on_bitmap
represents the name of the bitmap image that displays when the mouse is within
the defined region.