19 #ifndef __CGDIRECTDISPLAY__
20 #define __CGDIRECTDISPLAY__
26 #ifndef __CGGEOMETRY__
42 #ifndef __CFDICTIONARY__
43 #include <CFDictionary.h>
59 #if PRAGMA_STRUCT_ALIGN
60 #pragma options align = mac68k
61 #elif PRAGMA_STRUCT_PACKPUSH
63 #elif PRAGMA_STRUCT_PACK
67 typedef struct _CGDirectDisplayID *CGDirectDisplayID;
68 typedef struct _CGDirectPaletteRef *CGDirectPaletteRef;
69 typedef u_int32_t CGDisplayCount;
70 typedef u_int32_t CGTableCount;
71 typedef int32_t CGDisplayCoord;
72 typedef u_int8_t CGByteValue;
73 typedef u_int32_t CGOpenGLDisplayMask;
74 typedef u_int32_t CGBeamPosition;
75 typedef int32_t CGMouseDelta;
76 typedef double CGRefreshRate;
77 typedef CGError CGDisplayErr;
80 CGDisplayNoErr = kCGErrorSuccess
85 #define kCGDirectMainDisplay ((CGDirectDisplayID)NULL)
107 CGDirectDisplayID *dspys, CGDisplayCount *dspyCnt);
119 CGDirectDisplayID *dspys, CGDisplayCount *dspyCnt);
131 CGDisplayCount maxDisplays,
132 CGDirectDisplayID *dspys,
133 CGDisplayCount *dspyCnt);
156 CGDirectDisplayID *activeDspys, CGDisplayCount *dspyCnt);
336 size_t width,
size_t height,
337 boolean_t *exactMatch);
349 size_t bitsPerPixel,
size_t width,
351 CGRefreshRate refresh,
352 boolean_t *exactMatch);
529 CGTableCount tableSize,
530 const CGByteValue *redTable,
531 const CGByteValue *greenTable,
532 const CGByteValue *blueTable);
811 CGBeamPosition upperScanLine,
812 CGBeamPosition lowerScanLine);
831 #if PRAGMA_STRUCT_ALIGN
832 #pragma options align = reset
833 #elif PRAGMA_STRUCT_PACKPUSH
835 #elif PRAGMA_STRUCT_PACK
839 #ifdef PRAGMA_IMPORT_OFF
xxx put contents here xxx
CGDisplayErr CGGetDisplaysWithPoint(CGPoint point, CGDisplayCount maxDisplays, CGDirectDisplayID *dspys, CGDisplayCount *dspyCnt)
void CGGetLastMouseDelta(CGMouseDelta *deltaX, CGMouseDelta *deltaY)
CGDisplayErr CGSetDisplayTransferByFormula(CGDirectDisplayID display, CGGammaValue redMin, CGGammaValue redMax, CGGammaValue redGamma, CGGammaValue greenMin, CGGammaValue greenMax, CGGammaValue greenGamma, CGGammaValue blueMin, CGGammaValue blueMax, CGGammaValue blueGamma)
size_t CGDisplayBitsPerPixel(CGDirectDisplayID display)
CFStringRef kCGDisplayMode
CFStringRef kCGDisplayBitsPerSample
CFDictionaryRef CGDisplayBestModeForParameters(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, boolean_t *exactMatch)
CGDisplayErr CGSetDisplayTransferByTable(CGDirectDisplayID display, CGTableCount tableSize, const CGGammaValue *redTable, const CGGammaValue *greenTable, const CGGammaValue *blueTable)
CGDisplayErr CGGetDisplaysWithRect(CGRect rect, CGDisplayCount maxDisplays, CGDirectDisplayID *dspys, CGDisplayCount *dspyCnt)
size_t CGDisplayBytesPerRow(CGDirectDisplayID display)
CFStringRef kCGDisplayHeight
size_t CGDisplayPixelsHigh(CGDirectDisplayID display)
CGDisplayErr CGDisplayWaitForBeamPositionOutsideLines(CGDirectDisplayID display, CGBeamPosition upperScanLine, CGBeamPosition lowerScanLine)
CGRect CGDisplayBounds(CGDirectDisplayID display)
CFStringRef kCGDisplayIOFlags
void CGDisplayRestoreColorSyncSettings(void)
CFDictionaryRef CGDisplayCurrentMode(CGDirectDisplayID display)
CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID display)
CGDisplayErr CGCaptureAllDisplays(void)
size_t CGDisplayBitsPerSample(CGDirectDisplayID display)
CGDisplayErr CGDisplayCapture(CGDirectDisplayID display)
CGBeamPosition CGDisplayBeamPosition(CGDirectDisplayID display)
CFStringRef kCGDisplaySamplesPerPixel
CGDisplayErr CGDisplayShowCursor(CGDirectDisplayID display)
CGDisplayErr CGGetDisplayTransferByFormula(CGDirectDisplayID display, CGGammaValue *redMin, CGGammaValue *redMax, CGGammaValue *redGamma, CGGammaValue *greenMin, CGGammaValue *greenMax, CGGammaValue *greenGamma, CGGammaValue *blueMin, CGGammaValue *blueMax, CGGammaValue *blueGamma)
CGDisplayErr CGDisplaySwitchToMode(CGDirectDisplayID display, CFDictionaryRef mode)
CFArrayRef CGDisplayAvailableModes(CGDirectDisplayID display)
CFStringRef kCGDisplayRefreshRate
CFStringRef kCGDisplayWidth
CGDisplayErr CGGetDisplayTransferByTable(CGDirectDisplayID display, CGTableCount capacity, CGGammaValue *redTable, CGGammaValue *greenTable, CGGammaValue *blueTable, CGTableCount *sampleCount)
float CGGammaValue
Definition: CGDirectDisplay.h:448
size_t CGDisplayPixelsWide(CGDirectDisplayID display)
int32_t CGShieldingWindowLevel(void)
boolean_t CGDisplayIsCaptured(CGDirectDisplayID display)
CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRate(CGDirectDisplayID display, size_t bitsPerPixel, size_t width, size_t height, CGRefreshRate refresh, boolean_t *exactMatch)
CGDisplayErr CGGetActiveDisplayList(CGDisplayCount maxDisplays, CGDirectDisplayID *activeDspys, CGDisplayCount *dspyCnt)
void * CGShieldingWindowID(CGDirectDisplayID display)
CGDisplayErr CGDisplayRelease(CGDirectDisplayID display)
CGDisplayErr CGGetDisplaysWithOpenGLDisplayMask(CGOpenGLDisplayMask mask, CGDisplayCount maxDisplays, CGDirectDisplayID *dspys, CGDisplayCount *dspyCnt)
CGDisplayErr CGSetDisplayTransferByByteTable(CGDirectDisplayID display, CGTableCount tableSize, const CGByteValue *redTable, const CGByteValue *greenTable, const CGByteValue *blueTable)
void * CGDisplayAddressForPosition(CGDirectDisplayID display, CGDisplayCoord x, CGDisplayCoord y)
CGDisplayErr CGReleaseAllDisplays(void)
CGDisplayErr CGDisplaySetPalette(CGDirectDisplayID display, CGDirectPaletteRef palette)
size_t CGDisplaySamplesPerPixel(CGDirectDisplayID display)
CGDisplayErr CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint point)
CGDisplayErr CGDisplayHideCursor(CGDirectDisplayID display)
CFStringRef kCGDisplayBitsPerPixel
boolean_t CGDisplayCanSetPalette(CGDirectDisplayID display)
CFStringRef kCGDisplayModeUsableForDesktopGUI
void * CGDisplayBaseAddress(CGDirectDisplayID display)
xxx put contents here xxx
xxx put contents here xxx
Definition: CGGeometry.h:64
Definition: CGGeometry.h:78