Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pupcolor(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pupcolor()  —  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, and bind 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. 

FILES

/usr/lib/libport.a

SEE ALSO

pupmode, endpupmode, fullscrn, endfullscrn Using mex, the IRIS Window Manager

NOTE

This routine is available only in immediate mode in the window manager. 

Version 2.5r1  —  October 29, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026