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 | |
| 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')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 4 | ||||
| -rw-r--r-- | FL/fl_draw.H | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/FL/fl_draw.H b/FL/fl_draw.H index 58168a0d7..30f5cfe1a 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -688,7 +688,7 @@ FL_EXPORT const char *fl_local_to_mac_roman(const char *t, int n=-1); /** \addtogroup fl_drawings @{ */ -FL_EXPORT float fl_remove_scale(); +FL_EXPORT float fl_override_scale(); FL_EXPORT void fl_restore_scale(float s); |
