Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 1 | # Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Dialogs.h' |
| 2 | |
| 3 | f = Function(DialogPtr, 'NewDialog', |
| 4 | (NullStorage, 'wStorage', InMode), |
| 5 | (Rect_ptr, 'boundsRect', InMode), |
| 6 | (ConstStr255Param, 'title', InMode), |
| 7 | (Boolean, 'visible', InMode), |
| 8 | (short, 'procID', InMode), |
| 9 | (WindowPtr, 'behind', InMode), |
| 10 | (Boolean, 'goAwayFlag', InMode), |
| 11 | (long, 'refCon', InMode), |
| 12 | (Handle, 'itmLstHndl', InMode), |
| 13 | ) |
| 14 | functions.append(f) |
| 15 | |
| 16 | f = Function(DialogPtr, 'GetNewDialog', |
| 17 | (short, 'dialogID', InMode), |
| 18 | (NullStorage, 'dStorage', InMode), |
| 19 | (WindowPtr, 'behind', InMode), |
| 20 | ) |
| 21 | functions.append(f) |
| 22 | |
Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 23 | f = Function(void, 'ParamText', |
| 24 | (ConstStr255Param, 'param0', InMode), |
| 25 | (ConstStr255Param, 'param1', InMode), |
| 26 | (ConstStr255Param, 'param2', InMode), |
| 27 | (ConstStr255Param, 'param3', InMode), |
| 28 | ) |
| 29 | functions.append(f) |
| 30 | |
| 31 | f = Function(void, 'ModalDialog', |
| 32 | (ModalFilterProcPtr, 'filterProc', InMode), |
| 33 | (short, 'itemHit', OutMode), |
| 34 | ) |
| 35 | functions.append(f) |
| 36 | |
| 37 | f = Function(Boolean, 'IsDialogEvent', |
| 38 | (EventRecord_ptr, 'theEvent', InMode), |
| 39 | ) |
| 40 | functions.append(f) |
| 41 | |
| 42 | f = Function(Boolean, 'DialogSelect', |
| 43 | (EventRecord_ptr, 'theEvent', InMode), |
| 44 | (ExistingDialogPtr, 'theDialog', OutMode), |
| 45 | (short, 'itemHit', OutMode), |
| 46 | ) |
| 47 | functions.append(f) |
| 48 | |
| 49 | f = Method(void, 'DrawDialog', |
| 50 | (DialogPtr, 'theDialog', InMode), |
| 51 | ) |
| 52 | methods.append(f) |
| 53 | |
Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 54 | f = Method(void, 'UpdateDialog', |
| 55 | (DialogPtr, 'theDialog', InMode), |
| 56 | (RgnHandle, 'updateRgn', InMode), |
| 57 | ) |
| 58 | methods.append(f) |
| 59 | |
| 60 | f = Function(short, 'Alert', |
| 61 | (short, 'alertID', InMode), |
| 62 | (ModalFilterProcPtr, 'filterProc', InMode), |
| 63 | ) |
| 64 | functions.append(f) |
| 65 | |
| 66 | f = Function(short, 'StopAlert', |
| 67 | (short, 'alertID', InMode), |
| 68 | (ModalFilterProcPtr, 'filterProc', InMode), |
| 69 | ) |
| 70 | functions.append(f) |
| 71 | |
| 72 | f = Function(short, 'NoteAlert', |
| 73 | (short, 'alertID', InMode), |
| 74 | (ModalFilterProcPtr, 'filterProc', InMode), |
| 75 | ) |
| 76 | functions.append(f) |
| 77 | |
| 78 | f = Function(short, 'CautionAlert', |
| 79 | (short, 'alertID', InMode), |
| 80 | (ModalFilterProcPtr, 'filterProc', InMode), |
| 81 | ) |
| 82 | functions.append(f) |
| 83 | |
Guido van Rossum | 17448e2 | 1995-01-30 11:53:55 +0000 | [diff] [blame] | 84 | f = Method(void, 'GetDItem', |
| 85 | (DialogPtr, 'theDialog', InMode), |
| 86 | (short, 'itemNo', InMode), |
| 87 | (short, 'itemType', OutMode), |
| 88 | (Handle, 'item', OutMode), |
| 89 | (Rect, 'box', OutMode), |
| 90 | ) |
| 91 | methods.append(f) |
| 92 | |
| 93 | f = Method(void, 'SetDItem', |
| 94 | (DialogPtr, 'theDialog', InMode), |
| 95 | (short, 'itemNo', InMode), |
| 96 | (short, 'itemType', InMode), |
| 97 | (Handle, 'item', InMode), |
| 98 | (Rect_ptr, 'box', InMode), |
| 99 | ) |
| 100 | methods.append(f) |
| 101 | |
| 102 | f = Method(void, 'HideDItem', |
| 103 | (DialogPtr, 'theDialog', InMode), |
| 104 | (short, 'itemNo', InMode), |
| 105 | ) |
| 106 | methods.append(f) |
| 107 | |
| 108 | f = Method(void, 'ShowDItem', |
| 109 | (DialogPtr, 'theDialog', InMode), |
| 110 | (short, 'itemNo', InMode), |
| 111 | ) |
| 112 | methods.append(f) |
| 113 | |
| 114 | f = Method(void, 'SelIText', |
| 115 | (DialogPtr, 'theDialog', InMode), |
| 116 | (short, 'itemNo', InMode), |
| 117 | (short, 'strtSel', InMode), |
| 118 | (short, 'endSel', InMode), |
| 119 | ) |
| 120 | methods.append(f) |
| 121 | |
| 122 | f = Function(void, 'GetIText', |
| 123 | (Handle, 'item', InMode), |
| 124 | (Str255, 'text', OutMode), |
| 125 | ) |
| 126 | functions.append(f) |
| 127 | |
| 128 | f = Function(void, 'SetIText', |
| 129 | (Handle, 'item', InMode), |
| 130 | (ConstStr255Param, 'text', InMode), |
| 131 | ) |
| 132 | functions.append(f) |
| 133 | |
| 134 | f = Method(short, 'FindDItem', |
| 135 | (DialogPtr, 'theDialog', InMode), |
| 136 | (Point, 'thePt', InMode), |
| 137 | ) |
| 138 | methods.append(f) |
| 139 | |
| 140 | f = Function(DialogPtr, 'NewCDialog', |
| 141 | (NullStorage, 'dStorage', InMode), |
| 142 | (Rect_ptr, 'boundsRect', InMode), |
| 143 | (ConstStr255Param, 'title', InMode), |
| 144 | (Boolean, 'visible', InMode), |
| 145 | (short, 'procID', InMode), |
| 146 | (WindowPtr, 'behind', InMode), |
| 147 | (Boolean, 'goAwayFlag', InMode), |
| 148 | (long, 'refCon', InMode), |
| 149 | (Handle, 'items', InMode), |
| 150 | ) |
| 151 | functions.append(f) |
| 152 | |
| 153 | f = Function(void, 'ResetAlrtStage', |
| 154 | ) |
| 155 | functions.append(f) |
| 156 | |
| 157 | f = Method(void, 'DlgCut', |
| 158 | (DialogPtr, 'theDialog', InMode), |
| 159 | ) |
| 160 | methods.append(f) |
| 161 | |
| 162 | f = Method(void, 'DlgPaste', |
| 163 | (DialogPtr, 'theDialog', InMode), |
| 164 | ) |
| 165 | methods.append(f) |
| 166 | |
| 167 | f = Method(void, 'DlgCopy', |
| 168 | (DialogPtr, 'theDialog', InMode), |
| 169 | ) |
| 170 | methods.append(f) |
| 171 | |
| 172 | f = Method(void, 'DlgDelete', |
| 173 | (DialogPtr, 'theDialog', InMode), |
| 174 | ) |
| 175 | methods.append(f) |
| 176 | |
| 177 | f = Function(void, 'SetDAFont', |
| 178 | (short, 'fontNum', InMode), |
| 179 | ) |
| 180 | functions.append(f) |
| 181 | |
| 182 | f = Method(void, 'AppendDITL', |
| 183 | (DialogPtr, 'theDialog', InMode), |
| 184 | (Handle, 'theHandle', InMode), |
| 185 | (DITLMethod, 'method', InMode), |
| 186 | ) |
| 187 | methods.append(f) |
| 188 | |
| 189 | f = Method(short, 'CountDITL', |
| 190 | (DialogPtr, 'theDialog', InMode), |
| 191 | ) |
| 192 | methods.append(f) |
| 193 | |
| 194 | f = Method(void, 'ShortenDITL', |
| 195 | (DialogPtr, 'theDialog', InMode), |
| 196 | (short, 'numberItems', InMode), |
| 197 | ) |
| 198 | methods.append(f) |
Guido van Rossum | 0437e89 | 1995-02-21 20:56:21 +0000 | [diff] [blame] | 199 | |