26 #ifndef OCPN_DISPLAYS_H
27 #define OCPN_DISPLAYS_H
53 extern size_t g_num_monitors;
55 extern size_t g_current_monitor;
58 extern double g_current_monitor_dip_px_ratio;
60 extern std::vector<OCPN_MonitorInfo> g_monitor_info;
63 void EnumerateMonitors();
Structure to hold information about a monitor.
size_t height_px
Height of the monitor in physical pixels, on eg. Apple Retina displays this value differs.
size_t width
Width of the monitor in pixels.
size_t height_mm
Height of the monitor in millimeters.
size_t height
Height of the monitor in pixels.
size_t width_mm
Width of the monitor in millimeters.
size_t width_px
Width of the monitor in physical pixels, on eg. Apple Retina displays this value differs.
size_t scale
Scaling factor in percent.
std::string name
Name of the monitor.