mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
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?
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user