mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
55a7dfc9a7
commit
cde88cabcc
@@ -336,7 +336,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable);
|
||||
* Set the cursor image
|
||||
*
|
||||
* The image is provided a a 2-bits-per-pixel image. The two bit incoding
|
||||
* is as followings:
|
||||
* is as following:
|
||||
*
|
||||
* 00 - The transparent background
|
||||
* 01 - Color1: The main color of the cursor
|
||||
@@ -389,7 +389,7 @@ void nxbe_cursor_setposition(FAR struct nxbe_state_s *be,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
* plane - The plane number to use.
|
||||
*
|
||||
@@ -415,7 +415,7 @@ void nxbe_cursor_backupdraw_dev(FAR struct nxbe_state_s *be,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
*
|
||||
* Returned Value:
|
||||
@@ -505,7 +505,7 @@ void nxbe_modal(FAR struct nxbe_window_s *wnd, bool enable);
|
||||
*
|
||||
* Description:
|
||||
* Select if the window is visible or hidden. A hidden window is still
|
||||
* present will will update normally, but will be on the visiable on the
|
||||
* present will will update normally, but will be on the visible on the
|
||||
* display until it is unhidden.
|
||||
*
|
||||
* Input Parameters:
|
||||
@@ -692,7 +692,7 @@ void nxbe_bitmap(FAR struct nxbe_window_s *wnd,
|
||||
* Name: nxbe_flush
|
||||
*
|
||||
* Description:
|
||||
* After per-window frambuffer has been updated, the modified region must
|
||||
* After per-window framebuffer has been updated, the modified region must
|
||||
* be written to device graphics memory. That function is managed by this
|
||||
* simple function. It does the following:
|
||||
*
|
||||
|
||||
@@ -97,7 +97,7 @@ void nxbe_closewindow(FAR struct nxbe_window_s *wnd)
|
||||
NXBE_STATE_CLRMODAL(be);
|
||||
}
|
||||
|
||||
/* A hidden window does not exist in the hiearchy */
|
||||
/* A hidden window does not exist in the hierarchy */
|
||||
|
||||
if (!NXBE_ISHIDDEN(wnd))
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable)
|
||||
be->cursor.visible = true;
|
||||
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -147,7 +147,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable)
|
||||
}
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -284,7 +284,7 @@ errout_with_erase:
|
||||
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -361,7 +361,7 @@ void nxbe_cursor_setposition(FAR struct nxbe_state_s *be,
|
||||
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
|
||||
@@ -157,7 +157,7 @@ void nxbe_cursor_backupdraw(FAR struct nxbe_window_s *wnd,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
*
|
||||
* Returned Value:
|
||||
|
||||
@@ -168,7 +168,7 @@ static inline void nxbe_fill_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
DEBUGASSERT(wnd->be->plane[0].pwfb.fillrectangle != NULL);
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates. We
|
||||
/* The rectangle that we receive here is in absolute device coordinates. We
|
||||
* need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ static inline void nxbe_filltrapezoid_dev(FAR struct nxbe_window_s *wnd,
|
||||
#endif
|
||||
{
|
||||
/* Rend any part of the trapezoid that is not occluded by a window
|
||||
* higher in the hiearchy.
|
||||
* higher in the hierarchy.
|
||||
*/
|
||||
|
||||
info.color = color[i];
|
||||
@@ -201,7 +201,7 @@ static inline void nxbe_filltrapezoid_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
struct nxgl_point_s origin;
|
||||
unsigned int bpp;
|
||||
|
||||
/* Both the rectangle that we receive here are in abolute device
|
||||
/* Both the rectangle that we receive here are in absolute device
|
||||
* coordinates. We need to restore both to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
* Name: nxbe_flush
|
||||
*
|
||||
* Description:
|
||||
* After per-window frambuffer has been updated, the modified region must
|
||||
* After per-window framebuffer has been updated, the modified region must
|
||||
* be written to device graphics memory. That function is managed by this
|
||||
* simple function. It does the following:
|
||||
*
|
||||
@@ -94,7 +94,7 @@ void nxbe_flush(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
if (!NXBE_ISHIDDEN(wnd))
|
||||
{
|
||||
/* Copy the modified per-window frambuffer into device memory. */
|
||||
/* Copy the modified per-window framebuffer into device memory. */
|
||||
|
||||
nxbe_bitmap_dev(wnd, dest, src, origin, stride);
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ static inline void nxbe_getrectangle_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
DEBUGASSERT(pplane != NULL && pplane->pwfb.getrectangle != NULL);
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates.
|
||||
/* The rectangle that we receive here is in absolute device coordinates.
|
||||
* We need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ void nxbe_lower(FAR struct nxbe_window_s *wnd)
|
||||
/* If the window is already at the bottom, then there is nothing to do.
|
||||
* Refuse to lower the background window; Refuse to lower a modal window.
|
||||
* It is impossible to lower a hidden window because it does not exist
|
||||
* in the hiearchy.
|
||||
* in the hierarchy.
|
||||
*/
|
||||
|
||||
if (wnd->below == NULL || wnd->below == &be->bkgd ||
|
||||
|
||||
@@ -336,7 +336,7 @@ static inline void nxbe_move_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
struct nxgl_rect_s destrect;
|
||||
unsigned int bpp;
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates. We
|
||||
/* The rectangle that we receive here is in absolute device coordinates. We
|
||||
* need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ void nxbe_hide_window(FAR struct nxbe_window_s *wnd)
|
||||
*
|
||||
* Description:
|
||||
* Select if the window is visible or hidden. A hidden window is still
|
||||
* present will will update normally, but will be on the visiable on the
|
||||
* present will will update normally, but will be on the visible on the
|
||||
* display until it is unhidden.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
||||
Reference in New Issue
Block a user