summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qd/qdgen.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:46:01 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:46:01 (GMT)
commit54c8f7e4bbbb11d5f106c4a34d87eec5635345eb (patch)
tree7e059ffaf569e408d121a8047e6f076a724047ce /Mac/Modules/qd/qdgen.py
parentcdaa3d95b87b1da0d94fb82ef73594f8bcbb14ce (diff)
downloadcpython-54c8f7e4bbbb11d5f106c4a34d87eec5635345eb.zip
cpython-54c8f7e4bbbb11d5f106c4a34d87eec5635345eb.tar.gz
cpython-54c8f7e4bbbb11d5f106c4a34d87eec5635345eb.tar.bz2
- Fixed handling of InsetRect, OffsetRect, MapRect
- Added support for PatHandle, CursHandle - Regenerated from new universal headers.
Diffstat (limited to 'Mac/Modules/qd/qdgen.py')
-rw-r--r--Mac/Modules/qd/qdgen.py43
1 files changed, 38 insertions, 5 deletions
diff --git a/Mac/Modules/qd/qdgen.py b/Mac/Modules/qd/qdgen.py
index d7976f1..19e887d 100644
--- a/Mac/Modules/qd/qdgen.py
+++ b/Mac/Modules/qd/qdgen.py
@@ -1,4 +1,4 @@
-# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDraw.h'
+# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h'
f = Function(void, 'OpenPort',
(GrafPtr, 'port', InMode),
@@ -156,14 +156,14 @@ f = Function(void, 'SetRect',
functions.append(f)
f = Function(void, 'OffsetRect',
- (Rect, 'r', OutMode),
+ (Rect, 'r', InOutMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
functions.append(f)
f = Function(void, 'InsetRect',
- (Rect, 'r', OutMode),
+ (Rect, 'r', InOutMode),
(short, 'dh', InMode),
(short, 'dv', InMode),
)
@@ -530,7 +530,7 @@ f = Function(void, 'MapPt',
functions.append(f)
f = Function(void, 'MapRect',
- (Rect, 'r', OutMode),
+ (Rect, 'r', InOutMode),
(Rect_ptr, 'srcRect', InMode),
(Rect_ptr, 'dstRect', InMode),
)
@@ -713,7 +713,40 @@ f = Function(short, 'QDError',
)
functions.append(f)
-# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDrawText.h'
+f = Function(PatHandle, 'GetPattern',
+ (short, 'patternID', InMode),
+)
+functions.append(f)
+
+f = Function(CursHandle, 'GetCursor',
+ (short, 'cursorID', InMode),
+)
+functions.append(f)
+
+f = Function(PicHandle, 'GetPicture',
+ (short, 'pictureID', InMode),
+)
+functions.append(f)
+
+f = Function(long, 'DeltaPoint',
+ (Point, 'ptA', InMode),
+ (Point, 'ptB', InMode),
+)
+functions.append(f)
+
+f = Function(void, 'ShieldCursor',
+ (Rect_ptr, 'shieldRect', InMode),
+ (Point, 'offsetPt', InMode),
+)
+functions.append(f)
+
+f = Function(void, 'ScreenRes',
+ (short, 'scrnHRes', OutMode),
+ (short, 'scrnVRes', OutMode),
+)
+functions.append(f)
+
+# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
f = Function(void, 'TextFont',
(short, 'font', InMode),