1995-06-09 20:56:31 +00:00
|
|
|
# Generated from 'Moes:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
|
1995-01-30 11:53:55 +00:00
|
|
|
|
1995-06-06 12:55:40 +00:00
|
|
|
f = Function(ControlRef, 'NewControl',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
(Rect_ptr, 'boundsRect', InMode),
|
|
|
|
(ConstStr255Param, 'title', InMode),
|
|
|
|
(Boolean, 'visible', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'value', InMode),
|
|
|
|
(SInt16, 'min', InMode),
|
|
|
|
(SInt16, 'max', InMode),
|
|
|
|
(SInt16, 'procID', InMode),
|
|
|
|
(SInt32, 'refCon', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-06 12:55:40 +00:00
|
|
|
f = Function(ControlRef, 'GetNewControl',
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'controlID', InMode),
|
1995-06-06 12:55:40 +00:00
|
|
|
(WindowRef, 'owner', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'DisposeControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'KillControls',
|
1995-06-06 12:55:40 +00:00
|
|
|
(WindowRef, 'theWindow', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'ShowControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'HideControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'DrawControls',
|
1995-06-06 12:55:40 +00:00
|
|
|
(WindowRef, 'theWindow', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'Draw1Control',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(void, 'UpdateControls',
|
1995-06-06 12:55:40 +00:00
|
|
|
(WindowRef, 'theWindow', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
(RgnHandle, 'updateRgn', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'HiliteControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(ControlPartCode, 'hiliteState', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(ControlPartCode, 'TrackControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(Point, 'thePoint', InMode),
|
|
|
|
(FakeType('(ControlActionUPP)0'), 'actionProc', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'DragControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(Point, 'startPt', InMode),
|
|
|
|
(Rect_ptr, 'limitRect', InMode),
|
|
|
|
(Rect_ptr, 'slopRect', InMode),
|
|
|
|
(DragConstraint, 'axis', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(ControlPartCode, 'TestControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(Point, 'thePt', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Function(ControlPartCode, 'FindControl',
|
|
|
|
(Point, 'thePoint', InMode),
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
(ExistingControlHandle, 'theControl', OutMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'MoveControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'h', InMode),
|
|
|
|
(SInt16, 'v', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SizeControl',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'w', InMode),
|
|
|
|
(SInt16, 'h', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlTitle',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(ConstStr255Param, 'title', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'GetControlTitle',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(Str255, 'title', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(SInt16, 'GetControlValue',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlValue',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'newValue', InMode),
|
1995-06-06 12:55:40 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(SInt16, 'GetControlMinimum',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlMinimum',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-06-09 20:56:31 +00:00
|
|
|
(SInt16, 'newMinimum', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(SInt16, 'GetControlMaximum',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlMaximum',
|
|
|
|
(ControlRef, 'theControl', InMode),
|
|
|
|
(SInt16, 'newMaximum', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
1995-06-09 20:56:31 +00:00
|
|
|
methods.append(f)
|
1995-01-30 11:53:55 +00:00
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(SInt16, 'GetControlVariant',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlAction',
|
1995-06-06 12:55:40 +00:00
|
|
|
(ControlRef, 'theControl', InMode),
|
|
|
|
(FakeType('(ControlActionUPP)0'), 'actionProc', InMode),
|
1995-01-30 11:53:55 +00:00
|
|
|
)
|
|
|
|
methods.append(f)
|
1995-03-10 14:42:57 +00:00
|
|
|
|
1995-06-09 20:56:31 +00:00
|
|
|
f = Method(void, 'SetControlReference',
|
|
|
|
(ControlRef, 'theControl', InMode),
|
|
|
|
(SInt32, 'data', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(SInt32, 'GetControlReference',
|
|
|
|
(ControlRef, 'theControl', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|