blob: 09fd3007611641b0d4b8f91fbf7c9de6fab06d6a [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 Jansen32248652000-12-19 22:23:06 +00004f = Method(Boolean, 'IsWindowVisible',
5 (WindowRef, 'theWindow', InMode),
6)
7methods.append(f)
Jack Jansenb7abb181995-11-15 15:18:47 +00008
Jack Jansen32248652000-12-19 22:23:06 +00009f = Method(Boolean, 'GetWindowZoomFlag',
10 (WindowRef, 'theWindow', InMode),
11)
12methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000013
Jack Jansen32248652000-12-19 22:23:06 +000014f = Method(void, 'GetWindowStructureRgn',
15 (WindowRef, 'theWindow', InMode),
16 (RgnHandle, 'r', InMode),
17)
18methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000019
Jack Jansen32248652000-12-19 22:23:06 +000020f = Method(void, 'GetWindowContentRgn',
21 (WindowRef, 'theWindow', InMode),
22 (RgnHandle, 'r', InMode),
23)
24methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000025
Jack Jansen32248652000-12-19 22:23:06 +000026f = Method(void, 'GetWindowUpdateRgn',
27 (WindowRef, 'theWindow', InMode),
28 (RgnHandle, 'r', InMode),
29)
30methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000031
Jack Jansen32248652000-12-19 22:23:06 +000032f = Method(short, 'GetWindowTitleWidth',
33 (WindowRef, 'theWindow', InMode),
34)
35methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000036
Jack Jansen32248652000-12-19 22:23:06 +000037f = Method(ExistingWindowPtr, 'GetNextWindow',
38 (WindowRef, 'theWindow', InMode),
39)
40methods.append(f)
Jack Jansen330f5761995-11-14 10:48:54 +000041
Jack Jansene180d991998-04-24 10:28:20 +000042# These have Mac prefixed to their name in the 3.1 universal headers,
43# so we add the old/real names by hand.
44f = Method(void, 'CloseWindow',
45 (WindowPtr, 'theWindow', InMode),
Jack Jansen74a1e632000-07-14 22:37:27 +000046 condition='#if !TARGET_API_MAC_CARBON'
Jack Jansene180d991998-04-24 10:28:20 +000047)
48methods.append(f)
49
50f = Function(short, 'FindWindow',
51 (Point, 'thePoint', InMode),
52 (ExistingWindowPtr, 'theWindow', OutMode),
53)
54functions.append(f)
55
56f = Method(void, 'MoveWindow',
57 (WindowPtr, 'theWindow', InMode),
58 (short, 'hGlobal', InMode),
59 (short, 'vGlobal', InMode),
60 (Boolean, 'front', InMode),
61)
62methods.append(f)
63
64f = Method(void, 'ShowWindow',
65 (WindowPtr, 'theWindow', InMode),
66)
67methods.append(f)
68
69
70