diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-07-14 18:00:34 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-07-14 18:00:34 +0200 |
| commit | f8d0b591ab388d5ed9fb2956989b4d8c51f41fed (patch) | |
| tree | c557c089d3a9ad2c355435e74926ef630e3185d1 | |
| parent | 4d3e1032ea7c56bf8bfdd925cf0aac88ab9c6b45 (diff) | |
Documentation: correct spelling errors
| -rw-r--r-- | FL/Fl_Window.H | 4 | ||||
| -rw-r--r-- | documentation/src/wayland.dox | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index d72ca02f8..1d1ab3b49 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -164,10 +164,10 @@ public: Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n) can be used to discover the coordinates of the area of screen #n. When these screens have various scale factor - values, an \p (x, y) pair may not be enough to specify the targetted screen + values, an \p (x, y) pair may not be enough to specify the targeted screen for the window, because the same \p (x,y) pair can belong to several screens. In that situation, a call to Fl_Window::screen_num(int) is to be used to identify - unambiguously the targetted screen. + unambiguously the targeted screen. \see Fl_Window(int w, int h, const char *title) \see Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n) diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 5aa881252..e1a921f70 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -62,7 +62,7 @@ and often named 'link'. Access to such a list is possible memorizing a value of <tt>struct wl_list</tt> computed by macro \c wl_list_init(). Macro <tt>wl_list_for_each(arg1, arg2, arg3)</tt> allows to run through all list elements with: - \c arg1 is a pointer variable of the type of elements of the linked list; -- \c arg2 is the address of a variable of type <tt>struct wl_list</tt> identifying the targetted list; +- \c arg2 is the address of a variable of type <tt>struct wl_list</tt> identifying the targeted list; - \c arg3 is the name of the member variable of these elements used to link them together. For example, \c wl_list_for_each() can be used as follows to scan the linked list @@ -387,7 +387,7 @@ in the system displays. Nevertheless, for multi-display systems, Wayland allows on what display should the compositor map a fullscreen window. That is done inside function \c handle_configure() which calls \c libdecor_frame_set_fullscreen() for DECORATED windows and inside function \c xdg_toplevel_configure() which calls \c xdg_toplevel_set_fullscreen() -for UNFRAMED. The <tt>struct wl_output</tt> pointer for the targetted display is transmitted +for UNFRAMED. The <tt>struct wl_output</tt> pointer for the targeted display is transmitted as 2nd argument of these calls. \section menu-windows Menu windows and other popups @@ -1065,7 +1065,7 @@ EGL needs 2 more objects created for each \c Fl_Gl_Window. They have types function \c Fl_Wayland_Gl_Window_Driver::make_current_before() which runs at the beginning of \c Fl_Gl_Window::make_current(). The first argument of the call to \c wl_egl_window_create() therein has type -<tt>struct wl_surface *</tt> and is what connects EGL with the targetted Wayland window. +<tt>struct wl_surface *</tt> and is what connects EGL with the targeted Wayland window. EGL creates with \c eglCreateContext() an object of type \c EGLContext via member function \c Fl_Wayland_Gl_Window_Driver::create_gl_context() called by |
