diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Bitmap.H | 1 | ||||
| -rw-r--r-- | FL/Fl_Image.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Pixmap.H | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index fe457999b..dd3fe392d 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -46,6 +46,7 @@ private: /** for internal use */ fl_uintptr_t id_; float cache_scale_; // graphics scaling value when id_ was computed + virtual int draw_scaled_(int X, int Y, int W, int H); public: diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 3f0ab6fa7..ae626772c 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -69,6 +69,7 @@ private: // Forbid use of copy constructor and assign operator Fl_Image & operator=(const Fl_Image &); Fl_Image(const Fl_Image &); + virtual int draw_scaled_(int X, int Y, int W, int H); protected: @@ -224,6 +225,7 @@ private: fl_uintptr_t id_; fl_uintptr_t mask_; float cache_scale_; // graphics scaling value when id_ was computed + virtual int draw_scaled_(int X, int Y, int W, int H); public: diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H index df6eddb4c..a80b4d27a 100644 --- a/FL/Fl_Pixmap.H +++ b/FL/Fl_Pixmap.H @@ -42,6 +42,7 @@ 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: |
