diff options
| author | Manolo Gouy <Manolo> | 2017-07-07 15:06:51 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-07-07 15:06:51 +0000 |
| commit | 9f69df923fa4a672274c013f8969416f19925be8 (patch) | |
| tree | 764c70b05fa00cd2d89a31b9597f48a628944567 /src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H | |
| parent | 7847c2d87ab85b54f846f8ab240b5e866e9a6593 (diff) | |
Define Fl_WinAPI_Screen_Driver::DWM_scaling_factor() only without FLTK_HIDPI_SUPPORT.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12298 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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H index 682afca25..628fc9511 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H @@ -61,7 +61,6 @@ public: 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); int screen_num_unscaled(int x, int y); - float DWM_scaling_factor(int screen_num); virtual void screen_work_area(int &X, int &Y, int &W, int &H, int n); // --- audible output virtual void beep(int type); @@ -92,14 +91,14 @@ public: virtual APP_SCALING_CAPABILITY rescalable() { return PER_SCREEN_APP_SCALING; } -#endif -#if defined(FLTK_HIDPI_SUPPORT) virtual float scale(int n) { return scale_of_screen[n]; } virtual void scale(int n, float f) { scale_of_screen[n] = f; } +#else + float DWM_scaling_factor(); #endif virtual float desktop_scale_factor(); }; |
