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 /src/Fl.cxx | |
| parent | dd6b9b90ee57c8020f308435a213a0d6c6c72501 (diff) | |
Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 79956bfd7..7fc7a93e5 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -719,7 +719,7 @@ Fl_Window* Fl::first_window() { \param[in] window must be shown and not NULL */ Fl_Window* Fl::next_window(const Fl_Window* window) { - Fl_X* i = window ? Fl_X::i(window) : 0; + Fl_X* i = window ? Fl_X::flx(window) : 0; if (!i) { Fl::error("Fl::next_window() failed: window (%p) not shown.", window); return 0; @@ -738,7 +738,7 @@ Fl_Window* Fl::next_window(const Fl_Window* window) { */ void Fl::first_window(Fl_Window* window) { if (!window || !window->shown()) return; - Fl_Window_Driver::find( Fl_X::i(window)->xid ); + Fl_Window_Driver::find( Fl_X::flx(window)->xid ); } /** @@ -1616,7 +1616,7 @@ void Fl_Widget::damage(uchar fl) { damage(fl, x(), y(), w(), h()); } else { // damage entire window by deleting the region: - Fl_X* i = Fl_X::i((Fl_Window*)this); + Fl_X* i = Fl_X::flx((Fl_Window*)this); if (!i) return; // window not mapped, so ignore it if (i->region) { fl_graphics_driver->XDestroyRegion(i->region); @@ -1636,7 +1636,7 @@ void Fl_Widget::damage(uchar fl, int X, int Y, int W, int H) { if (!wi) return; fl = FL_DAMAGE_CHILD; } - Fl_X* i = Fl_X::i((Fl_Window*)wi); + Fl_X* i = Fl_X::flx((Fl_Window*)wi); if (!i) return; // window not mapped, so ignore it // clip the damage to the window and quit if none: @@ -2156,7 +2156,7 @@ FL_EXPORT bool fl_disable_wayland = true; #endif // FL_DOXYGEN FL_EXPORT Window fl_xid_(const Fl_Window *w) { - Fl_X *temp = Fl_X::i(w); + Fl_X *temp = Fl_X::flx(w); return temp ? (Window)temp->xid : 0; } /** \addtogroup group_macosx |
