summaryrefslogtreecommitdiff
path: root/FL/Fl_Image.H
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
commit06e2bd7f0e295a34c28ddbb4fa7a03644540bb5c (patch)
tree0c0f9fc3cbb5d290e56ce373695de4991c78bf64 /FL/Fl_Image.H
parent75c879e2ff5022a4084b259c53a769d77ae13713 (diff)
parent44b845cc42b9a0326b6aa3438462bcd1b77ddeb4 (diff)
Merge branch 'master' of https://github.com/fltk/fltk
Diffstat (limited to 'FL/Fl_Image.H')
-rw-r--r--FL/Fl_Image.H2
1 files changed, 2 insertions, 0 deletions
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().