Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 version

off-color

Arguments: lamp

Returns or sets (with setf) the color of the argument lamp when it is off. The value should be a RGB color object (see make-rgb) or nil.

If the value is nil, the effective off-color will be computed automatically from the on-color and the off-color-factor properties, by multiplying the red, green, and blue components of the on-color by the off-color-factor number. This allows changing the overall color of the lamp periodically by changing only the on-color, letting the off-color match it automatically.

When an RGB color, that color is used directly. The default value is nil.

When the value property of lamp is a two-dimensional array (so an array of lamps is displayed), the value of this property may also be an array of the same dimensions, with values colors (or nil), allowing each lamp to have its own off-color.

See the description of the lamp control.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. The object described on this page has been modified in the 8.1 release; see the Release Notes.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Object described on page has changed in 8.1.
8.0 version