curstype(3G) curstype(3G)
curstype - defines the type and/or size of cursor
void curstype(typ)
long typ;
type expects one of five values that describe the cursor:
C16X1: the default, a 16x16 bitmap cursor of no more than one
color.
C16X2: a 16x16 bitmap cursor of no more than three colors.
C32X1: a 32x32 bitmap cursor of no more than one color.
C32X2: a 32x32 bitmap cursor of no more than three colors.
CCROSS: a cross-hair cursor.
curstype defines the type and size of a cursor. After you call curstype
call defcursor to specify the glyph's bitmap and to assign a numeric name
to it.
The cross-hair cursor is formed with a horizontal line and a vertical
line (each 1 pixel wide) that extend completely across the screen. Its
origin (15,15) is at the intersection of the two lines. It is a singlecolor
cursor whose color is mapped by the color index returned by the
getgdesc inquiry GD_CROSSHAIR_CINDEX.
defcursor, curorigin, getgdesc
This routine is available only in immediate mode.
Cursor types C16X2 and C32X2 are not available on systems where the
getgdesc inquiry GD_BITS_CURSOR returns 1.
PPPPaaaaggggeeee 1111 [ Back ]
|