diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Bitmap.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Image.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Pixmap.H | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index 7fde10f5b..677af7db4 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -61,6 +61,8 @@ public: void label(Fl_Widget*w) FL_OVERRIDE; void label(Fl_Menu_Item*m) FL_OVERRIDE; void uncache() FL_OVERRIDE; + int cache_w() {return cache_w_;} + int cache_h() {return cache_h_;} }; #endif diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index eb7aef3c6..a8f514f36 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -369,6 +369,8 @@ public: void label(Fl_Widget*w) FL_OVERRIDE; void label(Fl_Menu_Item*m) FL_OVERRIDE; void uncache() FL_OVERRIDE; + int cache_w() {return cache_w_;} + int cache_h() {return cache_h_;} /** Sets the maximum allowed image size in bytes when creating an Fl_RGB_Image object. The image size in bytes of an Fl_RGB_Image object is the value of the product w() * h() * d(). diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H index ddf996fba..0efdb84c7 100644 --- a/FL/Fl_Pixmap.H +++ b/FL/Fl_Pixmap.H @@ -72,6 +72,8 @@ public: void label(Fl_Widget*w) FL_OVERRIDE; void label(Fl_Menu_Item*m) FL_OVERRIDE; void uncache() FL_OVERRIDE; + int cache_w() {return cache_w_;} + int cache_h() {return cache_h_;} }; #endif |
