1995-03-19 18:42:51 -04:00
|
|
|
f = Function(void, 'OpenDeskAcc',
|
|
|
|
(Str255, 'name', InMode),
|
2000-07-14 19:37:27 -03:00
|
|
|
condition='#if !TARGET_API_MAC_CARBON'
|
1995-03-19 18:42:51 -04:00
|
|
|
)
|
|
|
|
functions.append(f)
|
1995-06-18 17:17:27 -03:00
|
|
|
|
1999-12-23 10:32:06 -04:00
|
|
|
f = Function(MenuHandle, 'as_Menu', (Handle, 'h', InMode))
|
1999-02-07 10:02:03 -04:00
|
|
|
functions.append(f)
|
|
|
|
|
1999-12-23 10:32:06 -04:00
|
|
|
f = Method(Handle, 'as_Resource', (MenuHandle, 'h', InMode))
|
1995-06-18 17:17:27 -03:00
|
|
|
methods.append(f)
|
1998-04-24 07:28:20 -03:00
|
|
|
|
|
|
|
# The following have "Mac" prepended to their names in the include file
|
|
|
|
# since UH 3.1, sigh...
|
|
|
|
f = Function(MenuHandle, 'GetMenu',
|
|
|
|
(short, 'resourceID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'AppendMenu',
|
|
|
|
(MenuHandle, 'menu', InMode),
|
|
|
|
(ConstStr255Param, 'data', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'InsertMenu',
|
|
|
|
(MenuHandle, 'theMenu', InMode),
|
|
|
|
(short, 'beforeID', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'DeleteMenu',
|
|
|
|
(short, 'menuID', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'InsertMenuItem',
|
|
|
|
(MenuHandle, 'theMenu', InMode),
|
|
|
|
(ConstStr255Param, 'itemString', InMode),
|
|
|
|
(short, 'afterItem', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'DrawMenuBar',
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|