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