diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-30 22:04:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-30 22:04:23 (GMT) |
commit | 60087fb45092d9c199cea162e58d9193c7c1558c (patch) | |
tree | 05f3343e7707c4a4179e409506b39601279f04c1 /Lib/plat-mac/Carbon/QDOffscreen.py | |
parent | c262a1f51ce89dbea4aeb072cf631686c47ed97f (diff) | |
download | cpython-60087fb45092d9c199cea162e58d9193c7c1558c.zip cpython-60087fb45092d9c199cea162e58d9193c7c1558c.tar.gz cpython-60087fb45092d9c199cea162e58d9193c7c1558c.tar.bz2 |
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on
Mac OS X). The only items remaining in Mac/Lib are modules that are
meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences
in resources, etc).
Diffstat (limited to 'Lib/plat-mac/Carbon/QDOffscreen.py')
-rw-r--r-- | Lib/plat-mac/Carbon/QDOffscreen.py | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Lib/plat-mac/Carbon/QDOffscreen.py b/Lib/plat-mac/Carbon/QDOffscreen.py new file mode 100644 index 0000000..b3f557e --- /dev/null +++ b/Lib/plat-mac/Carbon/QDOffscreen.py @@ -0,0 +1,47 @@ +# Generated from 'QDOffscreen.h' + +def FOUR_CHAR_CODE(x): return x +pixPurgeBit = 0 +noNewDeviceBit = 1 +useTempMemBit = 2 +keepLocalBit = 3 +useDistantHdwrMemBit = 4 +useLocalHdwrMemBit = 5 +pixelsPurgeableBit = 6 +pixelsLockedBit = 7 +mapPixBit = 16 +newDepthBit = 17 +alignPixBit = 18 +newRowBytesBit = 19 +reallocPixBit = 20 +clipPixBit = 28 +stretchPixBit = 29 +ditherPixBit = 30 +gwFlagErrBit = 31 +pixPurge = 1L << pixPurgeBit +noNewDevice = 1L << noNewDeviceBit +useTempMem = 1L << useTempMemBit +keepLocal = 1L << keepLocalBit +useDistantHdwrMem = 1L << useDistantHdwrMemBit +useLocalHdwrMem = 1L << useLocalHdwrMemBit +pixelsPurgeable = 1L << pixelsPurgeableBit +pixelsLocked = 1L << pixelsLockedBit +kAllocDirectDrawSurface = 1L << 14 +mapPix = 1L << mapPixBit +newDepth = 1L << newDepthBit +alignPix = 1L << alignPixBit +newRowBytes = 1L << newRowBytesBit +reallocPix = 1L << reallocPixBit +clipPix = 1L << clipPixBit +stretchPix = 1L << stretchPixBit +ditherPix = 1L << ditherPixBit +gwFlagErr = 1L << gwFlagErrBit +deviceIsIndirect = (1L << 0) +deviceNeedsLock = (1L << 1) +deviceIsStatic = (1L << 2) +deviceIsExternalBuffer = (1L << 3) +deviceIsDDSurface = (1L << 4) +deviceIsDCISurface = (1L << 5) +deviceIsGDISurface = (1L << 6) +deviceIsAScreen = (1L << 7) +deviceIsOverlaySurface = (1L << 8) |