[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

curson or cursoff Subroutine

Purpose

Controls cursor visibility by window.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void curson( )
void cursoff( )

FORTRAN Syntax

SUBROUTINE CURSON
SUBROUTINE CURSOF

Description

The curson and cursoff subroutines control the visibility of the cursor in the current window. These subroutines control only the visibility of the cursor and do not disable or enable the cursor or mouse button click events inside the current window. The curson subroutine is the default.

Use the getcursor subroutine to find out if the cursor is visible.

Note: These subroutines cannot be used to add to a display list.

Example

The example C language program text.c uses cursoff subroutine to turn off the cursor while drawing. The program uses the curson subroutine to turn on the cursor after drawing.

Implementation Specifics

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

Files

/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.

Related Information

Setting the origin of a cursor with the curorigin subroutine.

Defining the type and size of a cursor with the curstype subroutine.

Defining a cursor with the defcursor subroutine.

Returning the cursor characteristics with the getcursor subroutine.

Setting the cursor characteristics with the setcursor subroutine.

AIX Graphics Library Overview, Creating a Cursor, and Creating and Managing Windows.


[ Previous | Next | Contents | Glossary | Home | Search ]