16 #ifndef osxDisplayDevice_h
17 #define osxDisplayDevice_h
19 #include <pointing/output/DisplayDevice.h>
21 #include <ApplicationServices/ApplicationServices.h>
31 CGDirectDisplayID displayID ;
33 typedef enum {NOTHING=0, BOUNDS=1, SIZE=2, REFRESHRATE=4} cachedinfo ;
43 double cached_refreshrate ;
49 void cacheAll(URI &uri);
54 void listDisplays(std::ostream& out) ;
66 URI
getURI(
bool expanded=
false)
const ;
Display bounds (origin and size) in pixels.
Definition: DisplayDevice.h:60
double getRefreshRate(double *defval=0)
Definition: osxDisplayDevice.cpp:129
URI getURI(bool expanded=false) const
Definition: osxDisplayDevice.cpp:143
DisplayDevice class is used to represent the displays connected to the computer.
Definition: DisplayDevice.h:31
Display size in mms.
Definition: DisplayDevice.h:51
Bounds getBounds(Bounds *defval=0)
Definition: osxDisplayDevice.cpp:98
Size getSize(Size *defval=0)
Definition: osxDisplayDevice.cpp:118
The osxDisplayDevice class is a platform specific subclass of DisplayDevice which is implemented to w...
Definition: osxDisplayDevice.h:29