From 7f7e0e4ea1cdf52e0d5f2858baa976bd391e973a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 8 May 2020 17:08:20 +0200 Subject: Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() so it can be called by any user code. --- src/Fl_Window.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Fl_Window.cxx') 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$". // -- cgit v1.2.3