Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ curstype(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



curstype(3G)                                                      curstype(3G)



NAME
     curstype - defines the type and/or size of cursor

C SPECIFICATION
     void curstype(typ)
     long typ;

PARAMETERS
     type   expects one of five values that describe the cursor:

            C16X1: the default, a 16x16 bitmap cursor of no more than one
            color.

            C16X2: a 16x16 bitmap cursor of no more than three colors.

            C32X1: a 32x32 bitmap cursor of no more than one color.

            C32X2: a 32x32 bitmap cursor of no more than three colors.

            CCROSS: a cross-hair cursor.

DESCRIPTION
     curstype defines the type and size of a cursor. After you call curstype
     call defcursor to specify the glyph's bitmap and to assign a numeric name
     to it.

     The cross-hair cursor is formed with a horizontal line and a vertical
     line (each 1 pixel wide) that extend completely across the screen. Its
     origin (15,15) is at the intersection of the two lines. It is a single-
     color cursor whose color is mapped by the color index returned by the
     getgdesc inquiry GD_CROSSHAIR_CINDEX.

SEE ALSO
     defcursor, curorigin, getgdesc

NOTES
     This routine is available only in immediate mode.

     Cursor types C16X2 and C32X2 are not available on systems where the
     getgdesc inquiry GD_BITS_CURSOR returns 1.















                                                                        Page 1



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