Carbon


GetThemeAccentColors

Header: Appearance.h Carbon status: Supported

Obtains a copy of a theme’s accent colors.

OSStatus GetThemeAccentColors (
    CTabHandle *outColors
);
Parameter descriptions
outColors

A pointer to a value of type CTabHandle. On return, the handle refers to a ColorTable structure containing the current accent colors.

function result

A result code. GetThemeAccentColors returns the result appearanceThemeHasNoAccents if the current theme has no accent colors.

DISCUSSION

Note that the Appearance Manager does not currently define semantics for any indexes into the color table produced by the GetThemeAccentColors function.

VERSION NOTES

This function is available with Appearance Manager 1.0.1 and later.

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 7/13/2000)