Removed ...gen.py files from repository

This commit is contained in:
Jack Jansen 1996-04-16 14:33:21 +00:00
parent 19171a21fd
commit ded81a1ffe
13 changed files with 0 additions and 4878 deletions

View File

@ -1,277 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:AppleEvents.h'
f = AEFunction(OSErr, 'AECreateDesc',
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
(AEDesc, 'result', OutMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AECoercePtr',
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
(DescType, 'toType', InMode),
(AEDesc, 'result', OutMode),
)
functions.append(f)
f = AEMethod(OSErr, 'AECoerceDesc',
(AEDesc_ptr, 'theAEDesc', InMode),
(DescType, 'toType', InMode),
(AEDesc, 'result', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEDuplicateDesc',
(AEDesc_ptr, 'theAEDesc', InMode),
(AEDesc, 'result', OutMode),
)
aedescmethods.append(f)
f = AEFunction(OSErr, 'AECreateList',
(InBuffer, 'factoringPtr', InMode),
(Boolean, 'isRecord', InMode),
(AEDescList, 'resultList', OutMode),
)
functions.append(f)
f = AEMethod(OSErr, 'AECountItems',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'theCount', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutPtr',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutDesc',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(AEDesc_ptr, 'theAEDesc', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetNthPtr',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(DescType, 'desiredType', InMode),
(AEKeyword, 'theAEKeyword', OutMode),
(DescType, 'typeCode', OutMode),
(VarVarOutBuffer, 'dataPtr', InOutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetNthDesc',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(DescType, 'desiredType', InMode),
(AEKeyword, 'theAEKeyword', OutMode),
(AEDesc, 'result', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AESizeOfNthItem',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
(DescType, 'typeCode', OutMode),
(Size, 'dataSize', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEDeleteItem',
(AEDescList_ptr, 'theAEDescList', InMode),
(long, 'index', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutParamPtr',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutParamDesc',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(AEDesc_ptr, 'theAEDesc', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetParamPtr',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'desiredType', InMode),
(DescType, 'typeCode', OutMode),
(VarVarOutBuffer, 'dataPtr', InOutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetParamDesc',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'desiredType', InMode),
(AEDesc, 'result', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AESizeOfParam',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'typeCode', OutMode),
(Size, 'dataSize', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEDeleteParam',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetAttributePtr',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'desiredType', InMode),
(DescType, 'typeCode', OutMode),
(VarVarOutBuffer, 'dataPtr', InOutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetAttributeDesc',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'desiredType', InMode),
(AEDesc, 'result', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AESizeOfAttribute',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'typeCode', OutMode),
(Size, 'dataSize', OutMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutAttributePtr',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(DescType, 'typeCode', InMode),
(InBuffer, 'dataPtr', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEPutAttributeDesc',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AEKeyword, 'theAEKeyword', InMode),
(AEDesc_ptr, 'theAEDesc', InMode),
)
aedescmethods.append(f)
f = AEFunction(OSErr, 'AECreateAppleEvent',
(AEEventClass, 'theAEEventClass', InMode),
(AEEventID, 'theAEEventID', InMode),
(AEAddressDesc_ptr, 'target', InMode),
(short, 'returnID', InMode),
(long, 'transactionID', InMode),
(AppleEvent, 'result', OutMode),
)
functions.append(f)
f = AEMethod(OSErr, 'AESend',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AppleEvent, 'reply', OutMode),
(AESendMode, 'sendMode', InMode),
(AESendPriority, 'sendPriority', InMode),
(long, 'timeOutInTicks', InMode),
(AEIdleUPP, 'idleProc', InMode),
(AEFilterUPP, 'filterProc', InMode),
)
aedescmethods.append(f)
f = AEFunction(OSErr, 'AEProcessAppleEvent',
(EventRecord_ptr, 'theEventRecord', InMode),
)
functions.append(f)
f = AEMethod(OSErr, 'AEResetTimer',
(AppleEvent_ptr, 'reply', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AESuspendTheCurrentEvent',
(AppleEvent_ptr, 'theAppleEvent', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEResumeTheCurrentEvent',
(AppleEvent_ptr, 'theAppleEvent', InMode),
(AppleEvent_ptr, 'reply', InMode),
(EventHandler, 'dispatcher', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AEGetTheCurrentEvent',
(AppleEvent_ptr, 'theAppleEvent', InMode),
)
aedescmethods.append(f)
f = AEMethod(OSErr, 'AESetTheCurrentEvent',
(AppleEvent_ptr, 'theAppleEvent', InMode),
)
aedescmethods.append(f)
f = AEFunction(OSErr, 'AEGetInteractionAllowed',
(AEInteractAllowed, 'level', OutMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AESetInteractionAllowed',
(AEInteractAllowed, 'level', InMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AEInteractWithUser',
(long, 'timeOutInTicks', InMode),
(NMRecPtr, 'nmReqPtr', InMode),
(AEIdleUPP, 'idleProc', InMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AEInstallEventHandler',
(AEEventClass, 'theAEEventClass', InMode),
(AEEventID, 'theAEEventID', InMode),
(EventHandler, 'handler', InMode),
(AlwaysFalse, 'isSysHandler', InMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AERemoveEventHandler',
(AEEventClass, 'theAEEventClass', InMode),
(AEEventID, 'theAEEventID', InMode),
(AEEventHandlerUPP, 'handler', InMode),
(AlwaysFalse, 'isSysHandler', InMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AEGetEventHandler',
(AEEventClass, 'theAEEventClass', InMode),
(AEEventID, 'theAEEventID', InMode),
(EventHandler, 'handler', OutMode),
(AlwaysFalse, 'isSysHandler', InMode),
)
functions.append(f)
f = AEFunction(OSErr, 'AEManagerInfo',
(AEKeyword, 'keyWord', InMode),
(long, 'result', OutMode),
)
functions.append(f)

View File

@ -1,158 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Components.h'
f = Function(Component, 'RegisterComponentResource',
(ComponentResourceHandle, 'tr', InMode),
(short, 'global', InMode),
)
functions.append(f)
f = Method(OSErr, 'UnregisterComponent',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Function(Component, 'FindNextComponent',
(Component, 'aComponent', InMode),
(ComponentDescription, 'looking', InMode),
)
functions.append(f)
f = Function(long, 'CountComponents',
(ComponentDescription, 'looking', InMode),
)
functions.append(f)
f = Method(OSErr, 'GetComponentInfo',
(Component, 'aComponent', InMode),
(ComponentDescription, 'cd', OutMode),
(Handle, 'componentName', InMode),
(Handle, 'componentInfo', InMode),
(Handle, 'componentIcon', InMode),
)
c_methods.append(f)
f = Function(long, 'GetComponentListModSeed',
)
functions.append(f)
f = Method(ComponentInstance, 'OpenComponent',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Method(OSErr, 'CloseComponent',
(ComponentInstance, 'aComponentInstance', InMode),
)
ci_methods.append(f)
f = Method(OSErr, 'GetComponentInstanceError',
(ComponentInstance, 'aComponentInstance', InMode),
)
ci_methods.append(f)
f = Method(long, 'ComponentFunctionImplemented',
(ComponentInstance, 'ci', InMode),
(short, 'ftnNumber', InMode),
)
ci_methods.append(f)
f = Method(long, 'GetComponentVersion',
(ComponentInstance, 'ci', InMode),
)
ci_methods.append(f)
f = Method(long, 'ComponentSetTarget',
(ComponentInstance, 'ci', InMode),
(ComponentInstance, 'target', InMode),
)
ci_methods.append(f)
f = Method(void, 'SetComponentInstanceError',
(ComponentInstance, 'aComponentInstance', InMode),
(OSErr, 'theError', InMode),
)
ci_methods.append(f)
f = Method(long, 'GetComponentRefcon',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Method(void, 'SetComponentRefcon',
(Component, 'aComponent', InMode),
(long, 'theRefcon', InMode),
)
c_methods.append(f)
f = Method(short, 'OpenComponentResFile',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Function(OSErr, 'CloseComponentResFile',
(short, 'refnum', InMode),
)
functions.append(f)
f = Method(Handle, 'GetComponentInstanceStorage',
(ComponentInstance, 'aComponentInstance', InMode),
)
ci_methods.append(f)
f = Method(void, 'SetComponentInstanceStorage',
(ComponentInstance, 'aComponentInstance', InMode),
(Handle, 'theStorage', InMode),
)
ci_methods.append(f)
f = Method(long, 'GetComponentInstanceA5',
(ComponentInstance, 'aComponentInstance', InMode),
)
ci_methods.append(f)
f = Method(void, 'SetComponentInstanceA5',
(ComponentInstance, 'aComponentInstance', InMode),
(long, 'theA5', InMode),
)
ci_methods.append(f)
f = Method(long, 'CountComponentInstances',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Method(OSErr, 'SetDefaultComponent',
(Component, 'aComponent', InMode),
(short, 'flags', InMode),
)
c_methods.append(f)
f = Function(ComponentInstance, 'OpenDefaultComponent',
(OSType, 'componentType', InMode),
(OSType, 'componentSubType', InMode),
)
functions.append(f)
f = Method(Component, 'CaptureComponent',
(Component, 'capturedComponent', InMode),
(Component, 'capturingComponent', InMode),
)
c_methods.append(f)
f = Method(OSErr, 'UncaptureComponent',
(Component, 'aComponent', InMode),
)
c_methods.append(f)
f = Function(long, 'RegisterComponentResourceFile',
(short, 'resRefNum', InMode),
(short, 'global', InMode),
)
functions.append(f)
f = Method(OSErr, 'GetComponentIconSuite',
(Component, 'aComponent', InMode),
(Handle, 'iconSuite', OutMode),
)
c_methods.append(f)

View File

@ -1,173 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Controls.h'
f = Function(ControlRef, 'NewControl',
(WindowRef, 'theWindow', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(SInt16, 'value', InMode),
(SInt16, 'min', InMode),
(SInt16, 'max', InMode),
(SInt16, 'procID', InMode),
(SInt32, 'refCon', InMode),
)
functions.append(f)
f = Function(ControlRef, 'GetNewControl',
(SInt16, 'controlID', InMode),
(WindowRef, 'owner', InMode),
)
functions.append(f)
f = Method(void, 'DisposeControl',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Function(void, 'KillControls',
(WindowRef, 'theWindow', InMode),
)
functions.append(f)
f = Method(void, 'ShowControl',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Method(void, 'HideControl',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Function(void, 'DrawControls',
(WindowRef, 'theWindow', InMode),
)
functions.append(f)
f = Method(void, 'Draw1Control',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Function(void, 'UpdateControls',
(WindowRef, 'theWindow', InMode),
(RgnHandle, 'updateRegion', InMode),
)
functions.append(f)
f = Method(void, 'HiliteControl',
(ControlRef, 'theControl', InMode),
(ControlPartCode, 'hiliteState', InMode),
)
methods.append(f)
f = Method(ControlPartCode, 'TrackControl',
(ControlRef, 'theControl', InMode),
(Point, 'thePoint', InMode),
(FakeType('(ControlActionUPP)0'), 'actionProc', InMode),
)
methods.append(f)
f = Method(void, 'DragControl',
(ControlRef, 'theControl', InMode),
(Point, 'startPoint', InMode),
(Rect_ptr, 'limitRect', InMode),
(Rect_ptr, 'slopRect', InMode),
(DragConstraint, 'axis', InMode),
)
methods.append(f)
f = Method(ControlPartCode, 'TestControl',
(ControlRef, 'theControl', InMode),
(Point, 'thePoint', InMode),
)
methods.append(f)
f = Function(ControlPartCode, 'FindControl',
(Point, 'thePoint', InMode),
(WindowRef, 'theWindow', InMode),
(ExistingControlHandle, 'theControl', OutMode),
)
functions.append(f)
f = Method(void, 'MoveControl',
(ControlRef, 'theControl', InMode),
(SInt16, 'h', InMode),
(SInt16, 'v', InMode),
)
methods.append(f)
f = Method(void, 'SizeControl',
(ControlRef, 'theControl', InMode),
(SInt16, 'w', InMode),
(SInt16, 'h', InMode),
)
methods.append(f)
f = Method(void, 'SetControlTitle',
(ControlRef, 'theControl', InMode),
(ConstStr255Param, 'title', InMode),
)
methods.append(f)
f = Method(void, 'GetControlTitle',
(ControlRef, 'theControl', InMode),
(Str255, 'title', InMode),
)
methods.append(f)
f = Method(SInt16, 'GetControlValue',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Method(void, 'SetControlValue',
(ControlRef, 'theControl', InMode),
(SInt16, 'newValue', InMode),
)
methods.append(f)
f = Method(SInt16, 'GetControlMinimum',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Method(void, 'SetControlMinimum',
(ControlRef, 'theControl', InMode),
(SInt16, 'newMinimum', InMode),
)
methods.append(f)
f = Method(SInt16, 'GetControlMaximum',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Method(void, 'SetControlMaximum',
(ControlRef, 'theControl', InMode),
(SInt16, 'newMaximum', InMode),
)
methods.append(f)
f = Method(SInt16, 'GetControlVariant',
(ControlRef, 'theControl', InMode),
)
methods.append(f)
f = Method(void, 'SetControlAction',
(ControlRef, 'theControl', InMode),
(FakeType('(ControlActionUPP)0'), 'actionProc', InMode),
)
methods.append(f)
f = Method(void, 'SetControlReference',
(ControlRef, 'theControl', InMode),
(SInt32, 'data', InMode),
)
methods.append(f)
f = Method(SInt32, 'GetControlReference',
(ControlRef, 'theControl', InMode),
)
methods.append(f)

View File

@ -1,228 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Dialogs.h'
f = Function(DialogRef, 'NewDialog',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
(Handle, 'itmLstHndl', InMode),
)
functions.append(f)
f = Function(DialogRef, 'GetNewDialog',
(short, 'dialogID', InMode),
(NullStorage, 'dStorage', InMode),
(WindowRef, 'behind', InMode),
)
functions.append(f)
f = Function(void, 'ParamText',
(ConstStr255Param, 'param0', InMode),
(ConstStr255Param, 'param1', InMode),
(ConstStr255Param, 'param2', InMode),
(ConstStr255Param, 'param3', InMode),
)
functions.append(f)
f = Function(void, 'ModalDialog',
(ModalFilterUPP, 'modalFilter', InMode),
(short, 'itemHit', OutMode),
)
functions.append(f)
f = Function(Boolean, 'IsDialogEvent',
(EventRecord_ptr, 'theEvent', InMode),
)
functions.append(f)
f = Function(Boolean, 'DialogSelect',
(EventRecord_ptr, 'theEvent', InMode),
(ExistingDialogPtr, 'theDialog', OutMode),
(short, 'itemHit', OutMode),
)
functions.append(f)
f = Method(void, 'DrawDialog',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'UpdateDialog',
(DialogRef, 'theDialog', InMode),
(RgnHandle, 'updateRgn', InMode),
)
methods.append(f)
f = Function(short, 'Alert',
(short, 'alertID', InMode),
(ModalFilterUPP, 'modalFilter', InMode),
)
functions.append(f)
f = Function(short, 'StopAlert',
(short, 'alertID', InMode),
(ModalFilterUPP, 'modalFilter', InMode),
)
functions.append(f)
f = Function(short, 'NoteAlert',
(short, 'alertID', InMode),
(ModalFilterUPP, 'modalFilter', InMode),
)
functions.append(f)
f = Function(short, 'CautionAlert',
(short, 'alertID', InMode),
(ModalFilterUPP, 'modalFilter', InMode),
)
functions.append(f)
f = Method(void, 'GetDialogItem',
(DialogRef, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'itemType', OutMode),
(OptHandle, 'item', OutMode),
(Rect, 'box', OutMode),
)
methods.append(f)
f = Method(void, 'SetDialogItem',
(DialogRef, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'itemType', InMode),
(Handle, 'item', InMode),
(Rect_ptr, 'box', InMode),
)
methods.append(f)
f = Method(void, 'HideDialogItem',
(DialogRef, 'theDialog', InMode),
(short, 'itemNo', InMode),
)
methods.append(f)
f = Method(void, 'ShowDialogItem',
(DialogRef, 'theDialog', InMode),
(short, 'itemNo', InMode),
)
methods.append(f)
f = Method(void, 'SelectDialogItemText',
(DialogRef, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'strtSel', InMode),
(short, 'endSel', InMode),
)
methods.append(f)
f = Function(void, 'GetDialogItemText',
(Handle, 'item', InMode),
(Str255, 'text', OutMode),
)
functions.append(f)
f = Function(void, 'SetDialogItemText',
(Handle, 'item', InMode),
(ConstStr255Param, 'text', InMode),
)
functions.append(f)
f = Method(short, 'FindDialogItem',
(DialogRef, 'theDialog', InMode),
(Point, 'thePt', InMode),
)
methods.append(f)
f = Function(DialogRef, 'NewColorDialog',
(NullStorage, 'dStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
(Handle, 'items', InMode),
)
functions.append(f)
f = Function(short, 'GetAlertStage',
)
functions.append(f)
f = Function(void, 'ResetAlertStage',
)
functions.append(f)
f = Method(void, 'DialogCut',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DialogPaste',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DialogCopy',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DialogDelete',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Function(void, 'SetDialogFont',
(short, 'value', InMode),
)
functions.append(f)
f = Method(void, 'AppendDITL',
(DialogRef, 'theDialog', InMode),
(Handle, 'theHandle', InMode),
(DITLMethod, 'method', InMode),
)
methods.append(f)
f = Method(short, 'CountDITL',
(DialogRef, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'ShortenDITL',
(DialogRef, 'theDialog', InMode),
(short, 'numberItems', InMode),
)
methods.append(f)
f = Method(Boolean, 'StdFilterProc',
(DialogRef, 'theDialog', InMode),
(EventRecord, 'event', OutMode),
(short, 'itemHit', OutMode),
)
methods.append(f)
f = Method(OSErr, 'SetDialogDefaultItem',
(DialogRef, 'theDialog', InMode),
(short, 'newItem', InMode),
)
methods.append(f)
f = Method(OSErr, 'SetDialogCancelItem',
(DialogRef, 'theDialog', InMode),
(short, 'newItem', InMode),
)
methods.append(f)
f = Method(OSErr, 'SetDialogTracksCursor',
(DialogRef, 'theDialog', InMode),
(Boolean, 'tracks', InMode),
)
methods.append(f)

View File

@ -1,100 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Events.h'
f = Function(UInt32, 'GetCaretTime',
)
functions.append(f)
f = Function(void, 'SetEventMask',
(EventMask, 'value', InMode),
)
functions.append(f)
f = Function(UInt32, 'GetDblTime',
)
functions.append(f)
f = Function(Boolean, 'GetNextEvent',
(EventMask, 'eventMask', InMode),
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Function(Boolean, 'WaitNextEvent',
(EventMask, 'eventMask', InMode),
(EventRecord, 'theEvent', OutMode),
(UInt32, 'sleep', InMode),
(RgnHandle, 'mouseRgn', InMode),
)
functions.append(f)
f = Function(Boolean, 'EventAvail',
(EventMask, 'eventMask', InMode),
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Function(void, 'GetMouse',
(Point, 'mouseLoc', OutMode),
)
functions.append(f)
f = Function(Boolean, 'Button',
)
functions.append(f)
f = Function(Boolean, 'StillDown',
)
functions.append(f)
f = Function(Boolean, 'WaitMouseUp',
)
functions.append(f)
f = Function(void, 'GetKeys',
(KeyMap, 'theKeys', OutMode),
)
functions.append(f)
f = Function(UInt32, 'TickCount',
)
functions.append(f)
f = Function(OSErr, 'PostEvent',
(EventKind, 'eventNum', InMode),
(UInt32, 'eventMsg', InMode),
)
functions.append(f)
f = Function(Boolean, 'OSEventAvail',
(EventMask, 'mask', InMode),
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Function(Boolean, 'GetOSEvent',
(EventMask, 'mask', InMode),
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Function(void, 'FlushEvents',
(EventMask, 'whichMask', InMode),
(EventMask, 'stopMask', InMode),
)
functions.append(f)
f = Function(void, 'SystemClick',
(EventRecord_ptr, 'theEvent', InMode),
(WindowPtr, 'theWindow', InMode),
)
functions.append(f)
f = Function(void, 'SystemTask',
)
functions.append(f)
f = Function(Boolean, 'SystemEvent',
(EventRecord_ptr, 'theEvent', InMode),
)
functions.append(f)

View File

@ -1,84 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Fonts.h'
f = Function(void, 'InitFonts',
)
functions.append(f)
f = Function(void, 'GetFontName',
(short, 'familyID', InMode),
(Str255, 'name', OutMode),
)
functions.append(f)
f = Function(void, 'GetFNum',
(ConstStr255Param, 'name', InMode),
(short, 'familyID', OutMode),
)
functions.append(f)
f = Function(Boolean, 'RealFont',
(short, 'fontNum', InMode),
(short, 'size', InMode),
)
functions.append(f)
f = Function(void, 'SetFontLock',
(Boolean, 'lockFlag', InMode),
)
functions.append(f)
f = Function(void, 'SetFScaleDisable',
(Boolean, 'fscaleDisable', InMode),
)
functions.append(f)
f = Function(void, 'FontMetrics',
(FMetricRecPtr, 'theMetrics', OutMode),
)
functions.append(f)
f = Function(void, 'SetFractEnable',
(Boolean, 'fractEnable', InMode),
)
functions.append(f)
f = Function(short, 'GetDefFontSize',
)
functions.append(f)
f = Function(Boolean, 'IsOutline',
(Point, 'numer', InMode),
(Point, 'denom', InMode),
)
functions.append(f)
f = Function(void, 'SetOutlinePreferred',
(Boolean, 'outlinePreferred', InMode),
)
functions.append(f)
f = Function(Boolean, 'GetOutlinePreferred',
)
functions.append(f)
f = Function(void, 'SetPreserveGlyph',
(Boolean, 'preserveGlyph', InMode),
)
functions.append(f)
f = Function(Boolean, 'GetPreserveGlyph',
)
functions.append(f)
f = Function(OSErr, 'FlushFonts',
)
functions.append(f)
f = Function(short, 'GetSysFont',
)
functions.append(f)
f = Function(short, 'GetAppFont',
)
functions.append(f)

View File

@ -1,160 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Lists.h'
f = Function(ListRef, 'LNew',
(Rect_ptr, 'rView', InMode),
(Rect_ptr, 'dataBounds', InMode),
(Point, 'cSize', InMode),
(short, 'theProc', InMode),
(WindowRef, 'theWindow', InMode),
(Boolean, 'drawIt', InMode),
(Boolean, 'hasGrow', InMode),
(Boolean, 'scrollHoriz', InMode),
(Boolean, 'scrollVert', InMode),
)
functions.append(f)
f = Method(short, 'LAddColumn',
(short, 'count', InMode),
(short, 'colNum', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(short, 'LAddRow',
(short, 'count', InMode),
(short, 'rowNum', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LDelColumn',
(short, 'count', InMode),
(short, 'colNum', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LDelRow',
(short, 'count', InMode),
(short, 'rowNum', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(Boolean, 'LGetSelect',
(Boolean, 'next', InMode),
(Cell, 'theCell', InOutMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(Cell, 'LLastClick',
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(Boolean, 'LNextCell',
(Boolean, 'hNext', InMode),
(Boolean, 'vNext', InMode),
(Cell, 'theCell', InOutMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LSize',
(short, 'listWidth', InMode),
(short, 'listHeight', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LSetDrawingMode',
(Boolean, 'drawIt', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LScroll',
(short, 'dCols', InMode),
(short, 'dRows', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LAutoScroll',
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LUpdate',
(RgnHandle, 'theRgn', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LActivate',
(Boolean, 'act', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LCellSize',
(Point, 'cSize', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(Boolean, 'LClick',
(Point, 'pt', InMode),
(short, 'modifiers', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LAddToCell',
(InBufferShortsize, 'dataPtr', InMode),
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LClrCell',
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LGetCell',
(VarOutBufferShortsize, 'dataPtr', InOutMode),
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LRect',
(Rect, 'cellRect', OutMode),
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LSetCell',
(InBufferShortsize, 'dataPtr', InMode),
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LSetSelect',
(Boolean, 'setIt', InMode),
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)
f = Method(void, 'LDraw',
(Cell, 'theCell', InMode),
(ListRef, 'lHandle', InMode),
)
methods.append(f)

View File

@ -1,272 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Menus.h'
f = Function(short, 'GetMBarHeight',
)
functions.append(f)
f = Function(void, 'InitMenus',
)
functions.append(f)
f = Function(MenuRef, 'NewMenu',
(short, 'menuID', InMode),
(ConstStr255Param, 'menuTitle', InMode),
)
functions.append(f)
f = Function(MenuRef, 'GetMenu',
(short, 'resourceID', InMode),
)
functions.append(f)
f = Method(void, 'DisposeMenu',
(MenuRef, 'theMenu', InMode),
)
methods.append(f)
f = Method(void, 'AppendMenu',
(MenuRef, 'menu', InMode),
(ConstStr255Param, 'data', InMode),
)
methods.append(f)
f = Method(void, 'AppendResMenu',
(MenuRef, 'theMenu', InMode),
(ResType, 'theType', InMode),
)
methods.append(f)
f = Method(void, 'InsertResMenu',
(MenuRef, 'theMenu', InMode),
(ResType, 'theType', InMode),
(short, 'afterItem', InMode),
)
methods.append(f)
f = Method(void, 'InsertMenu',
(MenuRef, 'theMenu', InMode),
(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)
f = Method(void, 'InsertMenuItem',
(MenuRef, 'theMenu', InMode),
(ConstStr255Param, 'itemString', InMode),
(short, 'afterItem', InMode),
)
methods.append(f)
f = Method(void, 'DeleteMenuItem',
(MenuRef, 'theMenu', InMode),
(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)
f = Method(void, 'SetMenuItemText',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(ConstStr255Param, 'itemString', InMode),
)
methods.append(f)
f = Method(void, 'GetMenuItemText',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(Str255, 'itemString', OutMode),
)
methods.append(f)
f = Method(void, 'DisableItem',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
)
methods.append(f)
f = Method(void, 'EnableItem',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
)
methods.append(f)
f = Method(void, 'CheckItem',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(Boolean, 'checked', InMode),
)
methods.append(f)
f = Method(void, 'SetItemMark',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'markChar', InMode),
)
methods.append(f)
f = Method(void, 'GetItemMark',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'markChar', OutMode),
)
methods.append(f)
f = Method(void, 'SetItemIcon',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'iconIndex', InMode),
)
methods.append(f)
f = Method(void, 'GetItemIcon',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'iconIndex', OutMode),
)
methods.append(f)
f = Method(void, 'SetItemStyle',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'chStyle', InMode),
)
methods.append(f)
f = Method(void, 'GetItemStyle',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(Style, 'chStyle', OutMode),
)
methods.append(f)
f = Method(void, 'CalcMenuSize',
(MenuRef, 'theMenu', InMode),
)
methods.append(f)
f = Method(short, 'CountMItems',
(MenuRef, 'theMenu', InMode),
)
methods.append(f)
f = Function(MenuRef, 'GetMenuHandle',
(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',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'cmdChar', OutMode),
)
methods.append(f)
f = Method(void, 'SetItemCmd',
(MenuRef, 'theMenu', InMode),
(short, 'item', InMode),
(short, 'cmdChar', InMode),
)
methods.append(f)
f = Method(long, 'PopUpMenuSelect',
(MenuRef, 'menu', InMode),
(short, 'top', InMode),
(short, 'left', InMode),
(short, 'popUpItem', InMode),
)
methods.append(f)
f = Function(long, 'MenuChoice',
)
functions.append(f)
f = Function(void, 'DeleteMCEntries',
(short, 'menuID', InMode),
(short, 'menuItem', InMode),
)
functions.append(f)
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)

View File

@ -1,999 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h'
f = Function(void, 'SetPort',
(GrafPtr, 'port', InMode),
)
functions.append(f)
f = Function(void, 'GetPort',
(GrafPtr, 'port', OutMode),
)
functions.append(f)
f = Function(void, 'GrafDevice',
(short, 'device', InMode),
)
functions.append(f)
f = Function(void, 'SetPortBits',
(BitMap_ptr, 'bm', InMode),
)
functions.append(f)
f = Function(void, 'PortSize',
(short, 'width', InMode),
(short, 'height', InMode),
)
functions.append(f)
f = Function(void, 'MovePortTo',
(short, 'leftGlobal', InMode),
(short, 'topGlobal', InMode),
)
functions.append(f)
f = Function(void, 'SetOrigin',
(short, 'h', InMode),
(short, 'v', InMode),
)
functions.append(f)
f = Function(void, 'SetClip',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'GetClip',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'ClipRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'BackPat',
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'InitCursor',
)
functions.append(f)
f = Function(void, 'SetCursor',
(Cursor_ptr, 'crsr', InMode),
)
functions.append(f)
f = Function(void, 'HideCursor',
)
functions.append(f)
f = Function(void, 'ShowCursor',
)
functions.append(f)
f = Function(void, 'ObscureCursor',
)
functions.append(f)
f = Function(void, 'HidePen',
)
functions.append(f)
f = Function(void, 'ShowPen',
)
functions.append(f)
f = Function(void, 'GetPen',
(Point, 'pt', OutMode),
)
functions.append(f)
f = Function(void, 'GetPenState',
(PenState, 'pnState', OutMode),
)
functions.append(f)
f = Function(void, 'SetPenState',
(PenState_ptr, 'pnState', InMode),
)
functions.append(f)
f = Function(void, 'PenSize',
(short, 'width', InMode),
(short, 'height', InMode),
)
functions.append(f)
f = Function(void, 'PenMode',
(short, 'mode', InMode),
)
functions.append(f)
f = Function(void, 'PenPat',
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'PenNormal',
)
functions.append(f)
f = Function(void, 'MoveTo',
(short, 'h', InMode),
(short, 'v', InMode),
)
functions.append(f)
f = Function(void, 'Move',
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'LineTo',
(short, 'h', InMode),
(short, 'v', InMode),
)
functions.append(f)
f = Function(void, 'Line',
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'ForeColor',
(long, 'color', InMode),
)
functions.append(f)
f = Function(void, 'BackColor',
(long, 'color', InMode),
)
functions.append(f)
f = Function(void, 'ColorBit',
(short, 'whichBit', InMode),
)
functions.append(f)
f = Function(void, 'SetRect',
(Rect, 'r', OutMode),
(short, 'left', InMode),
(short, 'top', InMode),
(short, 'right', InMode),
(short, 'bottom', InMode),
)
functions.append(f)
f = Function(void, 'OffsetRect',
(Rect, 'r', InOutMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'InsetRect',
(Rect, 'r', InOutMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(Boolean, 'SectRect',
(Rect_ptr, 'src1', InMode),
(Rect_ptr, 'src2', InMode),
(Rect, 'dstRect', OutMode),
)
functions.append(f)
f = Function(void, 'UnionRect',
(Rect_ptr, 'src1', InMode),
(Rect_ptr, 'src2', InMode),
(Rect, 'dstRect', OutMode),
)
functions.append(f)
f = Function(Boolean, 'EqualRect',
(Rect_ptr, 'rect1', InMode),
(Rect_ptr, 'rect2', InMode),
)
functions.append(f)
f = Function(Boolean, 'EmptyRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'FrameRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'PaintRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'EraseRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'InvertRect',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'FillRect',
(Rect_ptr, 'r', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'FrameOval',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'PaintOval',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'EraseOval',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'InvertOval',
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'FillOval',
(Rect_ptr, 'r', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'FrameRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
)
functions.append(f)
f = Function(void, 'PaintRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
)
functions.append(f)
f = Function(void, 'EraseRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
)
functions.append(f)
f = Function(void, 'InvertRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
)
functions.append(f)
f = Function(void, 'FillRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'FrameArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
)
functions.append(f)
f = Function(void, 'PaintArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
)
functions.append(f)
f = Function(void, 'EraseArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
)
functions.append(f)
f = Function(void, 'InvertArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
)
functions.append(f)
f = Function(void, 'FillArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(RgnHandle, 'NewRgn',
)
functions.append(f)
f = Function(void, 'OpenRgn',
)
functions.append(f)
f = Function(void, 'CloseRgn',
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(OSErr, 'BitMapToRegion',
(RgnHandle, 'region', InMode),
(BitMap_ptr, 'bMap', InMode),
)
functions.append(f)
f = Function(void, 'DisposeRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'CopyRgn',
(RgnHandle, 'srcRgn', InMode),
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(void, 'SetEmptyRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'SetRectRgn',
(RgnHandle, 'rgn', InMode),
(short, 'left', InMode),
(short, 'top', InMode),
(short, 'right', InMode),
(short, 'bottom', InMode),
)
functions.append(f)
f = Function(void, 'RectRgn',
(RgnHandle, 'rgn', InMode),
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'OffsetRgn',
(RgnHandle, 'rgn', InMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'InsetRgn',
(RgnHandle, 'rgn', InMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'SectRgn',
(RgnHandle, 'srcRgnA', InMode),
(RgnHandle, 'srcRgnB', InMode),
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(void, 'UnionRgn',
(RgnHandle, 'srcRgnA', InMode),
(RgnHandle, 'srcRgnB', InMode),
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(void, 'DiffRgn',
(RgnHandle, 'srcRgnA', InMode),
(RgnHandle, 'srcRgnB', InMode),
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(void, 'XorRgn',
(RgnHandle, 'srcRgnA', InMode),
(RgnHandle, 'srcRgnB', InMode),
(RgnHandle, 'dstRgn', InMode),
)
functions.append(f)
f = Function(Boolean, 'RectInRgn',
(Rect_ptr, 'r', InMode),
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(Boolean, 'EqualRgn',
(RgnHandle, 'rgnA', InMode),
(RgnHandle, 'rgnB', InMode),
)
functions.append(f)
f = Function(Boolean, 'EmptyRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'FrameRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'PaintRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'EraseRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'InvertRgn',
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(void, 'FillRgn',
(RgnHandle, 'rgn', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'ScrollRect',
(Rect_ptr, 'r', InMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
(RgnHandle, 'updateRgn', InMode),
)
functions.append(f)
f = Function(void, 'CopyBits',
(BitMap_ptr, 'srcBits', InMode),
(BitMap_ptr, 'dstBits', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
(short, 'mode', InMode),
(OptRgnHandle, 'maskRgn', InMode),
)
functions.append(f)
f = Function(void, 'CopyMask',
(BitMap_ptr, 'srcBits', InMode),
(BitMap_ptr, 'maskBits', InMode),
(BitMap_ptr, 'dstBits', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'maskRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(PicHandle, 'OpenPicture',
(Rect_ptr, 'picFrame', InMode),
)
functions.append(f)
f = Function(void, 'PicComment',
(short, 'kind', InMode),
(short, 'dataSize', InMode),
(Handle, 'dataHandle', InMode),
)
functions.append(f)
f = Function(void, 'ClosePicture',
)
functions.append(f)
f = Function(void, 'DrawPicture',
(PicHandle, 'myPicture', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'KillPicture',
(PicHandle, 'myPicture', InMode),
)
functions.append(f)
f = Function(PolyHandle, 'OpenPoly',
)
functions.append(f)
f = Function(void, 'ClosePoly',
)
functions.append(f)
f = Function(void, 'KillPoly',
(PolyHandle, 'poly', InMode),
)
functions.append(f)
f = Function(void, 'OffsetPoly',
(PolyHandle, 'poly', InMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'FramePoly',
(PolyHandle, 'poly', InMode),
)
functions.append(f)
f = Function(void, 'PaintPoly',
(PolyHandle, 'poly', InMode),
)
functions.append(f)
f = Function(void, 'ErasePoly',
(PolyHandle, 'poly', InMode),
)
functions.append(f)
f = Function(void, 'InvertPoly',
(PolyHandle, 'poly', InMode),
)
functions.append(f)
f = Function(void, 'FillPoly',
(PolyHandle, 'poly', InMode),
(Pattern_ptr, 'pat', InMode),
)
functions.append(f)
f = Function(void, 'SetPt',
(Point, 'pt', OutMode),
(short, 'h', InMode),
(short, 'v', InMode),
)
functions.append(f)
f = Function(void, 'LocalToGlobal',
(Point, 'pt', InOutMode),
)
functions.append(f)
f = Function(void, 'GlobalToLocal',
(Point, 'pt', InOutMode),
)
functions.append(f)
f = Function(short, 'Random',
)
functions.append(f)
f = Function(Boolean, 'GetPixel',
(short, 'h', InMode),
(short, 'v', InMode),
)
functions.append(f)
f = Function(void, 'ScalePt',
(Point, 'pt', InOutMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'MapPt',
(Point, 'pt', InOutMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'MapRect',
(Rect, 'r', InOutMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'MapRgn',
(RgnHandle, 'rgn', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'MapPoly',
(PolyHandle, 'poly', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
functions.append(f)
f = Function(void, 'StdBits',
(BitMap_ptr, 'srcBits', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
(short, 'mode', InMode),
(OptRgnHandle, 'maskRgn', InMode),
)
functions.append(f)
f = Function(void, 'AddPt',
(Point, 'src', InMode),
(Point, 'dst', InOutMode),
)
functions.append(f)
f = Function(Boolean, 'EqualPt',
(Point, 'pt1', InMode),
(Point, 'pt2', InMode),
)
functions.append(f)
f = Function(Boolean, 'PtInRect',
(Point, 'pt', InMode),
(Rect_ptr, 'r', InMode),
)
functions.append(f)
f = Function(void, 'Pt2Rect',
(Point, 'pt1', InMode),
(Point, 'pt2', InMode),
(Rect, 'dstRect', OutMode),
)
functions.append(f)
f = Function(void, 'PtToAngle',
(Rect_ptr, 'r', InMode),
(Point, 'pt', InMode),
(short, 'angle', OutMode),
)
functions.append(f)
f = Function(void, 'SubPt',
(Point, 'src', InMode),
(Point, 'dst', InOutMode),
)
functions.append(f)
f = Function(Boolean, 'PtInRgn',
(Point, 'pt', InMode),
(RgnHandle, 'rgn', InMode),
)
functions.append(f)
f = Function(PixMapHandle, 'NewPixMap',
)
functions.append(f)
f = Function(void, 'DisposePixMap',
(PixMapHandle, 'pm', InMode),
)
functions.append(f)
f = Function(void, 'CopyPixMap',
(PixMapHandle, 'srcPM', InMode),
(PixMapHandle, 'dstPM', InMode),
)
functions.append(f)
f = Function(PixPatHandle, 'NewPixPat',
)
functions.append(f)
f = Function(void, 'DisposePixPat',
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'CopyPixPat',
(PixPatHandle, 'srcPP', InMode),
(PixPatHandle, 'dstPP', InMode),
)
functions.append(f)
f = Function(void, 'PenPixPat',
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'BackPixPat',
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(PixPatHandle, 'GetPixPat',
(short, 'patID', InMode),
)
functions.append(f)
f = Function(void, 'MakeRGBPat',
(PixPatHandle, 'pp', InMode),
(RGBColor_ptr, 'myColor', InMode),
)
functions.append(f)
f = Function(void, 'FillCRect',
(Rect_ptr, 'r', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'FillCOval',
(Rect_ptr, 'r', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'FillCRoundRect',
(Rect_ptr, 'r', InMode),
(short, 'ovalWidth', InMode),
(short, 'ovalHeight', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'FillCArc',
(Rect_ptr, 'r', InMode),
(short, 'startAngle', InMode),
(short, 'arcAngle', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'FillCRgn',
(RgnHandle, 'rgn', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'FillCPoly',
(PolyHandle, 'poly', InMode),
(PixPatHandle, 'pp', InMode),
)
functions.append(f)
f = Function(void, 'RGBForeColor',
(RGBColor_ptr, 'color', InMode),
)
functions.append(f)
f = Function(void, 'RGBBackColor',
(RGBColor_ptr, 'color', InMode),
)
functions.append(f)
f = Function(void, 'SetCPixel',
(short, 'h', InMode),
(short, 'v', InMode),
(RGBColor_ptr, 'cPix', InMode),
)
functions.append(f)
f = Function(void, 'SetPortPix',
(PixMapHandle, 'pm', InMode),
)
functions.append(f)
f = Function(void, 'GetCPixel',
(short, 'h', InMode),
(short, 'v', InMode),
(RGBColor, 'cPix', OutMode),
)
functions.append(f)
f = Function(void, 'GetForeColor',
(RGBColor, 'color', OutMode),
)
functions.append(f)
f = Function(void, 'GetBackColor',
(RGBColor, 'color', OutMode),
)
functions.append(f)
f = Function(void, 'OpColor',
(RGBColor_ptr, 'color', InMode),
)
functions.append(f)
f = Function(void, 'HiliteColor',
(RGBColor_ptr, 'color', InMode),
)
functions.append(f)
f = Function(void, 'AllocCursor',
)
functions.append(f)
f = Function(long, 'GetCTSeed',
)
functions.append(f)
f = Function(long, 'Color2Index',
(RGBColor_ptr, 'myColor', InMode),
)
functions.append(f)
f = Function(void, 'Index2Color',
(long, 'index', InMode),
(RGBColor, 'aColor', OutMode),
)
functions.append(f)
f = Function(void, 'InvertColor',
(RGBColor, 'myColor', OutMode),
)
functions.append(f)
f = Function(Boolean, 'RealColor',
(RGBColor_ptr, 'color', InMode),
)
functions.append(f)
f = Function(void, 'SetClientID',
(short, 'id', InMode),
)
functions.append(f)
f = Function(void, 'ProtectEntry',
(short, 'index', InMode),
(Boolean, 'protect', InMode),
)
functions.append(f)
f = Function(void, 'ReserveEntry',
(short, 'index', InMode),
(Boolean, 'reserve', InMode),
)
functions.append(f)
f = Function(short, 'QDError',
)
functions.append(f)
f = Function(void, 'CopyDeepMask',
(BitMap_ptr, 'srcBits', InMode),
(BitMap_ptr, 'maskBits', InMode),
(BitMap_ptr, 'dstBits', InMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'maskRect', InMode),
(Rect_ptr, 'dstRect', InMode),
(short, 'mode', InMode),
(OptRgnHandle, 'maskRgn', InMode),
)
functions.append(f)
f = Function(PatHandle, 'GetPattern',
(short, 'patternID', InMode),
)
functions.append(f)
f = Function(CursHandle, 'GetCursor',
(short, 'cursorID', InMode),
)
functions.append(f)
f = Function(PicHandle, 'GetPicture',
(short, 'pictureID', InMode),
)
functions.append(f)
f = Function(long, 'DeltaPoint',
(Point, 'ptA', InMode),
(Point, 'ptB', InMode),
)
functions.append(f)
f = Function(void, 'ShieldCursor',
(Rect_ptr, 'shieldRect', InMode),
(Point, 'offsetPt', InMode),
)
functions.append(f)
f = Function(void, 'ScreenRes',
(short, 'scrnHRes', OutMode),
(short, 'scrnVRes', OutMode),
)
functions.append(f)
f = Function(void, 'GetIndPattern',
(Pattern, 'thePat', OutMode),
(short, 'patternListID', InMode),
(short, 'index', InMode),
)
functions.append(f)
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
f = Function(void, 'TextFont',
(short, 'font', InMode),
)
functions.append(f)
f = Function(void, 'TextFace',
(short, 'face', InMode),
)
functions.append(f)
f = Function(void, 'TextMode',
(short, 'mode', InMode),
)
functions.append(f)
f = Function(void, 'TextSize',
(short, 'size', InMode),
)
functions.append(f)
f = Function(void, 'SpaceExtra',
(Fixed, 'extra', InMode),
)
functions.append(f)
f = Function(void, 'DrawChar',
(short, 'ch', InMode),
)
functions.append(f)
f = Function(void, 'DrawString',
(ConstStr255Param, 's', InMode),
)
functions.append(f)
f = Function(void, 'DrawText',
(TextThingie, 'textBuf', InMode),
(short, 'firstByte', InMode),
(short, 'byteCount', InMode),
)
functions.append(f)
f = Function(short, 'CharWidth',
(short, 'ch', InMode),
)
functions.append(f)
f = Function(short, 'StringWidth',
(ConstStr255Param, 's', InMode),
)
functions.append(f)
f = Function(short, 'TextWidth',
(TextThingie, 'textBuf', InMode),
(short, 'firstByte', InMode),
(short, 'byteCount', InMode),
)
functions.append(f)
f = Function(void, 'GetFontInfo',
(FontInfo, 'info', OutMode),
)
functions.append(f)
f = Function(void, 'CharExtra',
(Fixed, 'extra', InMode),
)
functions.append(f)

File diff suppressed because it is too large Load Diff

View File

@ -1,277 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h'
f = ResFunction(short, 'InitResources',
)
functions.append(f)
f = ResFunction(void, 'RsrcZoneInit',
)
functions.append(f)
f = ResFunction(void, 'CloseResFile',
(short, 'refNum', InMode),
)
functions.append(f)
f = ResFunction(short, 'ResError',
)
functions.append(f)
f = ResFunction(short, 'CurResFile',
)
functions.append(f)
f = ResMethod(short, 'HomeResFile',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResFunction(void, 'CreateResFile',
(ConstStr255Param, 'fileName', InMode),
)
functions.append(f)
f = ResFunction(short, 'OpenResFile',
(ConstStr255Param, 'fileName', InMode),
)
functions.append(f)
f = ResFunction(void, 'UseResFile',
(short, 'refNum', InMode),
)
functions.append(f)
f = ResFunction(short, 'CountTypes',
)
functions.append(f)
f = ResFunction(short, 'Count1Types',
)
functions.append(f)
f = ResFunction(void, 'GetIndType',
(ResType, 'theType', OutMode),
(short, 'index', InMode),
)
functions.append(f)
f = ResFunction(void, 'Get1IndType',
(ResType, 'theType', OutMode),
(short, 'index', InMode),
)
functions.append(f)
f = ResFunction(void, 'SetResLoad',
(Boolean, 'load', InMode),
)
functions.append(f)
f = ResFunction(short, 'CountResources',
(ResType, 'theType', InMode),
)
functions.append(f)
f = ResFunction(short, 'Count1Resources',
(ResType, 'theType', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'GetIndResource',
(ResType, 'theType', InMode),
(short, 'index', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'Get1IndResource',
(ResType, 'theType', InMode),
(short, 'index', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'GetResource',
(ResType, 'theType', InMode),
(short, 'theID', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'Get1Resource',
(ResType, 'theType', InMode),
(short, 'theID', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'GetNamedResource',
(ResType, 'theType', InMode),
(ConstStr255Param, 'name', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'Get1NamedResource',
(ResType, 'theType', InMode),
(ConstStr255Param, 'name', InMode),
)
functions.append(f)
f = ResMethod(void, 'LoadResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'ReleaseResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'DetachResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResFunction(short, 'UniqueID',
(ResType, 'theType', InMode),
)
functions.append(f)
f = ResFunction(short, 'Unique1ID',
(ResType, 'theType', InMode),
)
functions.append(f)
f = ResMethod(short, 'GetResAttrs',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'GetResInfo',
(Handle, 'theResource', InMode),
(short, 'theID', OutMode),
(ResType, 'theType', OutMode),
(Str255, 'name', OutMode),
)
resmethods.append(f)
f = ResMethod(void, 'SetResInfo',
(Handle, 'theResource', InMode),
(short, 'theID', InMode),
(ConstStr255Param, 'name', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'AddResource',
(Handle, 'theData', InMode),
(ResType, 'theType', InMode),
(short, 'theID', InMode),
(ConstStr255Param, 'name', InMode),
)
resmethods.append(f)
f = ResMethod(long, 'GetResourceSizeOnDisk',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(long, 'GetMaxResourceSize',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(long, 'RsrcMapEntry',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'SetResAttrs',
(Handle, 'theResource', InMode),
(short, 'attrs', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'ChangedResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResMethod(void, 'RemoveResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResFunction(void, 'UpdateResFile',
(short, 'refNum', InMode),
)
functions.append(f)
f = ResMethod(void, 'WriteResource',
(Handle, 'theResource', InMode),
)
resmethods.append(f)
f = ResFunction(void, 'SetResPurge',
(Boolean, 'install', InMode),
)
functions.append(f)
f = ResFunction(short, 'GetResFileAttrs',
(short, 'refNum', InMode),
)
functions.append(f)
f = ResFunction(void, 'SetResFileAttrs',
(short, 'refNum', InMode),
(short, 'attrs', InMode),
)
functions.append(f)
f = ResFunction(short, 'OpenRFPerm',
(ConstStr255Param, 'fileName', InMode),
(short, 'vRefNum', InMode),
(SignedByte, 'permission', InMode),
)
functions.append(f)
f = ResFunction(Handle, 'RGetResource',
(ResType, 'theType', InMode),
(short, 'theID', InMode),
)
functions.append(f)
f = ResFunction(short, 'HOpenResFile',
(short, 'vRefNum', InMode),
(long, 'dirID', InMode),
(ConstStr255Param, 'fileName', InMode),
(SignedByte, 'permission', InMode),
)
functions.append(f)
f = ResFunction(void, 'HCreateResFile',
(short, 'vRefNum', InMode),
(long, 'dirID', InMode),
(ConstStr255Param, 'fileName', InMode),
)
functions.append(f)
f = ResFunction(short, 'FSpOpenResFile',
(FSSpec_ptr, 'spec', InMode),
(SignedByte, 'permission', InMode),
)
functions.append(f)
f = ResFunction(void, 'FSpCreateResFile',
(FSSpec_ptr, 'spec', InMode),
(OSType, 'creator', InMode),
(OSType, 'fileType', InMode),
(ScriptCode, 'scriptTag', InMode),
)
functions.append(f)
f = ResMethod(void, 'SetResourceSize',
(Handle, 'theResource', InMode),
(long, 'newSize', InMode),
)
resmethods.append(f)
f = ResMethod(Handle, 'GetNextFOND',
(Handle, 'fondHandle', InMode),
)
resmethods.append(f)

View File

@ -1,158 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h'
f = SndFunction(void, 'SetSoundVol',
(short, 'level', InMode),
)
functions.append(f)
f = SndFunction(void, 'GetSoundVol',
(short, 'level', OutMode),
)
functions.append(f)
f = SndMethod(OSErr, 'SndDoCommand',
(SndChannelPtr, 'chan', InMode),
(SndCommand_ptr, 'cmd', InMode),
(Boolean, 'noWait', InMode),
)
sndmethods.append(f)
f = SndMethod(OSErr, 'SndDoImmediate',
(SndChannelPtr, 'chan', InMode),
(SndCommand_ptr, 'cmd', InMode),
)
sndmethods.append(f)
f = SndFunction(OSErr, 'SndNewChannel',
(SndChannelPtr, 'chan', OutMode),
(short, 'synth', InMode),
(long, 'init', InMode),
(SndCallBackUPP, 'userRoutine', InMode),
)
functions.append(f)
f = SndMethod(OSErr, 'SndPlay',
(SndChannelPtr, 'chan', InMode),
(SndListHandle, 'sndHdl', InMode),
(Boolean, 'async', InMode),
)
sndmethods.append(f)
f = SndFunction(OSErr, 'SndControl',
(short, 'id', InMode),
(SndCommand, 'cmd', OutMode),
)
functions.append(f)
f = SndFunction(long, 'SndSoundManagerVersion',
)
functions.append(f)
f = SndMethod(OSErr, 'SndStartFilePlay',
(SndChannelPtr, 'chan', InMode),
(short, 'fRefNum', InMode),
(short, 'resNum', InMode),
(long, 'bufferSize', InMode),
(FakeType('0'), 'theBuffer', InMode),
(AudioSelectionPtr, 'theSelection', InMode),
(FilePlayCompletionUPP, 'theCompletion', InMode),
(Boolean, 'async', InMode),
)
sndmethods.append(f)
f = SndMethod(OSErr, 'SndPauseFilePlay',
(SndChannelPtr, 'chan', InMode),
)
sndmethods.append(f)
f = SndMethod(OSErr, 'SndStopFilePlay',
(SndChannelPtr, 'chan', InMode),
(Boolean, 'quietNow', InMode),
)
sndmethods.append(f)
f = SndMethod(OSErr, 'SndChannelStatus',
(SndChannelPtr, 'chan', InMode),
(short, 'theLength', InMode),
(SCStatus, 'theStatus', OutMode),
)
sndmethods.append(f)
f = SndFunction(OSErr, 'SndManagerStatus',
(short, 'theLength', InMode),
(SMStatus, 'theStatus', OutMode),
)
functions.append(f)
f = SndFunction(void, 'SndGetSysBeepState',
(short, 'sysBeepState', OutMode),
)
functions.append(f)
f = SndFunction(OSErr, 'SndSetSysBeepState',
(short, 'sysBeepState', InMode),
)
functions.append(f)
f = SndFunction(long, 'MACEVersion',
)
functions.append(f)
f = SndFunction(void, 'Comp3to1',
(InOutBuffer, 'buffer', InOutMode),
(StateBlock, 'state', InOutMode),
(unsigned_long, 'numChannels', InMode),
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)
f = SndFunction(void, 'Exp1to3',
(InOutBuffer, 'buffer', InOutMode),
(StateBlock, 'state', InOutMode),
(unsigned_long, 'numChannels', InMode),
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)
f = SndFunction(void, 'Comp6to1',
(InOutBuffer, 'buffer', InOutMode),
(StateBlock, 'state', InOutMode),
(unsigned_long, 'numChannels', InMode),
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)
f = SndFunction(void, 'Exp1to6',
(InOutBuffer, 'buffer', InOutMode),
(StateBlock, 'state', InOutMode),
(unsigned_long, 'numChannels', InMode),
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)
f = SndFunction(OSErr, 'GetSysBeepVolume',
(long, 'level', OutMode),
)
functions.append(f)
f = SndFunction(OSErr, 'SetSysBeepVolume',
(long, 'level', InMode),
)
functions.append(f)
f = SndFunction(OSErr, 'GetDefaultOutputVolume',
(long, 'level', OutMode),
)
functions.append(f)
f = SndFunction(OSErr, 'SetDefaultOutputVolume',
(long, 'level', InMode),
)
functions.append(f)
f = SndFunction(OSErr, 'GetSoundHeaderOffset',
(SndListHandle, 'sndHandle', InMode),
(long, 'offset', OutMode),
)
functions.append(f)

View File

@ -1,280 +0,0 @@
# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Windows.h'
f = Function(RgnHandle, 'GetGrayRgn',
)
functions.append(f)
f = Function(void, 'InitWindows',
)
functions.append(f)
f = Function(void, 'GetWMgrPort',
(GrafPtr, 'wPort', OutMode),
)
functions.append(f)
f = Function(WindowRef, 'NewWindow',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'theProc', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
)
functions.append(f)
f = Function(WindowRef, 'GetNewWindow',
(short, 'windowID', InMode),
(NullStorage, 'wStorage', InMode),
(WindowRef, 'behind', InMode),
)
functions.append(f)
f = Method(void, 'GetWTitle',
(WindowRef, 'theWindow', InMode),
(Str255, 'title', OutMode),
)
methods.append(f)
f = Method(void, 'SelectWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'HideWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'ShowWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'ShowHide',
(WindowRef, 'theWindow', InMode),
(Boolean, 'showFlag', InMode),
)
methods.append(f)
f = Method(void, 'HiliteWindow',
(WindowRef, 'theWindow', InMode),
(Boolean, 'fHilite', InMode),
)
methods.append(f)
f = Method(void, 'BringToFront',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SendBehind',
(WindowRef, 'theWindow', InMode),
(WindowRef, 'behindWindow', InMode),
)
methods.append(f)
f = Function(ExistingWindowPtr, 'FrontWindow',
)
functions.append(f)
f = Method(void, 'DrawGrowIcon',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'MoveWindow',
(WindowRef, 'theWindow', InMode),
(short, 'hGlobal', InMode),
(short, 'vGlobal', InMode),
(Boolean, 'front', InMode),
)
methods.append(f)
f = Method(void, 'SizeWindow',
(WindowRef, 'theWindow', InMode),
(short, 'w', InMode),
(short, 'h', InMode),
(Boolean, 'fUpdate', InMode),
)
methods.append(f)
f = Method(void, 'ZoomWindow',
(WindowRef, 'theWindow', InMode),
(short, 'partCode', InMode),
(Boolean, 'front', InMode),
)
methods.append(f)
f = Function(void, 'InvalRect',
(Rect_ptr, 'badRect', InMode),
)
functions.append(f)
f = Function(void, 'InvalRgn',
(RgnHandle, 'badRgn', InMode),
)
functions.append(f)
f = Function(void, 'ValidRect',
(Rect_ptr, 'goodRect', InMode),
)
functions.append(f)
f = Function(void, 'ValidRgn',
(RgnHandle, 'goodRgn', InMode),
)
functions.append(f)
f = Method(void, 'BeginUpdate',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'EndUpdate',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWRefCon',
(WindowRef, 'theWindow', InMode),
(long, 'data', InMode),
)
methods.append(f)
f = Method(long, 'GetWRefCon',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWindowPic',
(WindowRef, 'theWindow', InMode),
(PicHandle, 'pic', InMode),
)
methods.append(f)
f = Method(PicHandle, 'GetWindowPic',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Function(Boolean, 'CheckUpdate',
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Method(void, 'ClipAbove',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(void, 'SaveOld',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(void, 'DrawNew',
(WindowRef, 'window', InMode),
(Boolean, 'update', InMode),
)
methods.append(f)
f = Method(void, 'PaintOne',
(WindowRef, 'window', InMode),
(RgnHandle, 'clobberedRgn', InMode),
)
methods.append(f)
f = Method(void, 'PaintBehind',
(WindowRef, 'startWindow', InMode),
(RgnHandle, 'clobberedRgn', InMode),
)
methods.append(f)
f = Method(void, 'CalcVis',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(void, 'CalcVisBehind',
(WindowRef, 'startWindow', InMode),
(RgnHandle, 'clobberedRgn', InMode),
)
methods.append(f)
f = Method(long, 'GrowWindow',
(WindowRef, 'theWindow', InMode),
(Point, 'startPt', InMode),
(Rect_ptr, 'bBox', InMode),
)
methods.append(f)
f = Function(short, 'FindWindow',
(Point, 'thePoint', InMode),
(ExistingWindowPtr, 'theWindow', OutMode),
)
functions.append(f)
f = Function(long, 'PinRect',
(Rect_ptr, 'theRect', InMode),
(Point, 'thePt', InMode),
)
functions.append(f)
f = Method(Boolean, 'TrackBox',
(WindowRef, 'theWindow', InMode),
(Point, 'thePt', InMode),
(short, 'partCode', InMode),
)
methods.append(f)
f = Function(void, 'GetCWMgrPort',
(CGrafPtr, 'wMgrCPort', OutMode),
)
functions.append(f)
f = Function(WindowRef, 'NewCWindow',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
)
functions.append(f)
f = Function(WindowRef, 'GetNewCWindow',
(short, 'windowID', InMode),
(NullStorage, 'wStorage', InMode),
(WindowRef, 'behind', InMode),
)
functions.append(f)
f = Method(short, 'GetWVariant',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWTitle',
(WindowRef, 'theWindow', InMode),
(ConstStr255Param, 'title', InMode),
)
methods.append(f)
f = Method(Boolean, 'TrackGoAway',
(WindowRef, 'theWindow', InMode),
(Point, 'thePt', InMode),
)
methods.append(f)
f = Method(void, 'DragWindow',
(WindowRef, 'theWindow', InMode),
(Point, 'startPt', InMode),
(Rect_ptr, 'boundsRect', InMode),
)
methods.append(f)