2000-12-12 22:08:00 +00:00
|
|
|
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Drag.h'
|
1999-06-23 09:09:46 +00:00
|
|
|
|
|
|
|
def FOUR_CHAR_CODE(x): return x
|
|
|
|
from TextEdit import *
|
|
|
|
from QuickDraw import *
|
|
|
|
|
|
|
|
|
|
|
|
kDragHasLeftSenderWindow = (1 << 0)
|
|
|
|
kDragInsideSenderApplication = (1 << 1)
|
|
|
|
kDragInsideSenderWindow = (1 << 2)
|
|
|
|
kDragRegionAndImage = (1 << 4)
|
|
|
|
flavorSenderOnly = (1 << 0)
|
|
|
|
flavorSenderTranslated = (1 << 1)
|
|
|
|
flavorNotSaved = (1 << 2)
|
|
|
|
flavorSystemTranslated = (1 << 8)
|
1999-12-14 15:44:53 +00:00
|
|
|
kDragHasLeftSenderWindow = (1L << 0)
|
|
|
|
kDragInsideSenderApplication = (1L << 1)
|
2000-12-12 22:08:00 +00:00
|
|
|
kDragInsideSenderWindow = (1L << 2)
|
|
|
|
kDragBehaviorNone = 0
|
|
|
|
kDragBehaviorZoomBackAnimation = (1L << 0)
|
|
|
|
kDragRegionAndImage = (1L << 4)
|
1999-06-23 09:09:46 +00:00
|
|
|
kDragStandardTranslucency = 0L
|
|
|
|
kDragDarkTranslucency = 1L
|
|
|
|
kDragDarkerTranslucency = 2L
|
2000-12-12 22:08:00 +00:00
|
|
|
kDragOpaqueTranslucency = 3L
|
1999-06-23 09:09:46 +00:00
|
|
|
kDragRegionBegin = 1
|
|
|
|
kDragRegionDraw = 2
|
|
|
|
kDragRegionHide = 3
|
|
|
|
kDragRegionIdle = 4
|
2000-12-12 22:08:00 +00:00
|
|
|
kDragRegionEnd = 5
|
1999-06-23 09:09:46 +00:00
|
|
|
kZoomNoAcceleration = 0
|
|
|
|
kZoomAccelerate = 1
|
2000-12-12 22:08:00 +00:00
|
|
|
kZoomDecelerate = 2
|
1999-12-14 15:44:53 +00:00
|
|
|
flavorSenderOnly = (1 << 0)
|
|
|
|
flavorSenderTranslated = (1 << 1)
|
|
|
|
flavorNotSaved = (1 << 2)
|
2000-12-12 22:08:00 +00:00
|
|
|
flavorSystemTranslated = (1 << 8)
|
|
|
|
kDragFlavorTypeHFS = FOUR_CHAR_CODE('hfs ')
|
|
|
|
kDragFlavorTypePromiseHFS = FOUR_CHAR_CODE('phfs')
|
|
|
|
flavorTypeHFS = kDragFlavorTypeHFS
|
|
|
|
flavorTypePromiseHFS = kDragFlavorTypePromiseHFS
|
|
|
|
kDragPromisedFlavorFindFile = FOUR_CHAR_CODE('rWm1')
|
|
|
|
kDragPromisedFlavor = FOUR_CHAR_CODE('fssP')
|
|
|
|
kDragPseudoCreatorVolumeOrDirectory = FOUR_CHAR_CODE('MACS')
|
|
|
|
kDragPseudoFileTypeVolume = FOUR_CHAR_CODE('disk')
|
|
|
|
kDragPseudoFileTypeDirectory = FOUR_CHAR_CODE('fold')
|
|
|
|
flavorTypeDirectory = FOUR_CHAR_CODE('diry')
|
1999-06-23 09:09:46 +00:00
|
|
|
kFlavorTypeClippingName = FOUR_CHAR_CODE('clnm')
|
|
|
|
kFlavorTypeClippingFilename = FOUR_CHAR_CODE('clfn')
|
|
|
|
kFlavorTypeDragToTrashOnly = FOUR_CHAR_CODE('fdtt')
|
1999-12-14 15:44:53 +00:00
|
|
|
kFlavorTypeFinderNoTrackingBehavior = FOUR_CHAR_CODE('fntb')
|
1999-06-23 09:09:46 +00:00
|
|
|
kDragTrackingEnterHandler = 1
|
|
|
|
kDragTrackingEnterWindow = 2
|
|
|
|
kDragTrackingInWindow = 3
|
|
|
|
kDragTrackingLeaveWindow = 4
|
2000-12-12 22:08:00 +00:00
|
|
|
kDragTrackingLeaveHandler = 5
|
1999-06-23 09:09:46 +00:00
|
|
|
dragHasLeftSenderWindow = kDragHasLeftSenderWindow
|
|
|
|
dragInsideSenderApplication = kDragInsideSenderApplication
|
2000-12-12 22:08:00 +00:00
|
|
|
dragInsideSenderWindow = kDragInsideSenderWindow
|
1999-06-23 09:09:46 +00:00
|
|
|
dragTrackingEnterHandler = kDragTrackingEnterHandler
|
|
|
|
dragTrackingEnterWindow = kDragTrackingEnterWindow
|
|
|
|
dragTrackingInWindow = kDragTrackingInWindow
|
|
|
|
dragTrackingLeaveWindow = kDragTrackingLeaveWindow
|
2000-12-12 22:08:00 +00:00
|
|
|
dragTrackingLeaveHandler = kDragTrackingLeaveHandler
|
1999-06-23 09:09:46 +00:00
|
|
|
dragRegionBegin = kDragRegionBegin
|
|
|
|
dragRegionDraw = kDragRegionDraw
|
|
|
|
dragRegionHide = kDragRegionHide
|
|
|
|
dragRegionIdle = kDragRegionIdle
|
2000-12-12 22:08:00 +00:00
|
|
|
dragRegionEnd = kDragRegionEnd
|
1999-06-23 09:09:46 +00:00
|
|
|
zoomNoAcceleration = kZoomNoAcceleration
|
|
|
|
zoomAccelerate = kZoomAccelerate
|
2000-12-12 22:08:00 +00:00
|
|
|
zoomDecelerate = kZoomDecelerate
|
1999-06-23 09:09:46 +00:00
|
|
|
kDragStandardImage = kDragStandardTranslucency
|
|
|
|
kDragDarkImage = kDragDarkTranslucency
|
|
|
|
kDragDarkerImage = kDragDarkerTranslucency
|
2000-12-12 22:08:00 +00:00
|
|
|
kDragOpaqueImage = kDragOpaqueTranslucency
|