
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.
Comentários a estes Manuais