Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcursor(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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 four values: the cursor glyph (index); the color (color) and the writemask (wtm) of the glyph, and a boolean value (b) indicates whether the system automatically displays the cursor. 

index, color, wtm and b are the addresses of locations where the cursor variables are returned. 

The default is the glyph index 0 in the cursor table, displayed with the color 1, drawn in the first available bitplane, and automatically updated on each vertical retrace.  This routine is undefined in RGB mode. 

SEE ALSO

defcursor, setcursor IRIS Graphics Programming, Section 6.4, Cursors

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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