getcursor() — Silicon Graphics
NAME
getcursor - returns the cursor characteristics
SPECIFICATION
C
getcursor(index, color, wtm, b)
short *index;
Colorindex *color, *wtm;
Boolean *b;
FORTRAN
subroutine getcur(index, color, wtm, b)
integer*2 index, color, wtm
logical b
Pascal
procedure getcursor (var index: Short;
var color, wtm: Colorindex; var b: Boolean);
DESCRIPTION
getcursor returns the index of the cursor glyph, the color and the writemask associated with the cursor, and a boolean indicating whether the cursor is automatically displayed and updated by the system. The arguments to the command are addresses of four locations where the four cursor attributes are to be returned. The default is the glyph at location 0 in the cursor table, displayed with the color 1, drawn in the first available plane, and automatically updated and displayed on each vertical retrace. This command is undefined in RGB mode.
SEE ALSO
defcursor, setcursor
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986