1997-08-15 11:38:59 -03:00
|
|
|
# Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Menus.h'
|
1995-02-28 05:11:41 -04:00
|
|
|
|
1998-04-24 07:41:38 -03:00
|
|
|
def FOUR_CHAR_CODE(x): return x
|
1998-02-20 11:54:44 -04:00
|
|
|
kMenuStdMenuProc = 63
|
|
|
|
kMenuStdMenuBarProc = 63
|
|
|
|
kMenuNoModifiers = 0
|
|
|
|
kMenuNoIcon = 0
|
|
|
|
kMenuIconType = 1
|
|
|
|
kMenuShrinkIconType = 2
|
|
|
|
kMenuSmallIconType = 3
|
|
|
|
kMenuColorIconType = 4
|
|
|
|
kMenuIconSuiteType = 5
|
|
|
|
kMenuIconRefType = 6
|
1995-06-06 10:08:40 -03:00
|
|
|
noMark = 0
|
1998-04-21 12:21:52 -03:00
|
|
|
kMenuDrawMsg = 0
|
|
|
|
kMenuChooseMsg = 1
|
|
|
|
kMenuSizeMsg = 2
|
|
|
|
kMenuDrawItemMsg = 4
|
|
|
|
kMenuCalcItemMsg = 5
|
|
|
|
kMenuThemeSavvyMsg = 7
|
1995-01-30 07:53:55 -04:00
|
|
|
mDrawMsg = 0
|
|
|
|
mChooseMsg = 1
|
|
|
|
mSizeMsg = 2
|
|
|
|
mDrawItemMsg = 4
|
|
|
|
mCalcItemMsg = 5
|
1998-04-21 12:21:52 -03:00
|
|
|
kThemeSavvyMenuResponse = 0x7473
|
1995-01-30 07:53:55 -04:00
|
|
|
textMenuProc = 0
|
|
|
|
hMenuCmd = 27
|
|
|
|
hierMenu = -1
|
|
|
|
mPopUpMsg = 3
|
|
|
|
mctAllItems = -98
|
1995-02-28 05:11:41 -04:00
|
|
|
mctLastIDIndic = -99
|
1998-04-21 12:21:52 -03:00
|
|
|
gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu')
|
|
|
|
gestaltContextualMenuUnusedBit = 0
|
|
|
|
gestaltContextualMenuTrapAvailable = 1
|
|
|
|
kCMHelpItemNoHelp = 0
|
|
|
|
kCMHelpItemAppleGuide = 1
|
|
|
|
kCMHelpItemOtherHelp = 2
|
|
|
|
kCMNothingSelected = 0
|
|
|
|
kCMMenuItemSelected = 1
|
|
|
|
kCMShowHelpSelected = 3
|