Skip to content

Commit

Permalink
Add missing default values for virtual member functions.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Aug 30, 2017
1 parent eae09e7 commit df8c9ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FL/Fl_Shared_Image.H
Expand Up @@ -92,7 +92,7 @@ public:
Fl_Image *copy() { return copy(w(), h()); }
virtual void color_average(Fl_Color c, float i);
virtual void desaturate();
virtual void draw(int X, int Y, int W, int H, int cx, int cy);
virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0);
void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); }
void scale(int width, int height, int proportional = 1, int can_expand = 0);
virtual void uncache();
Expand Down
2 changes: 1 addition & 1 deletion FL/Fl_Tiled_Image.H
Expand Up @@ -46,7 +46,7 @@ class FL_EXPORT Fl_Tiled_Image : public Fl_Image {
Fl_Image *copy() { return copy(w(), h()); }
virtual void color_average(Fl_Color c, float i);
virtual void desaturate();
virtual void draw(int X, int Y, int W, int H, int cx, int cy);
virtual void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0);
void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); }
/** Gets The image that is tiled */
Fl_Image *image() { return image_; }
Expand Down

0 comments on commit df8c9ba

Please sign in to comment.