| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |
Arguments: hotspot
Returns a value that specifies the region in which a hotspot is active, meaning where the hotspot will respond to mouse clicks and mouse movement. The value contains coordinates in the parent window's stream coordinate system.
The value may be specified by passing a :region initarg to make-instance when creating the hotspot, and/or by calling (setf hotspot-region) any time later.
The value may specify an orthogonal box, a polygon, a circle, or a line, and the format of the value depends on which type of geometrical object is being specified. Here is the format for each type:
box
instance, as created with make-box, and as you might pass to draw-box or fill-box to draw a box in that location. The
function inside-box-p will be
called internally to determine when the mouse is in the hotspot-region.
In releases prior to 7.0, this function was a method on box. That method still exists (along with the :box initarg) for compatibility.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |