1995-12-12 11:02:03 -04:00
|
|
|
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Menus.h'
|
1995-06-06 10:08:40 -03:00
|
|
|
|
|
|
|
f = Function(short, 'GetMBarHeight',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
1995-01-30 07:53:55 -04:00
|
|
|
|
|
|
|
f = Function(void, 'InitMenus',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Function(MenuRef, 'NewMenu',
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'menuID', InMode),
|
1995-06-06 10:08:40 -03:00
|
|
|
(ConstStr255Param, 'menuTitle', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Function(MenuRef, 'GetMenu',
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'resourceID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'DisposeMenu',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'AppendMenu',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'menu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(ConstStr255Param, 'data', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'AppendResMenu',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(ResType, 'theType', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'InsertResMenu',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(ResType, 'theType', InMode),
|
|
|
|
(short, 'afterItem', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'InsertMenu',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'beforeID', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'DrawMenuBar',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'InvalMenuBar',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'DeleteMenu',
|
|
|
|
(short, 'menuID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'ClearMenuBar',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(Handle, 'GetNewMBar',
|
|
|
|
(short, 'menuBarID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(Handle, 'GetMenuBar',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'SetMenuBar',
|
|
|
|
(Handle, 'menuList', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'InsertMenuItem',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(ConstStr255Param, 'itemString', InMode),
|
|
|
|
(short, 'afterItem', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'DeleteMenuItem',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(long, 'MenuKey',
|
|
|
|
(short, 'ch', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'HiliteMenu',
|
|
|
|
(short, 'menuID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'SetMenuItemText',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(ConstStr255Param, 'itemString', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'GetMenuItemText',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(Str255, 'itemString', OutMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'DisableItem',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'EnableItem',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'CheckItem',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(Boolean, 'checked', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'SetItemMark',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'markChar', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'GetItemMark',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'markChar', OutMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'SetItemIcon',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'iconIndex', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'GetItemIcon',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'iconIndex', OutMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'SetItemStyle',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'chStyle', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'GetItemStyle',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
1995-06-09 17:56:31 -03:00
|
|
|
(Style, 'chStyle', OutMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'CalcMenuSize',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(short, 'CountMItems',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Function(MenuRef, 'GetMenuHandle',
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'menuID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'FlashMenuBar',
|
|
|
|
(short, 'menuID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'SetMenuFlash',
|
|
|
|
(short, 'count', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(long, 'MenuSelect',
|
|
|
|
(Point, 'startPt', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'InitProcMenu',
|
|
|
|
(short, 'resID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'GetItemCmd',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'cmdChar', OutMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'SetItemCmd',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'theMenu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'item', InMode),
|
|
|
|
(short, 'cmdChar', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(long, 'PopUpMenuSelect',
|
1995-06-06 10:08:40 -03:00
|
|
|
(MenuRef, 'menu', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'top', InMode),
|
|
|
|
(short, 'left', InMode),
|
|
|
|
(short, 'popUpItem', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(long, 'MenuChoice',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Function(void, 'DeleteMCEntries',
|
1995-01-30 07:53:55 -04:00
|
|
|
(short, 'menuID', InMode),
|
|
|
|
(short, 'menuItem', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
1995-03-10 10:42:57 -04:00
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
f = Method(void, 'InsertFontResMenu',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
|
|
|
(short, 'afterItem', InMode),
|
|
|
|
(short, 'scriptFilter', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'InsertIntlResMenu',
|
|
|
|
(MenuRef, 'theMenu', InMode),
|
|
|
|
(ResType, 'theType', InMode),
|
|
|
|
(short, 'afterItem', InMode),
|
|
|
|
(short, 'scriptFilter', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(Boolean, 'SystemEdit',
|
|
|
|
(short, 'editCmd', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'SystemMenu',
|
|
|
|
(long, 'menuResult', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|