diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-04 16:20:54 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-04 16:20:54 +0100 |
| commit | 7777a503ada1d7d7ae2e30897efa52bcd0b36df6 (patch) | |
| tree | 51f0dccfbd7b71f7145216330a9e49ab89a11056 | |
| parent | 5ba756e60aa7b988399189c4df0eb72cdf0364c8 (diff) | |
Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.H | 1 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H index d5a7ed9ad..cc33a4f60 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H @@ -171,6 +171,7 @@ public: void enable_im() FL_OVERRIDE; void disable_im() FL_OVERRIDE; bool screen_boundaries_known() FL_OVERRIDE { return false; } + float base_scale(int numscreen) FL_OVERRIDE; // overridden functions from parent class Fl_Unix_Screen_Driver int poll_or_select_with_delay(double time_to_wait) FL_OVERRIDE; diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 6a4692f64..2a0e08790 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1877,6 +1877,11 @@ int Fl_Wayland_Screen_Driver::get_key(int k) { } +float Fl_Wayland_Screen_Driver::base_scale(int numscreen) { + return 1.f; +} + + struct wl_display *fl_wl_display() { return Fl_Wayland_Screen_Driver::wl_display; } |
