Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setcursor(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

setcursor(3G)  —  Silicon Graphics

NAME

setcursor − sets the cursor characteristics

SPECIFICATION

C
setcursor(index, color, wtm)
short index;
Colorindex color, wtm;

FORTRAN
subroutine setcur(index, color, wtm)
integer*4 index, color, wtm

Pascal
procedure setcursor(index: longint; color, wtm:
longint);

DESCRIPTION

setcursor selects a cursor glyph from among those defined with defcursor.  index picks a glyph from the definition table.  color and wtm set a color and writemask for the cursor.  The default cursor is zero; it is displayed with the color 1 drawn in the first available bitplane, and is automatically updated on each vertical retrace. 

Under the window manager, color and wtm are ignored. 

SEE ALSO

attachcursor, curorigin, curstype, defcursor, getcursor, mapcolor, RGBcursor Programming Guide, Section 6.4, Cursors

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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