diff options
| author | Manolo Gouy <Manolo> | 2016-08-27 15:54:51 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-08-27 15:54:51 +0000 |
| commit | fd2da982b625109efe50a0c9351bf6dd5abc8aae (patch) | |
| tree | 6606b6d9d16ded16444ad74de8211d80b8a66439 /src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H | |
| parent | f551d538f23ddf810e7401a2d25de54dc5f15f75 (diff) | |
Fix Fl_Copy_Surface under Windows 10 when the desktop scaling factor value is > 100 %
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H index 61a34dd2d..80529138f 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H @@ -52,6 +52,7 @@ public: virtual int h(); virtual void screen_xywh(int &X, int &Y, int &W, int &H, int n); virtual void screen_dpi(float &h, float &v, int n=0); + static float desktop_scaling_factor(); virtual void screen_work_area(int &X, int &Y, int &W, int &H, int n); // --- audible output virtual void beep(int type); |
