Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame^] | 1 | # Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Controls.h' |
| 2 | |
| 3 | f = Function(ControlHandle, 'NewControl', |
| 4 | (WindowPtr, 'theWindow', InMode), |
| 5 | (Rect_ptr, 'boundsRect', InMode), |
| 6 | (ConstStr255Param, 'title', InMode), |
| 7 | (Boolean, 'visible', InMode), |
| 8 | (short, 'value', InMode), |
| 9 | (short, 'min', InMode), |
| 10 | (short, 'max', InMode), |
| 11 | (short, 'procID', InMode), |
| 12 | (long, 'refCon', InMode), |
| 13 | ) |
| 14 | functions.append(f) |
| 15 | |
| 16 | f = Method(void, 'SetCTitle', |
| 17 | (ControlHandle, 'theControl', InMode), |
| 18 | (ConstStr255Param, 'title', InMode), |
| 19 | ) |
| 20 | methods.append(f) |
| 21 | |
| 22 | f = Method(void, 'GetCTitle', |
| 23 | (ControlHandle, 'theControl', InMode), |
| 24 | (Str255, 'title', InMode), |
| 25 | ) |
| 26 | methods.append(f) |
| 27 | |
| 28 | f = Function(ControlHandle, 'GetNewControl', |
| 29 | (short, 'controlID', InMode), |
| 30 | (WindowPtr, 'owner', InMode), |
| 31 | ) |
| 32 | functions.append(f) |
| 33 | |
| 34 | f = Method(void, 'DisposeControl', |
| 35 | (ControlHandle, 'theControl', InMode), |
| 36 | ) |
| 37 | methods.append(f) |
| 38 | |
| 39 | f = Function(void, 'KillControls', |
| 40 | (WindowPtr, 'theWindow', InMode), |
| 41 | ) |
| 42 | functions.append(f) |
| 43 | |
| 44 | f = Method(void, 'HideControl', |
| 45 | (ControlHandle, 'theControl', InMode), |
| 46 | ) |
| 47 | methods.append(f) |
| 48 | |
| 49 | f = Method(void, 'ShowControl', |
| 50 | (ControlHandle, 'theControl', InMode), |
| 51 | ) |
| 52 | methods.append(f) |
| 53 | |
| 54 | f = Function(void, 'DrawControls', |
| 55 | (WindowPtr, 'theWindow', InMode), |
| 56 | ) |
| 57 | functions.append(f) |
| 58 | |
| 59 | f = Method(void, 'Draw1Control', |
| 60 | (ControlHandle, 'theControl', InMode), |
| 61 | ) |
| 62 | methods.append(f) |
| 63 | |
| 64 | f = Method(void, 'HiliteControl', |
| 65 | (ControlHandle, 'theControl', InMode), |
| 66 | (short, 'hiliteState', InMode), |
| 67 | ) |
| 68 | methods.append(f) |
| 69 | |
| 70 | f = Function(void, 'UpdtControl', |
| 71 | (WindowPtr, 'theWindow', InMode), |
| 72 | (RgnHandle, 'updateRgn', InMode), |
| 73 | ) |
| 74 | functions.append(f) |
| 75 | |
| 76 | f = Function(void, 'UpdateControls', |
| 77 | (WindowPtr, 'theWindow', InMode), |
| 78 | (RgnHandle, 'updateRgn', InMode), |
| 79 | ) |
| 80 | functions.append(f) |
| 81 | |
| 82 | f = Method(void, 'MoveControl', |
| 83 | (ControlHandle, 'theControl', InMode), |
| 84 | (short, 'h', InMode), |
| 85 | (short, 'v', InMode), |
| 86 | ) |
| 87 | methods.append(f) |
| 88 | |
| 89 | f = Method(void, 'SizeControl', |
| 90 | (ControlHandle, 'theControl', InMode), |
| 91 | (short, 'w', InMode), |
| 92 | (short, 'h', InMode), |
| 93 | ) |
| 94 | methods.append(f) |
| 95 | |
| 96 | f = Method(void, 'SetCtlValue', |
| 97 | (ControlHandle, 'theControl', InMode), |
| 98 | (short, 'theValue', InMode), |
| 99 | ) |
| 100 | methods.append(f) |
| 101 | |
| 102 | f = Method(short, 'GetCtlValue', |
| 103 | (ControlHandle, 'theControl', InMode), |
| 104 | ) |
| 105 | methods.append(f) |
| 106 | |
| 107 | f = Method(void, 'SetCtlMin', |
| 108 | (ControlHandle, 'theControl', InMode), |
| 109 | (short, 'minValue', InMode), |
| 110 | ) |
| 111 | methods.append(f) |
| 112 | |
| 113 | f = Method(short, 'GetCtlMin', |
| 114 | (ControlHandle, 'theControl', InMode), |
| 115 | ) |
| 116 | methods.append(f) |
| 117 | |
| 118 | f = Method(void, 'SetCtlMax', |
| 119 | (ControlHandle, 'theControl', InMode), |
| 120 | (short, 'maxValue', InMode), |
| 121 | ) |
| 122 | methods.append(f) |
| 123 | |
| 124 | f = Method(short, 'GetCtlMax', |
| 125 | (ControlHandle, 'theControl', InMode), |
| 126 | ) |
| 127 | methods.append(f) |
| 128 | |
| 129 | f = Method(void, 'SetCRefCon', |
| 130 | (ControlHandle, 'theControl', InMode), |
| 131 | (long, 'data', InMode), |
| 132 | ) |
| 133 | methods.append(f) |
| 134 | |
| 135 | f = Method(long, 'GetCRefCon', |
| 136 | (ControlHandle, 'theControl', InMode), |
| 137 | ) |
| 138 | methods.append(f) |
| 139 | |
| 140 | f = Method(void, 'DragControl', |
| 141 | (ControlHandle, 'theControl', InMode), |
| 142 | (Point, 'startPt', InMode), |
| 143 | (Rect_ptr, 'limitRect', InMode), |
| 144 | (Rect_ptr, 'slopRect', InMode), |
| 145 | (short, 'axis', InMode), |
| 146 | ) |
| 147 | methods.append(f) |
| 148 | |
| 149 | f = Method(short, 'TestControl', |
| 150 | (ControlHandle, 'theControl', InMode), |
| 151 | (Point, 'thePt', InMode), |
| 152 | ) |
| 153 | methods.append(f) |
| 154 | |
| 155 | f = Method(short, 'TrackControl', |
| 156 | (ControlHandle, 'theControl', InMode), |
| 157 | (Point, 'thePoint', InMode), |
| 158 | (FakeType('(ControlActionUPP)0'), 'actionProc', InMode), |
| 159 | ) |
| 160 | methods.append(f) |
| 161 | |
| 162 | f = Function(short, 'FindControl', |
| 163 | (Point, 'thePoint', InMode), |
| 164 | (WindowPtr, 'theWindow', InMode), |
| 165 | (ExistingControlHandle, 'theControl', OutMode), |
| 166 | ) |
| 167 | functions.append(f) |
| 168 | |
| 169 | f = Method(short, 'GetCVariant', |
| 170 | (ControlHandle, 'theControl', InMode), |
| 171 | ) |
| 172 | methods.append(f) |