Function

MACaptionAppearanceCopyWindowColor

Returns the preference for the caption window’s color.

Declaration

CGColorRef MACaptionAppearanceCopyWindowColor(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *behavior);

Parameters

domain

The domain to retrieve the preference value from. See MACaptionAppearanceDomain. Pass kMACaptionAppearanceDomainUser unless the system defaults are needed for comparison.

behavior

A pointer to memory. On return, this memory holds the caption appearance behavior for this preference setting. For possible values see MACaptionAppearanceBehavior. Pass NULL when you do not need the behavior setting.

Return Value

The preferred color displayed behind all other caption elements.

See Also

Accessing Caption Window Preferences

MACaptionAppearanceGetWindowOpacity

Returns the preference for the overlay’s opacity.

MACaptionAppearanceGetWindowRoundedCornerRadius

Returns the radius of the caption window’s corners.