diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-13 21:16:17 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-13 21:16:17 +0100 |
| commit | f3e21ddad24bba301a9749b43645581dee2555fb (patch) | |
| tree | 33c160da2fe5ea5f2735501e3ac45096321c1ea7 /documentation | |
| parent | dd6b9b90ee57c8020f308435a213a0d6c6c72501 (diff) | |
Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/osissues.dox | 9 |
1 files changed, 6 insertions, 3 deletions
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 <tt>Fl_X::i(this)->region</tt>. If +calls done so far is in <tt>Fl_X::flx(this)->region</tt>. 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 |
