diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-09 10:04:13 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-09 10:04:13 +0100 |
| commit | fc6d36405718e19946ba0b4c96dcbbb39b456eee (patch) | |
| tree | 8dbc17c7e3002b4d6057b7c2c5af93fbbb6c1552 /documentation | |
| parent | c83164fbcc7330ae7e2a8b6d1e5b4d32023109c7 (diff) | |
Change parameters of Fl_Wayland_Window_Driver::delete_cursor()
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/wayland.dox | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 4836f9c1f..56f47c208 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -996,16 +996,16 @@ struct wl_cursor { \endcode Function \c Fl_Wayland_Window_Driver::set_cursor_4args() also creates a <tt>struct wl_cursor</tt> object containing a single \c wl_cursor_image, which is in fact the \c cursor_image. -Finally, a <tt>struct custom_cursor_</tt> (see \ref wld_window) is allocated and used to memorize +Finally, a <tt>struct Fl_Wayland_Window_Driver::custom_cursor</tt> (see \ref wld_window) is allocated and used to memorize the <tt>struct wl_cursor</tt> and the cursor's image and hotspot. -A pointer to this <tt>struct custom_cursor_</tt> object is stored in member \c custom_cursor of the +A pointer to this <tt>struct Fl_Wayland_Window_Driver::custom_cursor</tt> object is stored in member \c custom_cursor of the window's \ref wld_window. Function \c Fl_Wayland_Window_Driver::set_cursor_4args() is also called when a window with a custom cursor is moved between distinct displays or when a display is rescaled to adapt the cursor size to the new display's scale factor. -Member function \c Fl_Wayland_Window_Driver::delete_cursor_() is used to delete any custom cursor +Static member function \c Fl_Wayland_Window_Driver::delete_cursor() is used to delete any custom cursor shape. This occurs when a window associated to a custom cursor is un-mapped and when such a window gets associated to a standard cursor or to a new custom cursor. @@ -1273,7 +1273,7 @@ struct wld_window { struct xdg_popup *xdg_popup; // for POPUP windows struct xdg_toplevel *xdg_toplevel; // for UNFRAMED windows }; - struct custom_cursor_ { + struct Fl_Wayland_Window_Driver::custom_cursor { struct wl_cursor *wl_cursor; const Fl_RGB_Image *rgb; int hotx, hoty; |
