1 # These are inline-routines/defines, so we do them "by hand"
4 f
= Method(Boolean
, 'IsWindowVisible',
5 (WindowRef
, 'theWindow', InMode
),
9 f
= Method(Boolean
, 'GetWindowZoomFlag',
10 (WindowRef
, 'theWindow', InMode
),
11 condition
='#if !TARGET_API_MAC_CARBON'
15 f
= Method(void
, 'GetWindowStructureRgn',
16 (WindowRef
, 'theWindow', InMode
),
17 (RgnHandle
, 'r', InMode
),
21 f
= Method(void
, 'GetWindowContentRgn',
22 (WindowRef
, 'theWindow', InMode
),
23 (RgnHandle
, 'r', InMode
),
27 f
= Method(void
, 'GetWindowUpdateRgn',
28 (WindowRef
, 'theWindow', InMode
),
29 (RgnHandle
, 'r', InMode
),
33 f
= Method(short
, 'GetWindowTitleWidth',
34 (WindowRef
, 'theWindow', InMode
),
35 condition
='#if !TARGET_API_MAC_CARBON'
39 f
= Method(ExistingWindowPtr
, 'GetNextWindow',
40 (WindowRef
, 'theWindow', InMode
),
44 # These have Mac prefixed to their name in the 3.1 universal headers,
45 # so we add the old/real names by hand.
46 f
= Method(void
, 'CloseWindow',
47 (WindowPtr
, 'theWindow', InMode
),
48 condition
='#if !TARGET_API_MAC_CARBON'
52 f
= Function(short
, 'FindWindow',
53 (Point
, 'thePoint', InMode
),
54 (ExistingWindowPtr
, 'theWindow', OutMode
),
58 f
= Method(void
, 'MoveWindow',
59 (WindowPtr
, 'theWindow', InMode
),
60 (short
, 'hGlobal', InMode
),
61 (short
, 'vGlobal', InMode
),
62 (Boolean
, 'front', InMode
),
66 f
= Method(void
, 'ShowWindow',
67 (WindowPtr
, 'theWindow', InMode
),