OFF image is displayed. This allows buttons to highlight as the mouse cursor moves over them.
Rollover Events
Use either of the following keywords in the events row to setup a rollover region:
•Relor – you define a rectangular rollover region using this format:
orelor:x:y:width:height:enable_rollover:on_bitmap:off_bitmap:x_origin:y_ origin
ox:y - represents the starting position, where 0,0 is in the upper left
owidth, height: width and height of the touch area in pixels
oenable_rollover: 1 to enable rollovers, 0 to disable rollovers
oon_bitmap: bitmap image name. Bitmap displayed when the mouse is within the defined region
ooff_bitmap: bitmap image name. Bitmap displayed when the mouse is not within the defined region.
ox_origin,y_origin: rollover origin - the starting coordinates for the rollover image. Set to
•Reloc – you define a circular rollover region using this format:
oreloc:x:y:radius:enable_rollover:on_bitmap:off_bitmap:x_origin:y_origin
ox, y: center of the touch area
oradius: radius of the touch area in pixels
oenable_rollover: 1 to enable rollovers, 0 to disable rollovers
oon_bitmap: bitmap image name. Bitmap displayed when the mouse is within the defined region
ooff_bitmap: bitmap image name. Bitmap displayed when the mouse is not within the defined region.
ox_origin,y_origin: rollover origin - the coordinates for the center of the rollover image. Set to
Example 4: rectangular rollover region
Starting x and y |
|
|
| Rollover Enabled | |
|
|
|
Rollover origin
Width and Height
On and Off image
This is an example of what you would enter in the CSV file to define a rollover region. In this example:
29