Theme Menu State Constants

You can pass constants of type ThemeMenuState in the inState parameter of DrawThemeMenuItem and DrawThemeMenuTitle to specify the state in which theme-compliant menus are drawn. The ThemeMenuState constants are available with Appearance Manager 1.0.1 and later.

enum{
    kThemeMenuActive            = 0,
    kThemeMenuSelected          = 1,
    kThemeMenuInactive          = 3
};
typedef UInt16 ThemeMenuState;

Constant descriptions

kThemeMenuActive
Menu is drawn in its active state.
kThemeMenuSelected
Menu is drawn in its selected state.
kThemeMenuInactive
Menu is drawn in its inactive, disabled state.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)