setcursor() — Silicon Graphics Beta Release
NAME
setcursor - sets the cursor characteristics
SPECIFICATION
C
setcursor(index, color, wtm)
short index;
Colorindex color, wtm;
FORTRAN
subroutine setcur(index, color, wtm)
integer*4 index, color, wtm
Pascal
procedure setcursor(index: Short; color, wtm: Colorindex);
DESCRIPTION
setcursor selects a cursor glyph from among those the user has defined with defcursor. The first argument, index, picks a glyph from the definition table. color and wtm select a color and writemask for the cursor. The default cursor is 0; it is displayed with the color 1 drawn in the first available bitplane, and is automatically updated and displayed on each vertical retrace.
SEE ALSO
attachcursor, defcursor, getcursor, RGBcursor, curorigin
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985