From 458d0636436b5f25e444dc285007dceac296c2ee Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 28 Mar 2018 13:00:12 +0000 Subject: Image classes: memorise the width and the height of the cached form of the image to support GUI scaling git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H') diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H index 7d74b70e1..785c76369 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H @@ -101,6 +101,7 @@ protected: static Window draw_window; static struct _XftDraw* draw_; #endif + Fl_Offscreen cache_rgb(Fl_RGB_Image *img); public: Fl_Xlib_Graphics_Driver(void); virtual ~Fl_Xlib_Graphics_Driver(); -- cgit v1.2.3