Carbon


GetThemeAccentColors

Header: Appearance.h Carbon status: Supported

Obtains a copy of a theme’s accent colors.

OSStatus GetThemeAccentColors (
    CTabHandle *outColors
);
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 Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)