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. --- FL/Fl_Window.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 9ffe218e8..eacea6f94 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -542,7 +542,7 @@ public: void shape(const Fl_Image* img); void shape(const Fl_Image& b) ; - int is_shaped(); + const Fl_Image *shape(); int screen_num(); }; -- cgit v1.2.3