From f3e21ddad24bba301a9749b43645581dee2555fb Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 13 Jan 2023 21:16:17 +0100 Subject: Fix for "Rename Fl_X* Fl_Window::i private class member" (#223) --- documentation/src/osissues.dox | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'documentation/src') diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 557a5f2e3..cc5875f96 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -331,7 +331,7 @@ in here. \par The X region that is a combination of all \c damage() -calls done so far is in Fl_X::i(this)->region. If +calls done so far is in Fl_X::flx(this)->region. If \c NULL then you should redraw the entire window. The undocumented function \c fl_clip_region(XRegion) will initialize the FLTK clip stack with a region or \c NULL @@ -348,13 +348,16 @@ undamaged image (such as a backing buffer) around. Here is a sample where an undamaged image is kept somewhere: \code void MyWindow::flush() { - fl_clip_region(Fl_X::i(this)->region); - Fl_X::i(this)->region = 0; + fl_clip_region(Fl_X::flx(this)->region); + Fl_X::flx(this)->region = 0; if (damage() != 2) {... draw things into backing store ...} ... copy backing store to window ... } \endcode +\note For compatibility with FLTK versions before 1.4, member function +\c Fl_X::flx(Fl_Window*) can also be written \c Fl_X::i(Fl_Window*). + virtual void Fl_Window::hide() \par -- cgit v1.2.3