summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/wingen.py
blob: a8c0cc20c4d3adad11b74a7506903d554dc61a00 (plain)
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
# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Windows.h'

f = Function(void, 'InitWindows',
)
functions.append(f)

f = Function(WindowPtr, 'NewWindow',
    (NullStorage, 'wStorage', InMode),
    (Rect_ptr, 'boundsRect', InMode),
    (ConstStr255Param, 'title', InMode),
    (Boolean, 'visible', InMode),
    (short, 'theProc', InMode),
    (WindowPtr, 'behind', InMode),
    (Boolean, 'goAwayFlag', InMode),
    (long, 'refCon', InMode),
)
functions.append(f)

f = Function(WindowPtr, 'GetNewWindow',
    (short, 'windowID', InMode),
    (NullStorage, 'wStorage', InMode),
    (WindowPtr, 'behind', InMode),
)
functions.append(f)

f = Method(void, 'GetWTitle',
    (WindowPtr, 'theWindow', InMode),
    (Str255, 'title', OutMode),
)
methods.append(f)

f = Method(void, 'SelectWindow',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'HideWindow',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'ShowWindow',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'ShowHide',
    (WindowPtr, 'theWindow', InMode),
    (Boolean, 'showFlag', InMode),
)
methods.append(f)

f = Method(void, 'HiliteWindow',
    (WindowPtr, 'theWindow', InMode),
    (Boolean, 'fHilite', InMode),
)
methods.append(f)

f = Method(void, 'BringToFront',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'SendBehind',
    (WindowPtr, 'theWindow', InMode),
    (WindowPtr, 'behindWindow', InMode),
)
methods.append(f)

f = Function(WindowPtr, 'FrontWindow',
)
functions.append(f)

f = Method(void, 'DrawGrowIcon',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'MoveWindow',
    (WindowPtr, 'theWindow', InMode),
    (short, 'hGlobal', InMode),
    (short, 'vGlobal', InMode),
    (Boolean, 'front', InMode),
)
methods.append(f)

f = Method(void, 'SizeWindow',
    (WindowPtr, 'theWindow', InMode),
    (short, 'w', InMode),
    (short, 'h', InMode),
    (Boolean, 'fUpdate', InMode),
)
methods.append(f)

f = Method(void, 'ZoomWindow',
    (WindowPtr, 'theWindow', InMode),
    (short, 'partCode', InMode),
    (Boolean, 'front', InMode),
)
methods.append(f)

f = Function(void, 'InvalRect',
    (Rect_ptr, 'badRect', InMode),
)
functions.append(f)

f = Function(void, 'ValidRect',
    (Rect_ptr, 'goodRect', InMode),
)
functions.append(f)

f = Method(void, 'BeginUpdate',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'EndUpdate',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'SetWRefCon',
    (WindowPtr, 'theWindow', InMode),
    (long, 'data', InMode),
)
methods.append(f)

f = Method(long, 'GetWRefCon',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Function(Boolean, 'CheckUpdate',
    (EventRecord, 'theEvent', OutMode),
)
functions.append(f)

f = Method(void, 'ClipAbove',
    (WindowPeek, 'window', InMode),
)
methods.append(f)

f = Method(void, 'SaveOld',
    (WindowPeek, 'window', InMode),
)
methods.append(f)

f = Method(void, 'DrawNew',
    (WindowPeek, 'window', InMode),
    (Boolean, 'update', InMode),
)
methods.append(f)

f = Method(void, 'CalcVis',
    (WindowPeek, 'window', InMode),
)
methods.append(f)

f = Method(long, 'GrowWindow',
    (WindowPtr, 'theWindow', InMode),
    (Point, 'startPt', InMode),
    (Rect_ptr, 'bBox', InMode),
)
methods.append(f)

f = Function(short, 'FindWindow',
    (Point, 'thePoint', InMode),
    (ExistingWindowPtr, 'theWindow', OutMode),
)
functions.append(f)

f = Function(long, 'PinRect',
    (Rect_ptr, 'theRect', InMode),
    (Point, 'thePt', InMode),
)
functions.append(f)

f = Method(Boolean, 'TrackBox',
    (WindowPtr, 'theWindow', InMode),
    (Point, 'thePt', InMode),
    (short, 'partCode', InMode),
)
methods.append(f)

f = Function(WindowPtr, 'NewCWindow',
    (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),
)
functions.append(f)

f = Function(WindowPtr, 'GetNewCWindow',
    (short, 'windowID', InMode),
    (NullStorage, 'wStorage', InMode),
    (WindowPtr, 'behind', InMode),
)
functions.append(f)

f = Method(short, 'GetWVariant',
    (WindowPtr, 'theWindow', InMode),
)
methods.append(f)

f = Method(void, 'SetWTitle',
    (WindowPtr, 'theWindow', InMode),
    (ConstStr255Param, 'title', InMode),
)
methods.append(f)

f = Method(Boolean, 'TrackGoAway',
    (WindowPtr, 'theWindow', InMode),
    (Point, 'thePt', InMode),
)
methods.append(f)

f = Method(void, 'DragWindow',
    (WindowPtr, 'theWindow', InMode),
    (Point, 'startPt', InMode),
    (Rect_ptr, 'boundsRect', InMode),
)
methods.append(f)