From 21c0134931ef22d6645fc182d7812776e14e369d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 23 Feb 2019 10:21:27 +0100 Subject: New member function const Fl_Image* Fl_Window::shape() replaces int Fl_Window::is_shaped() The new function allows to get the window's shaping image and delete it after use, if appropriate. --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H index 509326727..eabca3522 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H @@ -87,6 +87,7 @@ public: // --- window data virtual int decorated_w(); virtual int decorated_h(); + virtual const Fl_Image* shape(); // --- window management virtual Fl_X *makeWindow(); -- cgit v1.2.3