Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pupcolor()  —  Silicon Graphics

NAME

pupcolor - specifies the current popup 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 popup bit planes.  The colors range from 1 to 3 and are those colors specified in the .mexrc file. In .mexrc the commands

bindcolor cursor 255 0 0
bindcolor menu 20 20 20
bindcolor menuback 220 220 220

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
“Multiple Exposure: The IRIS  Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode while in the window manager. 

Version 2.4  —  May 08, 1986

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