Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ blink(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

blink()  —  Silicon Graphics

NAME

blink − changes the color map entry at a selectable rate

SPECIFICATION

C
blink(rate, color, red, green, blue)
short rate, red, green, blue;
Colorindex color;

FORTRAN
subroutine blink(rate, color, red, green, blue)
integer*4 rate, color, red, green, blue

Pascal
procedure blink(rate: longint; color: longint; red, green,
blue: longint);

DESCRIPTION

blink specifies blink rate, color map index, and red, green, and blue values.  rate is measured in terms of vertical retraces.  The system updates the color located at index color in the current colormap according to rate.  For example, if rate is 3, the color changes (blinks) every third vertical retrace.  Its value is either the original value or the new value supplied by red, green, and blue. 

Up to 20 colors can blink simultaneously, each at a different rate.  You can change the blink rate by calling blink with the same color and a different rate.  To terminate the blinking and restore the original color when color specifies a blinking colormap entry, call blink with rate = 0. 

SEE ALSO

mapcolor, color

NOTE

This routine available only in immediate mode. 

Version 2.5  —  April 22, 1987

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