Carbon


Theme Text Color Constants

Header: Appearance.h

enum {
    kThemeTextColorDialogActive = 1,
    kThemeTextColorDialogInactive = 2,
    kThemeTextColorAlertActive = 3,
    kThemeTextColorAlertInactive = 4,
    kThemeTextColorModelessDialogActive = 5,
    kThemeTextColorModelessDialogInactive = 6,
    kThemeTextColorWindowHeaderActive = 7,
    kThemeTextColorWindowHeaderInactive = 8,
    kThemeTextColorPlacardActive = 9,
    kThemeTextColorPlacardInactive = 10,
    kThemeTextColorPlacardPressed = 11,
    kThemeTextColorPushButtonActive = 12,
    kThemeTextColorPushButtonInactive = 13,
    kThemeTextColorPushButtonPressed = 14,
    kThemeTextColorBevelButtonActive = 15,
    kThemeTextColorBevelButtonInactive = 16,
    kThemeTextColorBevelButtonPressed = 17,
    kThemeTextColorPopupButtonActive = 18,
    kThemeTextColorPopupButtonInactive = 19,
    kThemeTextColorPopupButtonPressed = 20,
    kThemeTextColorIconLabel = 21,
    kThemeTextColorListView = 22
};

Constant descriptions

kThemeTextColorDialogActive

Text color for an active dialog box.

kThemeTextColorDialogInactive

Text color for an inactive dialog box.

kThemeTextColorAlertActive

Text color for an active alert box.

kThemeTextColorAlertInactive

Text color for an inactive alert box.

kThemeTextColorModelessDialogActive

Text color for an active modeless dialog box.

kThemeTextColorModelessDialogInactive

Text color for an inactive modeless dialog box.

kThemeTextColorWindowHeaderActive

Text color for the window header of an active window.

kThemeTextColorWindowHeaderInactive

Text color for the window header of an inactive window.

kThemeTextColorPlacardActive

Text color for a placard in an active window.

kThemeTextColorPlacardInactive

Text color for a placard in an inactive window.

kThemeTextColorPlacardPressed

Text color for a placard that is being clicked on by the user.

kThemeTextColorPushButtonActive

Text color for an active push button.

kThemeTextColorPushButtonInactive

Text color for an inactive push button.

kThemeTextColorPushButtonPressed

Text color for a push button that is being clicked on by the user.

kThemeTextColorBevelButtonActive

Text color for an active bevel button.

kThemeTextColorBevelButtonInactive

Text color for an inactive bevel button.

kThemeTextColorBevelButtonPressed

Text color for a bevel button that is being clicked on by the user.

kThemeTextColorPopupButtonActive

Text color for the menu of an active pop-up menu button.

kThemeTextColorPopupButtonInactive

Text color for the menu of an inactive pop-up menu button.

kThemeTextColorPopupButtonPressed

Text color for the menu of a pop-up menu button that is being clicked on by the user.

kThemeTextColorIconLabel

Text color for an icon label.

kThemeTextColorListView

Text color for the contents of a list view column.

A constant of type ThemeTextColor identifies a particular context in which text is used. You can pass a constant of type ThemeTextColor to the function SetThemeTextColor to specify that the Appearance Manager substitute whatever the appropriate text color is for a given context under the current theme. You can use the function GetThemeTextColor to obtain the actual color in use under the current theme for the specified ThemeTextColor constant.


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