summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-02-23 10:21:27 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-02-23 10:21:27 +0100
commit21c0134931ef22d6645fc182d7812776e14e369d (patch)
tree14e41d62f041a000214442be26aefb33eb911c02 /FL
parentf9255e375cb4751404e33837cdddd6f2d31d96b9 (diff)
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.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H2
1 files changed, 1 insertions, 1 deletions
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();
};