diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-17 11:23:24 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-17 11:23:35 +0100 |
| commit | 2931c29689a91375e610a6a8bca28fe2b10b268f (patch) | |
| tree | 852c380b9a6558936a82e9706a393f9d19a7abb4 /FL/Fl_Image.H | |
| parent | 1a1ce3375178e7e5fc738f0515a5b36b79e007e1 (diff) | |
Replace virtual Fl_RGB_Image::cache_size() by virtual Fl_Image::cache_size()
Diffstat (limited to 'FL/Fl_Image.H')
| -rw-r--r-- | FL/Fl_Image.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 9151977f2..4b5419c70 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -75,6 +75,8 @@ private: // Forbid use of copy constructor and assign operator Fl_Image & operator=(const Fl_Image &); Fl_Image(const Fl_Image &); + // Presently redefined in Fl_SVG_Image + virtual void cache_size(int &width, int &height) {} protected: @@ -302,7 +304,6 @@ private: fl_uintptr_t id_; fl_uintptr_t mask_; int cache_w_, cache_h_; // size of image when cached - virtual void cache_size(int &width, int &height) {} public: Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0); |
