summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 18:53:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 18:53:59 +0000
commit8e6e74e3d8a9f3ca62793363827378af2dea413d (patch)
tree3c31ecb42c27d26a9d6bef17a8964b280f8fc56b
parent42bc9ee1a45c3ef20add348046605c417c019987 (diff)
downloadpx4-nuttx-8e6e74e3d8a9f3ca62793363827378af2dea413d.tar.gz
px4-nuttx-8e6e74e3d8a9f3ca62793363827378af2dea413d.tar.bz2
px4-nuttx-8e6e74e3d8a9f3ca62793363827378af2dea413d.zip
Missing prototype for nx_filltrapezoid
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1383 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/include/nuttx/nx.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/nx.h b/nuttx/include/nuttx/nx.h
index 12d13491d..704f21468 100644
--- a/nuttx/include/nuttx/nx.h
+++ b/nuttx/include/nuttx/nx.h
@@ -395,7 +395,7 @@ EXTERN int nx_eventnotify(NXHANDLE handle, int signo);
* Create a new window.
*
* Input Parameters:
- * handle - The handle returned by nx_connect
+ * handle - The handle returned by nx_connect or nx_open
* cb - Callbacks used to process window events
* arg - User provided value that will be returned with NX callbacks.
*
@@ -586,6 +586,26 @@ EXTERN int nx_lower(NXWINDOW hwnd);
EXTERN int nx_fill(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
+
+/****************************************************************************
+ * Name: nx_filltrapezoid
+ *
+ * Description:
+ * Fill the specified trapezoidal region in the window with the specified color
+ *
+ * Input Parameters:
+ * hwnd - The window handle
+ * trap - The trapezoidal region to be filled
+ * color - The color to use in the fill
+ *
+ * Return:
+ * OK on success; ERROR on failure with errno set appropriately
+ *
+ ****************************************************************************/
+
+EXTERN int nx_filltrapezoid(NXWINDOW hwnd, FAR struct nxgl_trapezoid_s *trap,
+ nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
+
/****************************************************************************
* Name: nx_setbgcolor
*