From 8e558595e653543dcc39ed079aaa9f8d87479fdc Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 9 Sep 2017 12:35:06 +0000 Subject: Make virtual member function Fl_Image::draw_scaled(int X, int Y, int W, int H) protected rather than private. Consequently, remove the trailing _ from its name reserved for private class members. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_SVG_Image.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/Fl_SVG_Image.H') diff --git a/FL/Fl_SVG_Image.H b/FL/Fl_SVG_Image.H index 6467f4d3f..0965b2639 100644 --- a/FL/Fl_SVG_Image.H +++ b/FL/Fl_SVG_Image.H @@ -59,8 +59,9 @@ private: float svg_scaling_(int W, int H); void rasterize_(int W, int H); void init_(const char *filename, char *filedata, Fl_SVG_Image *copy_source); - virtual int draw_scaled_(int X, int Y, int W, int H); Fl_SVG_Image(Fl_SVG_Image *source); +protected: + virtual int draw_scaled(int X, int Y, int W, int H); public: /** Set this to \c false to allow image re-scaling that alters the image aspect ratio. Upon object creation, \c proportional is set to \c true, and the aspect ratio is kept constant.*/ -- cgit v1.2.3