Carbon


Theme Button Adornment Constants

Header: Appearance.h

enum {
    kThemeAdornmentNone = 0,
    kThemeAdornmentDefault = 1,
    kThemeAdornmentFocus = 4,
    kThemeAdornmentRightToLeft = 16,
    kThemeAdornmentDrawIndicatorOnly = 32,
    kThemeAdornmentHeaderButtonLeftNeighborSelected = 64,
    kThemeAdornmentHeaderButtonRightNeighborSelected = 128,
    kThemeAdornmentHeaderButtonSortUp = 256,
    kThemeAdornmentHeaderMenuButton = 512,
    kThemeAdornmentNoShadow = 1024,
    kThemeAdornmentShadowOnly = 2048,
    kThemeAdornmentArrowLeftArrow = 64,
    kThemeAdornmentArrowDownArrow = 128,
    kThemeAdornmentArrowDoubleArrow = 256,
    kThemeAdornmentArrowUpArrow = 512
};

Constant descriptions

kThemeAdornmentNone

If no bits are set, the button is drawn with no adornment.

kThemeAdornmentDefault

If the bit specified by this mask is set, a default button ring is drawn. This constant applies to push button controls only.

kThemeAdornmentFocus

If the bit specified by this mask is set, a focus ring is drawn.

kThemeAdornmentRightToLeft

If the bit specified by this mask is set, the button is drawn in a right-to-left orientation.

kThemeAdornmentDrawIndicatorOnly

If the bit specified by this mask is set, only the button is drawn, not its label. This characteristic applies to radio buttons, checkboxes, and disclosure triangles.

kThemeAdornmentHeaderButtonLeftNeighborSelected
kThemeAdornmentHeaderButtonRightNeighborSelected
kThemeAdornmentHeaderButtonSortUp
kThemeAdornmentHeaderMenuButton
kThemeAdornmentNoShadow
kThemeAdornmentShadowOnly
kThemeAdornmentArrowLeftArrow
kThemeAdornmentArrowDownArrow
kThemeAdornmentArrowDoubleArrow
kThemeAdornmentArrowUpArrow

The ThemeButtonAdornment enumeration defines masks your application can use in the ThemeButtonDrawInfo structure to specify that button controls are drawn with the appropriate human interface characteristics. The ThemeButtonAdornment constants are available with Appearance Manager 1.1 and later.


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