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
|
# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Dialogs.h'
f = Function(DialogPtr, 'NewDialog',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowPtr, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
(Handle, 'itmLstHndl', InMode),
)
functions.append(f)
f = Function(DialogPtr, 'GetNewDialog',
(short, 'dialogID', InMode),
(NullStorage, 'dStorage', InMode),
(WindowPtr, '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',
(ModalFilterProcPtr, 'filterProc', 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',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'UpdateDialog',
(DialogPtr, 'theDialog', InMode),
(RgnHandle, 'updateRgn', InMode),
)
methods.append(f)
f = Function(short, 'Alert',
(short, 'alertID', InMode),
(ModalFilterProcPtr, 'filterProc', InMode),
)
functions.append(f)
f = Function(short, 'StopAlert',
(short, 'alertID', InMode),
(ModalFilterProcPtr, 'filterProc', InMode),
)
functions.append(f)
f = Function(short, 'NoteAlert',
(short, 'alertID', InMode),
(ModalFilterProcPtr, 'filterProc', InMode),
)
functions.append(f)
f = Function(short, 'CautionAlert',
(short, 'alertID', InMode),
(ModalFilterProcPtr, 'filterProc', InMode),
)
functions.append(f)
f = Method(void, 'GetDItem',
(DialogPtr, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'itemType', OutMode),
(Handle, 'item', OutMode),
(Rect, 'box', OutMode),
)
methods.append(f)
f = Method(void, 'SetDItem',
(DialogPtr, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'itemType', InMode),
(Handle, 'item', InMode),
(Rect_ptr, 'box', InMode),
)
methods.append(f)
f = Method(void, 'HideDItem',
(DialogPtr, 'theDialog', InMode),
(short, 'itemNo', InMode),
)
methods.append(f)
f = Method(void, 'ShowDItem',
(DialogPtr, 'theDialog', InMode),
(short, 'itemNo', InMode),
)
methods.append(f)
f = Method(void, 'SelIText',
(DialogPtr, 'theDialog', InMode),
(short, 'itemNo', InMode),
(short, 'strtSel', InMode),
(short, 'endSel', InMode),
)
methods.append(f)
f = Function(void, 'GetIText',
(Handle, 'item', InMode),
(Str255, 'text', OutMode),
)
functions.append(f)
f = Function(void, 'SetIText',
(Handle, 'item', InMode),
(ConstStr255Param, 'text', InMode),
)
functions.append(f)
f = Method(short, 'FindDItem',
(DialogPtr, 'theDialog', InMode),
(Point, 'thePt', InMode),
)
methods.append(f)
f = Function(DialogPtr, 'NewCDialog',
(NullStorage, 'dStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowPtr, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
(Handle, 'items', InMode),
)
functions.append(f)
f = Function(void, 'ResetAlrtStage',
)
functions.append(f)
f = Method(void, 'DlgCut',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DlgPaste',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DlgCopy',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'DlgDelete',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Function(void, 'SetDAFont',
(short, 'fontNum', InMode),
)
functions.append(f)
f = Method(void, 'AppendDITL',
(DialogPtr, 'theDialog', InMode),
(Handle, 'theHandle', InMode),
(DITLMethod, 'method', InMode),
)
methods.append(f)
f = Method(short, 'CountDITL',
(DialogPtr, 'theDialog', InMode),
)
methods.append(f)
f = Method(void, 'ShortenDITL',
(DialogPtr, 'theDialog', InMode),
(short, 'numberItems', InMode),
)
methods.append(f)
|