#import <Display.h>
Public Member Functions | |
() | - ~Display |
(int) | - getWidth |
(int) | - getHeight |
(Area) | - getArea |
(int) | - getBitsPerPixel |
(bool) | - contains |
Returns whether the Display's coordinates contain pt. | |
(NSScreen *) | - getNsScreen |
(CGDirectDisplayID) | - getCgDirectDisplayId |
Static Public Member Functions | |
(static DisplayRef) | + getMainDisplay |
(static const std::vector < DisplayRef > &) | + getDisplays |
(static DisplayRef) | + getDisplayForPoint |
Returns the Display which contains a given point. Returns a NULL DisplayRef on failure. | |
(static DisplayRef) | + findFromCgDirectDisplayId |
(static DisplayRef) | + findFromHmonitor |
Finds a Display based on its HMONITOR. Returns the primary display if it's not found. | |
(static BOOL CALLBACK) | + enumMonitorProc |
- cinder: |
- (int) Display: | const |
- (int) Display: | const |
- (Area) Display: | const |
- (int) Display: | const |
- (NSScreen*) Display: | const |
- (CGDirectDisplayID) Display: | const |
+ (DisplayRef) Display: |
+ (const vector< DisplayRef > &) Display: |
+ (DisplayRef) Display: | (const Vec2i &) | pt |
Returns the Display which contains a given point. Returns a NULL DisplayRef on failure.
+ (DisplayRef) Display: | (CGDirectDisplayID) | displayID |
+ (DisplayRef) Display: | (HMONITOR) | hMonitor |
Finds a Display based on its HMONITOR. Returns the primary display if it's not found.
+ (BOOL CALLBACK) Display: | (HMONITOR) | hMonitor | |
(HDC) | hdc | ||
(LPRECT) | rect | ||
(LPARAM) | lParam | ||