with-background-color

Macro

Package: common-graphics

Arguments: (window color) &body body

The background-color of window is set to color during the evaluation of body, and then restored to window's original background color. color must be a color-number, a RGB color, or nil. nil means use the system background color.

Note: Monochrome devices which support reverse video will generally have a two color (black and white) palette. Reverse video can be achieved by swapping foreground and background color-numbers.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.