diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-27 08:18:01 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-27 08:18:01 +0100 |
| commit | 88a3f7b7be1110e0d4a8587e48f4ad24fe527646 (patch) | |
| tree | 2814389cecda21d4ecb85b70acda18e4f46370f4 /FL/Fl_Graphics_Driver.H | |
| parent | 5c1b69cd4fb35e55f78befa40af15391bfe067ea (diff) | |
Rename fl_remove_scale() to fl_override_scale() as discussed in fltk.general
Re: Can custom box type functions handle their own high-DPI screen scaling?
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index fdebd1d50..3bce25fb7 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -364,7 +364,7 @@ public: virtual void font_name(int num, const char *name); // Defaut implementation may be enough virtual void overlay_rect(int x, int y, int w , int h); - virtual float remove_scale(); + virtual float override_scale(); virtual void restore_scale(float); }; @@ -488,7 +488,7 @@ protected: void transformed_vertex(double xf, double yf); virtual void transformed_vertex0(float x, float y); void vertex(double x, double y); - virtual float remove_scale(); + virtual float override_scale(); virtual void restore_scale(float); }; #endif // FL_DOXYGEN |
