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

setdblights Subroutine

Purpose

Sets the lights on the dial and switch box.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void setdblights(Int32 mask)

FORTRAN Syntax

SUBROUTINE SETDBL(mask)
INTEGER*4 mask

Description

The setdblights subroutine turns on a combination of the lights on the dial and switch box. Each bit in the mask corresponds to a light. For example, to turn on lights 4 , 7 , and 22 (and leave all the others off), set the mask to (1<<4) | (1<<7| (1<<22) = 0x400090.

Note: This subroutine cannot be used to add to a display list.

Parameter

mask Specifies 32 packed bits indicating which lights to turn on.

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

AIX Graphics Library Overview and Using the Keyboard in GL in GL3.2 Version 4 for AIX: Programming Concepts.


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