diff options
| author | Manolo Gouy <Manolo> | 2017-09-09 12:35:06 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-09-09 12:35:06 +0000 |
| commit | 8e558595e653543dcc39ed079aaa9f8d87479fdc (patch) | |
| tree | 9e407cbd130107e40b4a68f61e6e94cea336f7c3 /FL/Fl_SVG_Image.H | |
| parent | ae983b74f271c2466804b1a9ab071a4fc8b1b4d0 (diff) | |
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
Diffstat (limited to 'FL/Fl_SVG_Image.H')
| -rw-r--r-- | FL/Fl_SVG_Image.H | 3 |
1 files changed, 2 insertions, 1 deletions
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.*/ |
