pupcolor(3G) — Silicon Graphics
NAME
pupcolor − specifies the current pop-up drawing color
SPECIFICATION
C
pupcolor(c)
long c;
FORTRAN
subroutine pupcol(c)
integer*4 c
Pascal
procedure pupcolor(c: longint);
DESCRIPTION
pupcolor specifies the current color for drawing into the pop-up bitplanes. The colors specified in the file .mexrc range from 1 to 3. In .mexrc , the commands bindcolor cursor 255 0 0, bindcolor menu 20 20 20, bindcolor menuback 220 220 220, associate pupcolors 1, 2, and 3 to the specified RGB values.
In gl.h, PUP_CURSOR is the cursor color, PUP_BLACK is the menu color, and PUP_WHITE is the menu background color.
SEE ALSO
endfullscrn, fullscrn, endpupmode, pupmode Using mex , Chapter 3, Making Pop-Up Menus
NOTE
This routine is available only in immediate mode under the window manager.
Version 3.6 — December 20, 1987