summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-09-09 12:35:06 +0000
committerManolo Gouy <Manolo>2017-09-09 12:35:06 +0000
commit8e558595e653543dcc39ed079aaa9f8d87479fdc (patch)
tree9e407cbd130107e40b4a68f61e6e94cea336f7c3 /src/Fl_Pixmap.cxx
parentae983b74f271c2466804b1a9ab071a4fc8b1b4d0 (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 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}