summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-05-08 17:08:20 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-05-08 17:08:33 +0200
commit7f7e0e4ea1cdf52e0d5f2858baa976bd391e973a (patch)
tree928cb1348d7736b6d59e01664878d78bf5ba20b5 /src/Fl_Window.cxx
parentccb06e18b7416328bc2c91e8b3ac5f0f4533f3ab (diff)
Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale()
so it can be called by any user code.
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index fb77cf01d..db44d0450 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -689,6 +689,9 @@ void Fl_Window::shape(const Fl_Image& img) {pWindowDriver->shape(&img);}
/** Returns the image controlling the window shape or NULL */
const Fl_Image* Fl_Window::shape() {return pWindowDriver->shape();}
+/** Returns true when a window is being rescaled */
+bool Fl_Window::is_a_rescale() {return Fl_Window_Driver::is_a_rescale_;}
+
//
// End of "$Id$".
//