Carbon


RestoreBack

Header: Palettes.h Carbon status: Supported

Sets the current background color to the color you specify.

void RestoreBack (
    const ColorSpec *c
);
Parameter descriptions
c

A pointer to the ColorSpec structure containing the RGB color to be set as the background color. If you specify 0 in the value field of the ColorSpec structure, the RestoreBack function stores the RGB value in the rgbFgColor field of the current CGrafPort structure. If you specify 1 in the value field of the ColorSpec structure, the RestoreBack function stores the RGB value in the pmBkColor field of the GrafVars structure.

VERSION NOTES

The RestoreBack function is available only with the system software versions 6.0.5 and later and with the 32-Bit QuickDraw system extension.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)