Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ defcursor(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

defcursor()  —  Silicon Graphics

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: longint; var curs: Cursor);

DESCRIPTION

defcursor defines a cursor glyph.  The arguments are a name (n) and a 16 x 16 bitmap.  The cursor origin is at the cursor’s lower left corner by default; curorigin can reset it.  The cursor origin is the position influenced by valuators attached to the cursor, and is also the position pick uses for the picking region.  The name is used in subsequent cursor routines.  By default, an arrow is defined as cursor 0 and cannot be redefined.  To replace a cursor, the new cursor must have the same index as the previous cursor. 

SEE ALSO

curorigin, getcursor, pick, setcursor IRIS Graphics Programming, Section 6.4, Cursors

NOTE

This routine can be used only in immediate mode. 

Version 2.5r1  —  October 29, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026