• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated from 'Menus.h'
2
3def FOUR_CHAR_CODE(x): return x
4noMark = 0
5kMenuDrawMsg = 0
6kMenuSizeMsg = 2
7kMenuPopUpMsg = 3
8kMenuCalcItemMsg = 5
9kMenuThemeSavvyMsg = 7
10mDrawMsg = 0
11mSizeMsg = 2
12mPopUpMsg = 3
13mCalcItemMsg = 5
14mChooseMsg = 1
15mDrawItemMsg = 4
16kMenuChooseMsg = 1
17kMenuDrawItemMsg = 4
18kThemeSavvyMenuResponse = 0x7473
19kMenuInitMsg = 8
20kMenuDisposeMsg = 9
21kMenuFindItemMsg = 10
22kMenuHiliteItemMsg = 11
23kMenuDrawItemsMsg = 12
24textMenuProc = 0
25hMenuCmd = 27
26hierMenu = -1
27kInsertHierarchicalMenu = -1
28mctAllItems = -98
29mctLastIDIndic = -99
30kMenuStdMenuProc = 63
31kMenuStdMenuBarProc = 63
32kMenuNoModifiers = 0
33kMenuShiftModifier = (1 << 0)
34kMenuOptionModifier = (1 << 1)
35kMenuControlModifier = (1 << 2)
36kMenuNoCommandModifier = (1 << 3)
37kMenuNoIcon = 0
38kMenuIconType = 1
39kMenuShrinkIconType = 2
40kMenuSmallIconType = 3
41kMenuColorIconType = 4
42kMenuIconSuiteType = 5
43kMenuIconRefType = 6
44kMenuCGImageRefType = 7
45kMenuSystemIconSelectorType = 8
46kMenuIconResourceType = 9
47kMenuNullGlyph = 0x00
48kMenuTabRightGlyph = 0x02
49kMenuTabLeftGlyph = 0x03
50kMenuEnterGlyph = 0x04
51kMenuShiftGlyph = 0x05
52kMenuControlGlyph = 0x06
53kMenuOptionGlyph = 0x07
54kMenuSpaceGlyph = 0x09
55kMenuDeleteRightGlyph = 0x0A
56kMenuReturnGlyph = 0x0B
57kMenuReturnR2LGlyph = 0x0C
58kMenuNonmarkingReturnGlyph = 0x0D
59kMenuPencilGlyph = 0x0F
60kMenuDownwardArrowDashedGlyph = 0x10
61kMenuCommandGlyph = 0x11
62kMenuCheckmarkGlyph = 0x12
63kMenuDiamondGlyph = 0x13
64kMenuAppleLogoFilledGlyph = 0x14
65kMenuParagraphKoreanGlyph = 0x15
66kMenuDeleteLeftGlyph = 0x17
67kMenuLeftArrowDashedGlyph = 0x18
68kMenuUpArrowDashedGlyph = 0x19
69kMenuRightArrowDashedGlyph = 0x1A
70kMenuEscapeGlyph = 0x1B
71kMenuClearGlyph = 0x1C
72kMenuLeftDoubleQuotesJapaneseGlyph = 0x1D
73kMenuRightDoubleQuotesJapaneseGlyph = 0x1E
74kMenuTrademarkJapaneseGlyph = 0x1F
75kMenuBlankGlyph = 0x61
76kMenuPageUpGlyph = 0x62
77kMenuCapsLockGlyph = 0x63
78kMenuLeftArrowGlyph = 0x64
79kMenuRightArrowGlyph = 0x65
80kMenuNorthwestArrowGlyph = 0x66
81kMenuHelpGlyph = 0x67
82kMenuUpArrowGlyph = 0x68
83kMenuSoutheastArrowGlyph = 0x69
84kMenuDownArrowGlyph = 0x6A
85kMenuPageDownGlyph = 0x6B
86kMenuAppleLogoOutlineGlyph = 0x6C
87kMenuContextualMenuGlyph = 0x6D
88kMenuPowerGlyph = 0x6E
89kMenuF1Glyph = 0x6F
90kMenuF2Glyph = 0x70
91kMenuF3Glyph = 0x71
92kMenuF4Glyph = 0x72
93kMenuF5Glyph = 0x73
94kMenuF6Glyph = 0x74
95kMenuF7Glyph = 0x75
96kMenuF8Glyph = 0x76
97kMenuF9Glyph = 0x77
98kMenuF10Glyph = 0x78
99kMenuF11Glyph = 0x79
100kMenuF12Glyph = 0x7A
101kMenuF13Glyph = 0x87
102kMenuF14Glyph = 0x88
103kMenuF15Glyph = 0x89
104kMenuControlISOGlyph = 0x8A
105kMenuAttrExcludesMarkColumn = (1 << 0)
106kMenuAttrAutoDisable = (1 << 2)
107kMenuAttrUsePencilGlyph = (1 << 3)
108kMenuAttrHidden = (1 << 4)
109kMenuItemAttrDisabled = (1 << 0)
110kMenuItemAttrIconDisabled = (1 << 1)
111kMenuItemAttrSubmenuParentChoosable = (1 << 2)
112kMenuItemAttrDynamic = (1 << 3)
113kMenuItemAttrNotPreviousAlternate = (1 << 4)
114kMenuItemAttrHidden = (1 << 5)
115kMenuItemAttrSeparator = (1 << 6)
116kMenuItemAttrSectionHeader = (1 << 7)
117kMenuItemAttrIgnoreMeta = (1 << 8)
118kMenuItemAttrAutoRepeat = (1 << 9)
119kMenuItemAttrUseVirtualKey = (1 << 10)
120kMenuItemAttrCustomDraw = (1 << 11)
121kMenuItemAttrIncludeInCmdKeyMatching = (1 << 12)
122kMenuTrackingModeMouse = 1
123kMenuTrackingModeKeyboard = 2
124kMenuEventIncludeDisabledItems = 0x0001
125kMenuEventQueryOnly = 0x0002
126kMenuEventDontCheckSubmenus = 0x0004
127kMenuItemDataText = (1 << 0)
128kMenuItemDataMark = (1 << 1)
129kMenuItemDataCmdKey = (1 << 2)
130kMenuItemDataCmdKeyGlyph = (1 << 3)
131kMenuItemDataCmdKeyModifiers = (1 << 4)
132kMenuItemDataStyle = (1 << 5)
133kMenuItemDataEnabled = (1 << 6)
134kMenuItemDataIconEnabled = (1 << 7)
135kMenuItemDataIconID = (1 << 8)
136kMenuItemDataIconHandle = (1 << 9)
137kMenuItemDataCommandID = (1 << 10)
138kMenuItemDataTextEncoding = (1 << 11)
139kMenuItemDataSubmenuID = (1 << 12)
140kMenuItemDataSubmenuHandle = (1 << 13)
141kMenuItemDataFontID = (1 << 14)
142kMenuItemDataRefcon = (1 << 15)
143kMenuItemDataAttributes = (1 << 16)
144kMenuItemDataCFString = (1 << 17)
145kMenuItemDataProperties = (1 << 18)
146kMenuItemDataIndent = (1 << 19)
147kMenuItemDataCmdVirtualKey = (1 << 20)
148kMenuItemDataAllDataVersionOne = 0x000FFFFF
149kMenuItemDataAllDataVersionTwo = kMenuItemDataAllDataVersionOne | kMenuItemDataCmdVirtualKey
150kMenuDefProcPtr = 0
151kMenuPropertyPersistent = 0x00000001
152kHierarchicalFontMenuOption = 0x00000001
153gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu')
154gestaltContextualMenuUnusedBit = 0
155gestaltContextualMenuTrapAvailable = 1
156gestaltContextualMenuHasAttributeAndModifierKeys = 2
157gestaltContextualMenuHasUnicodeSupport = 3
158kCMHelpItemNoHelp = 0
159kCMHelpItemAppleGuide = 1
160kCMHelpItemOtherHelp = 2
161kCMHelpItemRemoveHelp = 3
162kCMNothingSelected = 0
163kCMMenuItemSelected = 1
164kCMShowHelpSelected = 3
165keyContextualMenuName = FOUR_CHAR_CODE('pnam')
166keyContextualMenuCommandID = FOUR_CHAR_CODE('cmcd')
167keyContextualMenuSubmenu = FOUR_CHAR_CODE('cmsb')
168keyContextualMenuAttributes = FOUR_CHAR_CODE('cmat')
169keyContextualMenuModifiers = FOUR_CHAR_CODE('cmmd')
170