curstype Subroutine

Purpose

Libraries

C Syntax

FORTRAN Syntax

Description

The curstype subroutine defines the type and size of the cursor. The system supports five cursor types:

Type

Size

Description

C16X1

16x16 bit

No more than one color (default)

C16X2

16x16 bit

No more than three colors

C32X1

32x32 bits

No more than one color

C32X2

32x32 bits

No more than three colors

CCROSS

Full window

Cross-hair

After calling the curstype subroutine, call the defcursor subroutine to assign a numeric value to the cursor and specify the cursor bitmap.

The cross-hair cursor is formed with a horizontal line and a vertical line (each one pixel wide) that extend completely across the window. Its origin (15,15) is at the intersection of the two lines. It is a one-color cursor that uses color number one.

Parameter

type

Specifies one of five values that describe the cursor. (The values are the same for both C and FORTRAN.)

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.