Commit Graph

23 Commits

Author SHA1 Message Date
Jack Jansen 74a1e63a89 Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. 2000-07-14 22:37:27 +00:00
Jack Jansen 9d8b96c850 pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen fd78de3a74 Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access. 2000-06-20 07:42:00 +00:00
Jack Jansen e79dc76f53 Made the core toolbox modules carbon-compatible using the new greylist feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open.
Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
2000-06-02 21:35:07 +00:00
Jack Jansen 484be6152f Added methods getdata() and putdata() to obtain the data in a bitmap. 2000-03-03 16:01:11 +00:00
Jack Jansen 7f725e4061 SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define. 1998-04-23 13:21:09 +00:00
Jack Jansen 0c4d947eac Replaced addpack by handcrafted code to find the bgen stuff. 1998-04-17 14:07:56 +00:00
Jack Jansen 69b43ed5bc Added support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no
reason they were blacklisted, we can handle them as generic Handles.
1997-08-15 14:35:54 +00:00
Jack Jansen 4a8c54e6d9 - Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
- Regenerated bgen modules from new universal headers
- Changed some of the s# in PyArg_ParseTuple to m# (unfortunately:
  this should have been a different commit)
1997-02-24 13:56:59 +00:00
Jack Jansen 3355be3f35 Added _id attribute to GrafPort objects (real id of grafport, numeric) 1996-05-08 15:33:20 +00:00
Jack Jansen bdd0747193 Fixed access to Quickdraw globals. Unfortunately, they now have to be
accessed as Qd.qd.xxxx
1996-01-29 15:44:03 +00:00
Jack Jansen 61f3df4543 Added rgbFgColor and a few other members of CGrafPort 1996-01-15 14:39:56 +00:00
Jack Jansen 3a50f8a51e - Added FontInfo support
- Added (read-)access to members of [C]GrafPort object
1996-01-11 16:17:14 +00:00
Jack Jansen 04a02e7e11 Added support for PenState and Patterns (and the accompanying qd
globals)
1996-01-06 17:12:58 +00:00
Jack Jansen b539406643 Added support for cursors, and a way to get at the qd global 'arrow' 1996-01-05 18:06:41 +00:00
Jack Jansen 425e9eb6cb - Added color window/pixmap support
- Added support for obtaining pixmap data
- Added OptResObj_* routines for optional handles
1995-12-12 15:02:03 +00:00
Jack Jansen 232f3cd190 Added support for RGB objects (tuples in python) 1995-12-09 14:04:31 +00:00
Jack Jansen 41058c0d0b BitMap object support (only lightly tested) 1995-11-16 22:48:29 +00:00
Jack Jansen 330381cbbb Added (minimal) support for a GrafPort type 1995-11-15 15:18:01 +00:00
Jack Jansen 54c8f7e4bb - Fixed handling of InsetRect, OffsetRect, MapRect
- Added support for PatHandle, CursHandle
- Regenerated from new universal headers.
1995-11-14 10:46:01 +00:00
Jack Jansen b81cf9d61c Trying again to check it in. Changes to:
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
1995-06-06 13:08:40 +00:00
Guido van Rossum e56db434a9 first cut at the whole quickdraw.h header file ... 1995-03-19 22:49:50 +00:00
Guido van Rossum 17448e2408 Committed a more or less working version. 1995-01-30 11:53:55 +00:00