diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-10 23:43:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-10 23:43:49 (GMT) |
commit | f7d5aa61d34cb7816ead2757860e5a66f7da0dcb (patch) | |
tree | faba3f23c2f0fdfa74a156d441f6fa8945c337f8 /Mac/Modules/drag/dragsupport.py | |
parent | c6c283840316dec54244b311657511e95e742eb0 (diff) | |
download | cpython-f7d5aa61d34cb7816ead2757860e5a66f7da0dcb.zip cpython-f7d5aa61d34cb7816ead2757860e5a66f7da0dcb.tar.gz cpython-f7d5aa61d34cb7816ead2757860e5a66f7da0dcb.tar.bz2 |
Adapted to Universal Headers 3.3.2. More to follow.
Diffstat (limited to 'Mac/Modules/drag/dragsupport.py')
-rw-r--r-- | Mac/Modules/drag/dragsupport.py | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/Mac/Modules/drag/dragsupport.py b/Mac/Modules/drag/dragsupport.py index af8a255..d90acc9 100644 --- a/Mac/Modules/drag/dragsupport.py +++ b/Mac/Modules/drag/dragsupport.py @@ -12,7 +12,7 @@ OBJECTNAME = 'DragObj' # The basic name of the objects used here # The following is *usually* unchanged but may still require tuning MODPREFIX = MODNAME # The prefix for module-wide routines -OBJECTTYPE = 'DragReference' # The C type used to represent them +OBJECTTYPE = 'DragRef' # The C type used to represent them OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods INPUTFILE = string.lower(MODPREFIX) + 'gen.py' # The file generated by the scanner OUTPUTFILE = MODNAME + "module.c" # The file generated by this program @@ -21,31 +21,21 @@ from macsupport import * # Create the type objects -DragReference = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) +DragRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) +DragItemRef = Type("ItemReference", "l") +# Old names +DragReference = DragRef +ItemReference = DragItemRef -##CCTabHandle = OpaqueByValueType("CCTabHandle", "ResObj") -##AuxCtlHandle = OpaqueByValueType("AuxCtlHandle", "ResObj") -##ControlPartCode = Type("ControlPartCode", "h") -##DragConstraint = Type("DragConstraint", "h") -##ControlVariant = Type("ControlVariant", "h") -##IconTransformType = Type("IconTransformType", "h") -##ControlButtonGraphicAlignment = Type("ControlButtonGraphicAlignment", "h") -##ControlButtonTextAlignment = Type("ControlButtonTextAlignment", "h") -##ControlButtonTextPlacement = Type("ControlButtonTextPlacement", "h") -##ControlContentType = Type("ControlContentType", "h") -##ControlFocusPart = Type("ControlFocusPart", "h") -## -##ControlFontStyleRec = OpaqueType('ControlFontStyleRec', 'ControlFontStyle') -##ControlFontStyleRec_ptr = ControlFontStyleRec PixMapHandle = OpaqueByValueType("PixMapHandle", "ResObj") RgnHandle = OpaqueByValueType("RgnHandle", "ResObj") AEDesc = OpaqueType('AEDesc') AEDesc_ptr = AEDesc RGBColor = OpaqueType("RGBColor", "QdRGB") -ItemReference = Type("ItemReference", "l") FlavorType = OSTypeType("FlavorType") DragAttributes = Type("DragAttributes", "l") +DragBehaviors = Type("DragBehaviors", "l") DragImageFlags = Type("DragImageFlags", "l") DragImageTranslucency = Type("DragImageTranslucency", "l") DragRegionMessage = Type("DragRegionMessage", "h") |