blob: b7c2a97fcb183d474d2753dcca615aaace63d51a [file] [log] [blame]
Jack Jansen330f5761995-11-14 10:48:54 +00001# These are inline-routines/defines, so we do them "by hand"
2#
3
Jack Jansenb7abb181995-11-15 15:18:47 +00004f = Method(CGrafPtr, 'GetWindowPort',
5 (WindowRef, 'theWindow', InMode),
6)
7methods.append(f)
8
Jack Jansen330f5761995-11-14 10:48:54 +00009f = Method(void, 'SetPortWindowPort',
10 (WindowRef, 'theWindow', InMode),
11)
12methods.append(f)
13
14f = Method(short, 'GetWindowKind',
15 (WindowRef, 'theWindow', InMode),
16)
17methods.append(f)
18
19f = Method(void, 'SetWindowKind',
20 (WindowRef, 'theWindow', InMode),
21 (short, 'wKind', InMode),
22)
23methods.append(f)
24
25
26f = Method(Boolean, 'IsWindowVisible',
27 (WindowRef, 'theWindow', InMode),
28)
29methods.append(f)
30
31f = Method(Boolean, 'IsWindowHilited',
32 (WindowRef, 'theWindow', InMode),
33)
34methods.append(f)
35
36f = Method(Boolean, 'GetWindowGoAwayFlag',
37 (WindowRef, 'theWindow', InMode),
38)
39methods.append(f)
40
41f = Method(Boolean, 'GetWindowZoomFlag',
42 (WindowRef, 'theWindow', InMode),
43)
44methods.append(f)
45
Jack Jansenb7abb181995-11-15 15:18:47 +000046f = Method(void, 'GetWindowStructureRgn',
47 (WindowRef, 'theWindow', InMode),
48 (RgnHandle, 'r', InMode),
49)
50methods.append(f)
51
52f = Method(void, 'GetWindowContentRgn',
53 (WindowRef, 'theWindow', InMode),
54 (RgnHandle, 'r', InMode),
55)
56methods.append(f)
57
58f = Method(void, 'GetWindowUpdateRgn',
59 (WindowRef, 'theWindow', InMode),
60 (RgnHandle, 'r', InMode),
61)
62methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000063
64f = Method(short, 'GetWindowTitleWidth',
65 (WindowRef, 'theWindow', InMode),
66)
67methods.append(f)
68
69f = Method(ExistingWindowPtr, 'GetNextWindow',
70 (WindowRef, 'theWindow', InMode),
71)
72methods.append(f)
73
74f = Method(void, 'GetWindowStandardState',
75 (WindowRef, 'theWindow', InMode),
76 (Rect, 'r', OutMode),
77)
78methods.append(f)
79
80f = Method(void, 'GetWindowUserState',
81 (WindowRef, 'theWindow', InMode),
82 (Rect, 'r', OutMode),
83)
84methods.append(f)
85
86
87f = Method(void, 'SetWindowStandardState',
88 (WindowRef, 'theWindow', InMode),
89 (Rect, 'r', InMode),
90)
91methods.append(f)
92
93f = Method(void, 'SetWindowUserState',
94 (WindowRef, 'theWindow', InMode),
95 (Rect, 'r', InMode),
96)
97methods.append(f)
98
Jack Jansene180d991998-04-24 10:28:20 +000099# These have Mac prefixed to their name in the 3.1 universal headers,
100# so we add the old/real names by hand.
101f = Method(void, 'CloseWindow',
102 (WindowPtr, 'theWindow', InMode),
103)
104methods.append(f)
105
106f = Function(short, 'FindWindow',
107 (Point, 'thePoint', InMode),
108 (ExistingWindowPtr, 'theWindow', OutMode),
109)
110functions.append(f)
111
112f = Method(void, 'MoveWindow',
113 (WindowPtr, 'theWindow', InMode),
114 (short, 'hGlobal', InMode),
115 (short, 'vGlobal', InMode),
116 (Boolean, 'front', InMode),
117)
118methods.append(f)
119
120f = Method(void, 'ShowWindow',
121 (WindowPtr, 'theWindow', InMode),
122)
123methods.append(f)
124
125
126