Cosmetic spacing fixes.
This commit is contained in:
parent
56b5b9f7ad
commit
76781e16e0
3 changed files with 18 additions and 18 deletions
|
|
@ -49,18 +49,18 @@
|
|||
****************************************************************************/
|
||||
|
||||
static int nxterm_fill(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxterm_move(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
#endif
|
||||
static int nxterm_bitmap(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *dest,
|
||||
FAR const void *src[CONFIG_NX_NPLANES],
|
||||
FAR const struct nxgl_point_s *origin,
|
||||
unsigned int stride);
|
||||
FAR const struct nxgl_rect_s *dest,
|
||||
FAR const void *src[CONFIG_NX_NPLANES],
|
||||
FAR const struct nxgl_point_s *origin,
|
||||
unsigned int stride);
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
|
@ -96,8 +96,8 @@ static const struct nxterm_operations_s g_nxops =
|
|||
****************************************************************************/
|
||||
|
||||
static int nxterm_fill(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES])
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES])
|
||||
{
|
||||
return nx_fill((NXWINDOW)priv->handle, rect, wcolor);
|
||||
}
|
||||
|
|
@ -121,8 +121,8 @@ static int nxterm_fill(FAR struct nxterm_state_s *priv,
|
|||
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxterm_move(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset)
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset)
|
||||
{
|
||||
return nx_move((NXWINDOW)priv->handle, rect, offset);
|
||||
}
|
||||
|
|
@ -152,10 +152,10 @@ static int nxterm_move(FAR struct nxterm_state_s *priv,
|
|||
****************************************************************************/
|
||||
|
||||
static int nxterm_bitmap(FAR struct nxterm_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *dest,
|
||||
FAR const void *src[CONFIG_NX_NPLANES],
|
||||
FAR const struct nxgl_point_s *origin,
|
||||
unsigned int stride)
|
||||
FAR const struct nxgl_rect_s *dest,
|
||||
FAR const void *src[CONFIG_NX_NPLANES],
|
||||
FAR const struct nxgl_point_s *origin,
|
||||
unsigned int stride)
|
||||
{
|
||||
return nx_bitmap((NXWINDOW)priv->handle, dest, src, origin, stride);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* nuttx/graphics/nxterm/nxterm_driver.c
|
||||
*
|
||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2012, 2019 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* nuttx/graphics/nxterm/nxterm_unregister.c
|
||||
*
|
||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2012, 2019 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue