defcursor() — Silicon Graphics Beta Release
NAME
defcursor - defines a cursor glyph
SPECIFICATION
C
defcursor(n, curs)
short n;
Cursor curs;
FORTRAN
subroutine defcur(n, curs)
integer*4 n
integer*2 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. By default, the origin of the cursor is at the lower left corner, but it can be reset with the curorigin command. The cursor origin is the position influenced by valuators attached to the cursor, and is also the position used by pick for the picking region. 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, and cannot be redefined. To replace a cursor, define the new one to have the same index as the old one.
SEE ALSO
deflinestyle, defrasterfont, defpattern, curorigin, getcursor, pick, setcursor
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985