Carbon


Theme Brush Constants

Header: Appearance.h

enum {
    kThemeBrushDialogBackgroundActive = 1,
    kThemeBrushDialogBackgroundInactive = 2,
    kThemeBrushAlertBackgroundActive = 3,
    kThemeBrushAlertBackgroundInactive = 4,
    kThemeBrushModelessDialogBackgroundActive = 5,
    kThemeBrushModelessDialogBackgroundInactive = 6,
    kThemeBrushUtilityWindowBackgroundActive = 7,
    kThemeBrushUtilityWindowBackgroundInactive = 8,
    kThemeBrushListViewSortColumnBackground = 9,
    kThemeBrushListViewBackground = 10,
    kThemeBrushIconLabelBackground = 11,
    kThemeBrushListViewSeparator = 12,
    kThemeBrushChasingArrows = 13,
    kThemeBrushDragHilite = 14,
    kThemeBrushDocumentWindowBackground = 15,
    kThemeBrushFinderWindowBackground = 16
};

Constant descriptions

kThemeBrushDialogBackgroundActive

An active dialog box’s background color or pattern.

kThemeBrushDialogBackgroundInactive

An inactive dialog box’s background color or pattern.

kThemeBrushAlertBackgroundActive

An active alert box’s background color or pattern.

kThemeBrushAlertBackgroundInactive

An inactive alert box’s background color or pattern.

kThemeBrushModelessDialogBackgroundActive

An active modeless dialog box’s background color or pattern.

kThemeBrushModelessDialogBackgroundInactive

An inactive modeless dialog box’s background color or pattern.

kThemeBrushUtilityWindowBackgroundActive

An active utility window’s background color or pattern.

kThemeBrushUtilityWindowBackgroundInactive

An inactive utility window’s background color or pattern.

kThemeBrushListViewSortColumnBackground

The background color or pattern of the list view column that is being sorted upon.

kThemeBrushListViewBackground

The background color or pattern of a list view column that is not being sorted upon.

kThemeBrushIconLabelBackground

An icon label’s color or pattern.

kThemeBrushListViewSeparator

The color or pattern of the horizontal lines that separate rows of items in list view columns.

kThemeBrushChasingArrows

Asynchronous arrows’ color or pattern.

kThemeBrushDragHilite

The color or pattern used to indicate that an element is a valid drag-and-drop destination

kThemeBrushDocumentWindowBackground

A document window’s background color or pattern.

kThemeBrushFinderWindowBackground

A Finder window’s background color or pattern. Generally, you should not use this constant unless you are trying to create a window that matches a Finder window.

The Appearance Manager provides the underlying support for RGB color data and overrides System 7 color tables such as 'cctb' and 'mctb' with an abstract mechanism that allows colors and patterns to be coordinated with the current theme. You can pass constants of type ThemeBrush in the inBrush parameter of SetThemeBackground, SetThemePen, and SetThemeWindowBackground to specify that the Appearance Manager substitute whatever the appropriate color or pattern is for a given human interface element in the current theme.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)