diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-02-06 17:22:28 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-02-06 17:22:28 +0100 |
| commit | 65916c106e535b38f13dc3d468de4f4df7898246 (patch) | |
| tree | d43009fc1928e8e65b5137e79b9dfac20d55c4be /FL/Fl_Image.H | |
| parent | 751506a3fb05072c0e53c64b9bc304c34bdfdf73 (diff) | |
Remove Fl_Image::as_rgb_image() virtual member function.
It's not used in the library, so its utility remains to be proven.
Diffstat (limited to 'FL/Fl_Image.H')
| -rw-r--r-- | FL/Fl_Image.H | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 0a590a1af..7111cfc45 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -213,12 +213,6 @@ public: // get RGB image scaling method static Fl_RGB_Scaling RGB_scaling(); - /** Use this method if you have an Fl_Image object and want to know whether it is derived - from class Fl_RGB_Image. - If the method returns non-NULL, then the image in question is - derived from Fl_RGB_Image, and the returned value is a pointer to this image. - */ - virtual Fl_RGB_Image *as_rgb_image() {return NULL;} // set the image drawing size virtual void scale(int width, int height, int proportional = 1, int can_expand = 0); /** Sets what algorithm is used when resizing a source image to draw it. @@ -293,7 +287,6 @@ public: \sa void Fl_RGB_Image::max_size(size_t) */ static size_t max_size() {return max_size_;} - virtual Fl_RGB_Image *as_rgb_image() {return this;} }; #endif // !Fl_Image_H |
