1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f: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)
|