2000-12-12 18:08:00 -04:00
|
|
|
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes: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
|
2000-12-12 18:08:00 -04:00
|
|
|
noMark = 0
|
1998-04-21 12:21:52 -03:00
|
|
|
kMenuDrawMsg = 0
|
|
|
|
kMenuSizeMsg = 2
|
2000-12-12 18:08:00 -04:00
|
|
|
kMenuPopUpMsg = 3
|
1998-04-21 12:21:52 -03:00
|
|
|
kMenuCalcItemMsg = 5
|
|
|
|
kMenuThemeSavvyMsg = 7
|
1995-01-30 07:53:55 -04:00
|
|
|
mDrawMsg = 0
|
|
|
|
mSizeMsg = 2
|
2000-12-12 18:08:00 -04:00
|
|
|
mPopUpMsg = 3
|
1995-01-30 07:53:55 -04:00
|
|
|
mCalcItemMsg = 5
|
2000-12-12 18:08:00 -04:00
|
|
|
mChooseMsg = 1
|
|
|
|
mDrawItemMsg = 4
|
|
|
|
kMenuChooseMsg = 1
|
|
|
|
kMenuDrawItemMsg = 4
|
1998-04-21 12:21:52 -03:00
|
|
|
kThemeSavvyMenuResponse = 0x7473
|
2000-12-12 18:08:00 -04:00
|
|
|
kMenuInitMsg = 8
|
|
|
|
kMenuDisposeMsg = 9
|
|
|
|
kMenuFindItemMsg = 10
|
|
|
|
kMenuHiliteItemMsg = 11
|
1995-01-30 07:53:55 -04:00
|
|
|
textMenuProc = 0
|
|
|
|
hMenuCmd = 27
|
|
|
|
hierMenu = -1
|
2000-12-12 18:08:00 -04:00
|
|
|
kInsertHierarchicalMenu = -1
|
1995-01-30 07:53:55 -04:00
|
|
|
mctAllItems = -98
|
2000-12-12 18:08:00 -04:00
|
|
|
mctLastIDIndic = -99
|
1999-12-12 17:41:51 -04:00
|
|
|
kMenuStdMenuProc = 63
|
|
|
|
kMenuStdMenuBarProc = 63
|
|
|
|
kMenuNoModifiers = 0
|
1999-12-14 11:44:53 -04:00
|
|
|
kMenuShiftModifier = (1 << 0)
|
|
|
|
kMenuOptionModifier = (1 << 1)
|
|
|
|
kMenuControlModifier = (1 << 2)
|
2000-12-12 18:08:00 -04:00
|
|
|
kMenuNoCommandModifier = (1 << 3)
|
1999-12-12 17:41:51 -04:00
|
|
|
kMenuNoIcon = 0
|
|
|
|
kMenuIconType = 1
|
|
|
|
kMenuShrinkIconType = 2
|
|
|
|
kMenuSmallIconType = 3
|
|
|
|
kMenuColorIconType = 4
|
|
|
|
kMenuIconSuiteType = 5
|
2000-12-12 18:08:00 -04:00
|
|
|
kMenuIconRefType = 6
|
|
|
|
kMenuAttrExcludesMarkColumn = (1 << 0)
|
|
|
|
kMenuAttrAutoDisable = (1 << 2)
|
|
|
|
kMenuItemAttrSubmenuParentChoosable = (1 << 2)
|
|
|
|
kMenuTrackingModeMouse = 1
|
|
|
|
kMenuTrackingModeKeyboard = 2
|
|
|
|
kMenuDefProcPtr = 0
|
|
|
|
kMenuPropertyPersistent = 0x00000001
|
|
|
|
kHierarchicalFontMenuOption = 0x00000001
|
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
|