36#define kOODisplayWidth ((NSString *)kCGDisplayWidth)
37#define kOODisplayHeight ((NSString *)kCGDisplayHeight)
38#define kOODisplayRefreshRate ((NSString *)kCGDisplayRefreshRate)
39#define kOODisplayBitsPerPixel ((NSString *)kCGDisplayBitsPerPixel)
40#define kOODisplayIOFlags ((NSString *)kCGDisplayIOFlags)
42#define kOODisplayWidth (@"Width")
43#define kOODisplayHeight (@"Height")
44#define kOODisplayRefreshRate (@"RefreshRate")
48#define DISPLAY_MIN_COLOURS 32
49#define DISPLAY_MIN_WIDTH 640
50#define DISPLAY_MIN_HEIGHT 480
51#define DISPLAY_MAX_WIDTH 7680
52#define DISPLAY_MAX_HEIGHT 4320
63#if OOLITE_PROPERTY_SYNTAX
66@property (nonatomic, getter=inFullScreenMode) BOOL fullScreenMode;
67@property (nonatomic, readonly) NSArray *displayModes;
68@property (nonatomic, readonly) NSDictionary *currentDisplayMode;
69@property (nonatomic, readonly) NSUInteger indexOfCurrentDisplayMode;
75- (BOOL) inFullScreenMode;
76- (void) setFullScreenMode:(BOOL)value;
78- (NSArray *) displayModes;
79- (NSDictionary *) currentDisplayMode;
80- (NSUInteger) indexOfCurrentDisplayMode;
84- (BOOL) setDisplayWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)refresh;
85- (NSDictionary *) findDisplayModeForWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)d_refresh;