summaryrefslogtreecommitdiff
path: root/FL/Fl_Pixmap.H
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 /FL/Fl_Pixmap.H
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 'FL/Fl_Pixmap.H')
-rw-r--r--FL/Fl_Pixmap.H3
1 files changed, 1 insertions, 2 deletions
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H
index a80b4d27a..d7104863c 100644
--- a/FL/Fl_Pixmap.H
+++ b/FL/Fl_Pixmap.H
@@ -42,11 +42,10 @@ class FL_EXPORT Fl_Pixmap : public Fl_Image {
void set_data(const char * const *p);
int prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
int &X, int &Y, int &W, int &H);
- virtual int draw_scaled_(int X, int Y, int W, int H);
protected:
-
void measure();
+ virtual int draw_scaled(int X, int Y, int W, int H);
public: