diff options
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; |
