coloralc.icn: Program to test color allocation

February 6, 1995; Gregg M. Townsend
Requires: Version 9 graphics
This file is in the public domain.
   coloralc tests how many fixed and/or mutable colors can be allocated.
The two sets of pushbuttons allocate 1, 8, or 32 randomly chosen colors
of the selected type.  New colors are arrayed on the display using
squares for fixed colors and discs for mutable colors.  When no more
colors can be created, no more squares or discs will appear.

   Clicking on a color with the left mouse button selects it as the
current color; the current color can be drawn on the screen by moving
the mouse with the left button down.

   Clicking on a mutable color (a disc) with the right mouse mutton
changes it to a new random color.  There is also a pushbutton that
changes all mutable colors simultaneously.

Source code | Program Library Page | Icon Home Page