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 --- src/Fl_Pixmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Pixmap.cxx') diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx index 55658249a..cebbda901 100644 --- a/src/Fl_Pixmap.cxx +++ b/src/Fl_Pixmap.cxx @@ -394,7 +394,7 @@ void Fl_Pixmap::desaturate() { } } -int Fl_Pixmap::draw_scaled_(int X, int Y, int W, int H) { +int Fl_Pixmap::draw_scaled(int X, int Y, int W, int H) { return (W <= w() && H <= h()) ? fl_graphics_driver->draw_scaled(this, X, Y, W, H) : 0; } -- cgit v1.2.3