Wayland: more detailed documentation of struct fl_wld_buffer

Also, remove Doxygen warning from file bundled-libs.dox
This commit is contained in:
ManoloFLTK 2023-02-21 15:13:46 +01:00
parent ce45bcae2f
commit 9281893926
2 changed files with 7 additions and 3 deletions

View File

@ -195,7 +195,7 @@ Run `make depend' in the zlib folder on a Linux system after
- pnglibconf.h: Generate on a Linux system and merge (see above).
- pngprefix.h: Generate on a Linux system and merge (see above).
- makedepend: Keep this file.
- png.c: keep a change labelled with /* FLTK
- png.c: Keep a change labelled with "FLTK"
Run `make depend' in the png folder on a Linux system after
the upgrade to update this file.

View File

@ -816,8 +816,12 @@ struct wld_window {
\anchor fl_wld_buffer
<h3>struct fl_wld_buffer</h3>
Defined in \c Fl_Wayland_Graphics_Driver.H. One such record is
created for each shown()'n or resized Fl_Window by \c Fl_Wayland_Graphics_Driver::create_shm_buffer().
Defined in \c Fl_Wayland_Graphics_Driver.H. One such record is created when and by:
- an Fl_Window is show()'n or resized, by \c Fl_Wayland_Graphics_Driver::create_shm_buffer();
- an Fl_Image_Surface object is created, by the \c Fl_Wayland_Image_Surface_Driver c'tor;
- a custom cursor shape is created or text is dragged, by
\c Fl_Wayland_Graphics_Driver::create_shm_buffer().
<pre>
struct fl_wld_buffer {
struct wl_buffer *wl_buffer; // the Wayland buffer