defcursor(3) — Silicon Graphics R1c
NAME
defcursor - define a cursor glyph
SYNOPSIS
C
defcursor(n, curs)
short n;
Cursor curs;
FORTRAN
subroutine defcur(n, curs)
integer*2 n, curs(16)
Pascal
procedure defcursor(n: Short; curs: Cursor);
DESCRIPTION
Defcursor defines a cursor glyph. The arguments are a table index and a 16×16 bitmap whose origin is the lower left corner. The index into the table is used as the cursor character’s name in subsequent cursor commands. By default, an arrow is defined as cursor 0. To replace a cursor, define the new one to have the same index as the old one.
SEE ALSO
deflinestyle, defobjfont, defrasterfont, deftexture, getcursor, setcursor
NOTE
This command can only be used in immediate mode.
Version 2.3 — July 04, 1985