Jack Jansen
d6b2aeb10d
QDFlushPortBuffer() has an optional region argument.
2001-02-06 16:13:50 +00:00
Jack Jansen
dc2ac8d39f
Accept Dialogs and Windows where Grafports are expected (such as in SetPort) and do a MacOSX compatible cast. Bit of a hack, but good enough for now.
2001-02-02 22:41:48 +00:00
Jack Jansen
87eb4f8bb3
New internal function BMObj_NewCopied() which copies the BitMap. Used to get the screenBits bitmap.
2001-01-30 09:57:13 +00:00
Jack Jansen
5c3c58bde0
Accessor functions for regions and such expect an existing region as parameter. Fixed for grafport attribute access.
...
Got GetPortBitMapForCopyBits() and port.portBits to work.
2001-01-29 14:07:01 +00:00
Jack Jansen
f47075e86d
Blacklisted (for the time being) the functions that have a component argument. Don't want to drag the Cm module into the core set too.
2001-01-24 14:22:13 +00:00
Jack Jansen
bd58edaa01
Implemented direct attribute access for Carbon builds and accessor functions for non-carbon builds.
2001-01-24 14:05:11 +00:00
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
a05ac607d7
Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.
1999-12-12 21:41:51 +00:00
Jack Jansen
29bfea9b76
Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr).
1998-04-27 15:09:36 +00:00
Jack Jansen
e180d99280
Grmpf, a lot more routines have gotten a "Mac" prefix for their
...
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
1998-04-24 10:28:20 +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
1c4e614627
Re-generated from new (3.1) universal headers
1998-04-21 15:23:55 +00:00
Jack Jansen
e742a82067
Regenerated because of confusion with Style/StyleParameter and
...
Char/CharParameter
1998-02-25 15:46:50 +00:00
Jack Jansen
21f96872f2
Regenerated from Universal Headers 3.0.1. Some new calls are
...
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
1998-02-20 16:02:09 +00:00
Jack Jansen
a755e68df6
Export type objects to Python
1997-09-20 17:40:22 +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
1d8ede7bbe
Fixed GetPen and SetPt arguments
1996-01-08 23:47:31 +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
d4c26469d6
Generated anew
1995-08-17 14:35:56 +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