diff options
| author | Manolo Gouy <Manolo> | 2017-07-03 17:31:57 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-07-03 17:31:57 +0000 |
| commit | 8dccfc88386561782d9b78900b283cedad2e59bb (patch) | |
| tree | e241ec766008d154f32f1b3a313fd7233984606a /FL | |
| parent | ba10af9edb594f69e58e6f2ccb251e3bdff3e9c6 (diff) | |
HiDPI support under WIN32 platform: completed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Window_Driver.H | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 9d016043d..7f229e22b 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -167,7 +167,7 @@ public: static int scale_handler(int event); virtual void init_workarea() {} virtual float desktop_scale_factor() {return 1;} - float default_scale_factor(); + void use_startup_scale_factor(); enum APP_SCALING_CAPABILITY { NO_APP_SCALING = 0, ///< The platform does not support rescaling. SYSTEMWIDE_APP_SCALING, ///< The platform supports rescaling with the same factor for all screens. diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H index 20e3503fc..9a588a46e 100644 --- a/FL/Fl_Window_Driver.H +++ b/FL/Fl_Window_Driver.H @@ -108,6 +108,8 @@ public: void overlay(Fl_Window *o) { if (pWindow->as_overlay_window()) pWindow->as_overlay_window()->overlay_ = o; } + + void resize_after_scale_change(int ns, float old_f, float new_f); // --- window data virtual int decorated_w() = 0; |
