From 4bf9172a8e4f76842a2e011671cf5c057e8fe1d1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 23 Apr 2023 10:03:02 +0200 Subject: Replace internal fl_create_offscreen() calls by new Fl_Image_Surface --- src/Fl_Window_Driver.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Fl_Window_Driver.H') diff --git a/src/Fl_Window_Driver.H b/src/Fl_Window_Driver.H index bcee052d5..a4240cdcf 100644 --- a/src/Fl_Window_Driver.H +++ b/src/Fl_Window_Driver.H @@ -37,6 +37,7 @@ class Fl_X; class Fl_Image; class Fl_RGB_Image; +class Fl_Image_Surface; /** \brief A base class for platform specific window handling code. @@ -64,7 +65,7 @@ public: static fl_uintptr_t xid(const Fl_Window *win); static Fl_Window *find(fl_uintptr_t xid); int wait_for_expose_value; - Fl_Offscreen other_xid; // offscreen bitmap (overlay and double-buffered windows) + Fl_Image_Surface *other_xid; // offscreen bitmap (overlay and double-buffered windows) int screen_num(); void screen_num(int n) { screen_num_ = n; } -- cgit v1.2.3