DSpContext_FadeGammaOut
You can use the DSpContext_FadeGammaOut function to completely fade out a display to a color of your choice.
OSStatus DSpContext_FadeGammaOut ( DSpContextReference inContext, RGBColor *inZeroIntensityColor);
inContext- A reference to the context whose display is to be faded. If you pass
NULLfor this parameter, the fade operation applies simultaneously to all displays.inZeroIntensityColor- A pointer to the color that is to correspond to zero intensity. If you pass
NULLfor this parameter, the zero-intensity color is black.- function result
- A result code.
DESCRIPTION
The DSpContext_FadeGammaOut function automatically performs a gamma fade on the display of the context specified in theinContextparameter. It fades the display from 100 percent to 0 percent intensity over a period of one second. You specify the zero-intensity color in theinZeroIntensityColorparameter. A key press or a mouse button click will jump the fade to its end point immediately.You can perform a manual fade with the
DSpContext_FadeGammafunction (page 2-45). For a complete discussion of gamma fades see "Gamma Fading" (page 2-9).CALLING RESTRICTIONS
Do not call this function during an interrupt.