Sets color map mode as the current mode.
void cmode( )
The cmode subroutine sets color map mode as the current mode. This mode is the default.
If your workstation has more than 12 standard bitplanes, you can write color indexes between 0 and 4095 into the standard bitplanes. The drawing mode must be set to NORMALDRAW to write into the standard bitplanes (NORMALDRAW is the default drawing mode). The system must be in color map mode in order to draw into the overlay or underlay bitplanes.
You must call the gconfig subroutine after the cmode subroutine in order to have the cmode subroutine take effect. The system does not enter color map mode until the gconfig subroutine is called.
Note: This subroutine cannot be used to add to a display list.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
The POWERgraphics GXT1000 will ignore the cmode subroutine when applied to windows created with the winX subroutine. The cmode subroutine can still be used with windows created with the winopen subroutine. See the winX subroutine for more detail.
|/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.|
Choosing a set of bitplanes for drawing with the drawmode subroutine.
Configuring the system with the gconfig subroutine.
Setting a display mode that bypasses the color map with the RGBmode subroutine.
Working in Color Map and RGB Modes.