1 # Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h'
3 f
= Function(short
, 'GetMBarHeight',
7 f
= Function(void
, 'InitMenus',
11 f
= Function(MenuRef
, 'NewMenu',
12 (short
, 'menuID', InMode
),
13 (ConstStr255Param
, 'menuTitle', InMode
),
17 f
= Function(MenuRef
, 'GetMenu',
18 (short
, 'resourceID', InMode
),
22 f
= Method(void
, 'DisposeMenu',
23 (MenuRef
, 'theMenu', InMode
),
27 f
= Method(void
, 'AppendMenu',
28 (MenuRef
, 'menu', InMode
),
29 (ConstStr255Param
, 'data', InMode
),
33 f
= Method(void
, 'AppendResMenu',
34 (MenuRef
, 'theMenu', InMode
),
35 (ResType
, 'theType', InMode
),
39 f
= Method(void
, 'InsertResMenu',
40 (MenuRef
, 'theMenu', InMode
),
41 (ResType
, 'theType', InMode
),
42 (short
, 'afterItem', InMode
),
46 f
= Method(void
, 'InsertMenu',
47 (MenuRef
, 'theMenu', InMode
),
48 (short
, 'beforeID', InMode
),
52 f
= Function(void
, 'DrawMenuBar',
56 f
= Function(void
, 'InvalMenuBar',
60 f
= Function(void
, 'DeleteMenu',
61 (short
, 'menuID', InMode
),
65 f
= Function(void
, 'ClearMenuBar',
69 f
= Function(Handle
, 'GetNewMBar',
70 (short
, 'menuBarID', InMode
),
74 f
= Function(Handle
, 'GetMenuBar',
78 f
= Function(void
, 'SetMenuBar',
79 (Handle
, 'menuList', InMode
),
83 f
= Method(void
, 'InsertMenuItem',
84 (MenuRef
, 'theMenu', InMode
),
85 (ConstStr255Param
, 'itemString', InMode
),
86 (short
, 'afterItem', InMode
),
90 f
= Method(void
, 'DeleteMenuItem',
91 (MenuRef
, 'theMenu', InMode
),
92 (short
, 'item', InMode
),
96 f
= Function(long, 'MenuKey',
97 (short
, 'ch', InMode
),
101 f
= Function(void
, 'HiliteMenu',
102 (short
, 'menuID', InMode
),
106 f
= Method(void
, 'SetMenuItemText',
107 (MenuRef
, 'theMenu', InMode
),
108 (short
, 'item', InMode
),
109 (ConstStr255Param
, 'itemString', InMode
),
113 f
= Method(void
, 'GetMenuItemText',
114 (MenuRef
, 'theMenu', InMode
),
115 (short
, 'item', InMode
),
116 (Str255
, 'itemString', OutMode
),
120 f
= Method(void
, 'DisableItem',
121 (MenuRef
, 'theMenu', InMode
),
122 (short
, 'item', InMode
),
126 f
= Method(void
, 'EnableItem',
127 (MenuRef
, 'theMenu', InMode
),
128 (short
, 'item', InMode
),
132 f
= Method(void
, 'CheckItem',
133 (MenuRef
, 'theMenu', InMode
),
134 (short
, 'item', InMode
),
135 (Boolean
, 'checked', InMode
),
139 f
= Method(void
, 'SetItemMark',
140 (MenuRef
, 'theMenu', InMode
),
141 (short
, 'item', InMode
),
142 (short
, 'markChar', InMode
),
146 f
= Method(void
, 'GetItemMark',
147 (MenuRef
, 'theMenu', InMode
),
148 (short
, 'item', InMode
),
149 (short
, 'markChar', OutMode
),
153 f
= Method(void
, 'SetItemIcon',
154 (MenuRef
, 'theMenu', InMode
),
155 (short
, 'item', InMode
),
156 (short
, 'iconIndex', InMode
),
160 f
= Method(void
, 'GetItemIcon',
161 (MenuRef
, 'theMenu', InMode
),
162 (short
, 'item', InMode
),
163 (short
, 'iconIndex', OutMode
),
167 f
= Method(void
, 'SetItemStyle',
168 (MenuRef
, 'theMenu', InMode
),
169 (short
, 'item', InMode
),
170 (short
, 'chStyle', InMode
),
174 f
= Method(void
, 'GetItemStyle',
175 (MenuRef
, 'theMenu', InMode
),
176 (short
, 'item', InMode
),
177 (Style
, 'chStyle', OutMode
),
181 f
= Method(void
, 'CalcMenuSize',
182 (MenuRef
, 'theMenu', InMode
),
186 f
= Method(short
, 'CountMItems',
187 (MenuRef
, 'theMenu', InMode
),
191 f
= Function(MenuRef
, 'GetMenuHandle',
192 (short
, 'menuID', InMode
),
196 f
= Function(void
, 'FlashMenuBar',
197 (short
, 'menuID', InMode
),
201 f
= Function(void
, 'SetMenuFlash',
202 (short
, 'count', InMode
),
206 f
= Function(long, 'MenuSelect',
207 (Point
, 'startPt', InMode
),
211 f
= Function(void
, 'InitProcMenu',
212 (short
, 'resID', InMode
),
216 f
= Method(void
, 'GetItemCmd',
217 (MenuRef
, 'theMenu', InMode
),
218 (short
, 'item', InMode
),
219 (short
, 'cmdChar', OutMode
),
223 f
= Method(void
, 'SetItemCmd',
224 (MenuRef
, 'theMenu', InMode
),
225 (short
, 'item', InMode
),
226 (short
, 'cmdChar', InMode
),
230 f
= Method(long, 'PopUpMenuSelect',
231 (MenuRef
, 'menu', InMode
),
232 (short
, 'top', InMode
),
233 (short
, 'left', InMode
),
234 (short
, 'popUpItem', InMode
),
238 f
= Function(long, 'MenuChoice',
242 f
= Function(void
, 'DeleteMCEntries',
243 (short
, 'menuID', InMode
),
244 (short
, 'menuItem', InMode
),
248 f
= Method(void
, 'InsertFontResMenu',
249 (MenuRef
, 'theMenu', InMode
),
250 (short
, 'afterItem', InMode
),
251 (short
, 'scriptFilter', InMode
),
255 f
= Method(void
, 'InsertIntlResMenu',
256 (MenuRef
, 'theMenu', InMode
),
257 (ResType
, 'theType', InMode
),
258 (short
, 'afterItem', InMode
),
259 (short
, 'scriptFilter', InMode
),
263 f
= Function(Boolean
, 'SystemEdit',
264 (short
, 'editCmd', InMode
),
268 f
= Function(void
, 'SystemMenu',
269 (long, 'menuResult', InMode
),