From 8e6e74e3d8a9f3ca62793363827378af2dea413d Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 1 Dec 2008 18:53:59 +0000 Subject: Missing prototype for nx_filltrapezoid git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1383 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/nuttx/nx.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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 * -- cgit v1.2.3