diff options
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h index 2f7e104f0..be0ee2caf 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.h @@ -26,19 +26,19 @@ #define FL_WINAPI_SCREEN_DRIVER_H #include <FL/Fl_Screen_Driver.H> +#include <FL/x.H> -/* - Move everything here that manages the native screen interface. - - There is exactly one screen driver in the system. - - - screen configuration and sizes - - multiple screens - - native dialog boxes -*/ +class FL_EXPORT Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver +{ +protected: + RECT screens[MAX_SCREENS];
+ RECT work_area[MAX_SCREENS];
+ float dpi[MAX_SCREENS][2];
+
+ static BOOL CALLBACK screen_cb(HMONITOR mon, HDC, LPRECT r, LPARAM);
+ BOOL screen_cb(HMONITOR mon, HDC, LPRECT r);
-class FL_EXPORT Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver { public: virtual void init(); virtual int x(); |
