Defines the type and size of the cursor.
FORTRAN (libfgl.a)
void curstype(Int32 type)
SUBROUTINE CURSTY(type) INTEGER*4 type
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.
type | Specifies one of five values that describe the cursor. (The values are the same for both C and FORTRAN.) |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Setting the origin of a cursor with the curorigin subroutine.
Controlling cursor visibility by window with the curson or cursoff subroutine.
Defining a cursor with the defcursor subroutine.
Setting the drawing mode to CURSORDRAW with the drawmode subroutine.
Changing a color map entry with the mapcolor subroutine.
Setting the cursor characteristics with the setcursor subroutine.
AIX Graphics Library Overview, Creating a Cursor, and Creating and Managing Windows.