00001
00002
00003 #import <Cocoa/Cocoa.h>
00004
00018 #define kGDMaxDisplays 12
00019
00023 @interface GDQuartzDisplay : NSObject {
00024
00028 CGDirectDisplayID displayId;
00029 }
00030
00037 + (NSMutableArray *) activeDisplays;
00038
00045 + (NSMutableArray *) onlineDisplays;
00046
00051 + (GDQuartzDisplay *) mainDisplay;
00052
00057 - (id) initWithPoint:(NSPoint) point;
00058
00063 - (id) initWithRect:(NSRect) rect;
00064
00070 - (id) initWithDirectDisplayID:(CGDirectDisplayID) ddid;
00071
00075 - (Boolean) isMainDisplay;
00076
00086 - (Boolean) isActive;
00087
00091 - (Boolean) isAlwaysInMirrorSet;
00092
00096 - (Boolean) isSleeping;
00097
00101 - (Boolean) isInMirrorSet;
00102
00106 - (Boolean) isOnline;
00107
00112 - (Boolean) isStereo;
00113
00118 - (Boolean) isPrimaryDisplayInMirrorSet;
00119
00124 - (GDQuartzDisplay *) mirrorsDisplay;
00125
00129 - (GDQuartzDisplay *) primaryDisplay;
00130
00134 - (double) rotation;
00135
00139 - (NSSize) millimeterSize;
00140
00144 - (NSSize) pixelSize;
00145
00149 - (NSRect) bounds;
00150
00155 - (NSScreen *) screen;
00156
00160 - (Boolean) usesOpenGLAcceleration;
00161
00162 @end