FLTK logo

[master] cb64a6d - Wayland.dox: reword and add some information

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] cb64a6d - Wayland.dox: reword and add some information "ManoloFLTK" Jan 27, 2023  
 
commit cb64a6d7687df314d14aeb014c2b6556bbb04ee4
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Jan 27 10:28:54 2023 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Jan 27 10:29:04 2023 +0100

    Wayland.dox: reword and add some information

 documentation/src/wayland.dox | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git documentation/src/wayland.dox documentation/src/wayland.dox
index c5158b7..c6d5dbe 100644
--- documentation/src/wayland.dox
+++ documentation/src/wayland.dox
@@ -311,8 +311,9 @@ libdecor library, \c os_create_anonymous_file(), to create an adequate file and
 file.
 
 FLTK associates to each surface a <tt>struct fl_wld_buffer</tt> (see \ref fl_wld_buffer) containing
-a pointer to the byte array of the Cairo image surface (member \c draw_buffer), a pointer to the
-Wayland buffer (member \c wl_buffer), and other information. A pointer to this
+a pointer to the byte array of the Cairo image surface (member \c draw_buffer), information about the
+Wayland buffer (members \c wl_buffer and \c data), the common size of the Cairo surface's and
+Wayland buffer's byte arrays (member \c data_size), and other information. A pointer to this
 <tt>struct fl_wld_buffer</tt> is memorized as member \c buffer of the Fl_Window's \ref wld_window.
 All drawing operations to the Fl_Window then modify the content of the Cairo image surface.
 
@@ -520,10 +521,9 @@ Functions \c text_input_delete_surrounding_text() and \c text_input_done() have
 no effect at present, without this preventing input methods that have been tested with FLTK to work
 satisfactorily.
 
-For text input methods to work as expected, it's necessary to inform them of the current location of the
-insertion point in the active surface because this information allows text input methods to map their
-auxiliary windows next to this point, where they are expected to appear.
-The flow of information on this topic is as follows:
+It's necessary to inform text input methods of the current location of the insertion point in the
+active surface. This information allows them to map their auxiliary windows next to the insertion
+point, where they are expected to appear. The flow of information on this topic is as follows:
 - The two FLTK widgets supporting text input, Fl_Input_ and Fl_Text_Display, transmit to FLTK the window
 coordinates of the bottom of the current insertion point and the line height each time they change
 calling function \c fl_set_spot().
@@ -698,7 +698,7 @@ struct fl_wld_buffer {
   int width;
   unsigned char *draw_buffer; // address of the beginning of the Cairo image surface's byte array
   struct wl_callback *cb; // non-NULL while Wayland buffer is being committed
-  bool draw_buffer_needs_commit; // true when draw_buffer has been modfied but not yet committed
+  bool draw_buffer_needs_commit; // true when draw_buffer has been modified but not yet committed
   cairo_t *cairo_; // used when drawing to the Cairo image surface
 };
 </pre>
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.