1995-11-14 06:48:54 -04:00
|
|
|
# These are inline-routines/defines, so we do them "by hand"
|
|
|
|
#
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(Boolean, 'IsWindowVisible',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(Boolean, 'GetWindowZoomFlag',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
2001-01-09 18:09:31 -04:00
|
|
|
condition='#if !TARGET_API_MAC_CARBON'
|
2000-12-19 18:23:06 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(void, 'GetWindowStructureRgn',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
(RgnHandle, 'r', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(void, 'GetWindowContentRgn',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
(RgnHandle, 'r', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(void, 'GetWindowUpdateRgn',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
(RgnHandle, 'r', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(short, 'GetWindowTitleWidth',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
2001-01-09 18:09:31 -04:00
|
|
|
condition='#if !TARGET_API_MAC_CARBON'
|
2000-12-19 18:23:06 -04:00
|
|
|
)
|
|
|
|
methods.append(f)
|
2000-12-12 18:10:21 -04:00
|
|
|
|
2000-12-19 18:23:06 -04:00
|
|
|
f = Method(ExistingWindowPtr, 'GetNextWindow',
|
|
|
|
(WindowRef, 'theWindow', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
1995-11-14 06:48:54 -04:00
|
|
|
|
1998-04-24 07:28:20 -03:00
|
|
|
# These have Mac prefixed to their name in the 3.1 universal headers,
|
|
|
|
# so we add the old/real names by hand.
|
|
|
|
f = Method(void, 'CloseWindow',
|
|
|
|
(WindowPtr, 'theWindow', InMode),
|
2000-07-14 19:37:27 -03:00
|
|
|
condition='#if !TARGET_API_MAC_CARBON'
|
1998-04-24 07:28:20 -03:00
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Function(short, 'FindWindow',
|
|
|
|
(Point, 'thePoint', InMode),
|
|
|
|
(ExistingWindowPtr, 'theWindow', OutMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'MoveWindow',
|
|
|
|
(WindowPtr, 'theWindow', InMode),
|
|
|
|
(short, 'hGlobal', InMode),
|
|
|
|
(short, 'vGlobal', InMode),
|
|
|
|
(Boolean, 'front', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
f = Method(void, 'ShowWindow',
|
|
|
|
(WindowPtr, 'theWindow', InMode),
|
|
|
|
)
|
|
|
|
methods.append(f)
|
|
|
|
|
|
|
|
|
|
|
|
|