Documentation/NXGraphicsSubsystem.html: Add documentatin for new nx[tk]_modal() and nx[tk]_setvisibility() interfaces.

This commit is contained in:
Gregory Nutt 2019-05-08 11:03:06 -06:00
parent 1cce434a6b
commit 04a0a7c8bb
5 changed files with 203 additions and 63 deletions

View File

@ -12,7 +12,7 @@
<h1><big><font color="#3c34ec">
<i>NX Graphics Subsystem</i>
</font></big></h1>
<p>Last Updated: April 11, 2019</p>
<p>Last Updated: May 8, 2019</p>
</td>
</tr>
</table>
@ -123,17 +123,19 @@
<i>2.3.18 <a href="#nxsetsize"><code>nx_setsize()</code></a></i><br>
<i>2.3.19 <a href="#nxraise"><code>nx_raise()</code></a></i><br>
<i>2.3.20 <a href="#nxlower"><code>nx_lower()</code></a></i><br>
<i>2.3.21 <a href="#nxfill"><code>nx_fill()</code></a></i><br>
<i>2.3.22 <a href="#nxgetrectangle"><code>nx_getrectangle()</code></a></i><br>
<i>2.3.23 <a href="#nxfilltrapezoid"><code>nx_filltrapezoid()</code></a></i><br>
<i>2.3.24 <a href="#nxdrawline"><code>nx_drawline()</code></a></i><br>
<i>2.3.25 <a href="#nxdrawcircle"><code>nx_drawcircle()</code></a></i><br>
<i>2.3.26 <a href="#nxfillcircle"><code>nx_fillcircle()</code></a></i><br>
<i>2.3.27 <a href="#nxglrgb2yuv"><code>nx_setbgcolor()</code></a></i><br>
<i>2.3.28 <a href="#nxmove"><code>nx_move()</code></a></i><br>
<i>2.3.29 <a href="#nxbitmap"><code>nx_bitmap()</code></a></i><br>
<i>2.3.30 <a href="#nxkbdin"><code>nx_kbdin()</code></a></i><br>
<i>2.3.31 <a href="#nxmousein"><code>nx_mousein()</code></a></i><br>
<i>2.3.21 <a href="#nxmodal"><code>nx_modal()</code></a></i><br>
<i>2.3.22 <a href="#nxsetvisibility"><code>nx_setvisibility()</code></a></i><br>
<i>2.3.23 <a href="#nxfill"><code>nx_fill()</code></a></i><br>
<i>2.3.24 <a href="#nxgetrectangle"><code>nx_getrectangle()</code></a></i><br>
<i>2.3.25 <a href="#nxfilltrapezoid"><code>nx_filltrapezoid()</code></a></i><br>
<i>2.3.26 <a href="#nxdrawline"><code>nx_drawline()</code></a></i><br>
<i>2.3.27 <a href="#nxdrawcircle"><code>nx_drawcircle()</code></a></i><br>
<i>2.3.28 <a href="#nxfillcircle"><code>nx_fillcircle()</code></a></i><br>
<i>2.3.29 <a href="#nxglrgb2yuv"><code>nx_setbgcolor()</code></a></i><br>
<i>2.3.30 <a href="#nxmove"><code>nx_move()</code></a></i><br>
<i>2.3.31 <a href="#nxbitmap"><code>nx_bitmap()</code></a></i><br>
<i>2.3.32 <a href="#nxkbdin"><code>nx_kbdin()</code></a></i><br>
<i>2.3.33 <a href="#nxmousein"><code>nx_mousein()</code></a></i><br>
</ul>
</p>
</td>
@ -153,24 +155,26 @@
<i>2.4.8 <a href="#nxtksetsize"><code>nxtk_setsize()</code></a></i><br>
<i>2.4.9 <a href="#nxtkraise"><code>nxtk_raise()</code></a></i><br>
<i>2.4.10 <a href="#nxtklower"><code>nxtk_lower()</code></a></i><br>
<i>2.4.11 <a href="#nxtkfillwindow"><code>nxtk_fillwindow()</code></a></i><br>
<i>2.4.12 <a href="#nxtkgetwindow"><code>nxtk_getwindow()</code></a></i><br>
<i>2.4.13 <a href="#nxtkfilltrapwindow"><code>nxtk_filltrapwindow()</code></a></i><br>
<i>2.4.14 <a href="#nxtkdrawlinewindow"><code>nxtk_drawlinewindow()</code></a></i><br>
<i>2.4.15 <a href="#nxtkdrawcirclewindow"><code>nxtk_drawcirclewindow()</code></a></i><br>
<i>2.4.16 <a href="#nxtkfillcirclewindow"><code>nxtk_fillcirclewindow()</code></a></i><br>
<i>2.4.17 <a href="#nxtkmovewindow"><code>nxtk_movewindow()</code></a></i><br>
<i>2.4.18 <a href="#nxtkbitmapwindow"><code>nxtk_bitmapwindow()</code></a></i><br>
<i>2.4.19 <a href="#nxtkopentoolbar"><code>nxtk_opentoolbar()</code></a></i><br>
<i>2.4.20 <a href="#nxtkclosetoolbar"><code>nxtk_closetoolbar()</code></a></i><br>
<i>2.4.21 <a href="#nxtkfilltoolbar"><code>nxtk_filltoolbar()</code></a></i><br>
<i>2.4.22 <a href="#nxtkgettoolbar"><code>nxtk_gettoolbar()</code></a></i><br>
<i>2.4.23 <a href="#nxtkfilltraptoolbar"><code>nxtk_filltraptoolbar()</code></a></i><br>
<i>2.4.24 <a href="#nxtkdrawlinetoolbar"><code>nxtk_drawlinetoolbar()</code></a></i><br>
<i>2.4.25 <a href="#nxtkdrawcircletoolbar"><code>nxtk_drawcircletoolbar()</code></a></i><br>
<i>2.4.26 <a href="#nxtkfillcircletoolbar"><code>nxtk_fillcircletoolbar()</code></a></i><br>
<i>2.4.27 <a href="#nxtkmovetoolbar"><code>nxtk_movetoolbar()</code></a></i><br>
<i>2.4.28 <a href="#nxtkbitmaptoolbar"><code>nxtk_bitmaptoolbar()</code></a></i>
<i>2.4.11 <a href="#nxtkmodal"><code>nxtk_modal()</code></a></i><br>
<i>2.4.12 <a href="#nxtksetvisibility"><code>nxtk_setvisibility()</code></a></i><br>
<i>2.4.13 <a href="#nxtkfillwindow"><code>nxtk_fillwindow()</code></a></i><br>
<i>2.4.14 <a href="#nxtkgetwindow"><code>nxtk_getwindow()</code></a></i><br>
<i>2.4.15 <a href="#nxtkfilltrapwindow"><code>nxtk_filltrapwindow()</code></a></i><br>
<i>2.4.16 <a href="#nxtkdrawlinewindow"><code>nxtk_drawlinewindow()</code></a></i><br>
<i>2.4.17 <a href="#nxtkdrawcirclewindow"><code>nxtk_drawcirclewindow()</code></a></i><br>
<i>2.4.18 <a href="#nxtkfillcirclewindow"><code>nxtk_fillcirclewindow()</code></a></i><br>
<i>2.4.19 <a href="#nxtkmovewindow"><code>nxtk_movewindow()</code></a></i><br>
<i>2.4.20 <a href="#nxtkbitmapwindow"><code>nxtk_bitmapwindow()</code></a></i><br>
<i>2.4.21 <a href="#nxtkopentoolbar"><code>nxtk_opentoolbar()</code></a></i><br>
<i>2.4.22 <a href="#nxtkclosetoolbar"><code>nxtk_closetoolbar()</code></a></i><br>
<i>2.4.23 <a href="#nxtkfilltoolbar"><code>nxtk_filltoolbar()</code></a></i><br>
<i>2.4.24 <a href="#nxtkgettoolbar"><code>nxtk_gettoolbar()</code></a></i><br>
<i>2.4.25 <a href="#nxtkfilltraptoolbar"><code>nxtk_filltraptoolbar()</code></a></i><br>
<i>2.4.26 <a href="#nxtkdrawlinetoolbar"><code>nxtk_drawlinetoolbar()</code></a></i><br>
<i>2.4.27 <a href="#nxtkdrawcircletoolbar"><code>nxtk_drawcircletoolbar()</code></a></i><br>
<i>2.4.28 <a href="#nxtkfillcircletoolbar"><code>nxtk_fillcircletoolbar()</code></a></i><br>
<i>2.4.29 <a href="#nxtkmovetoolbar"><code>nxtk_movetoolbar()</code></a></i><br>
<i>2.4.30 <a href="#nxtkbitmaptoolbar"><code>nxtk_bitmaptoolbar()</code></a></i>
</ul>
</p>
<p>
@ -1592,6 +1596,8 @@ int nx_requestbkgd(NXHANDLE handle,
<a href="#nxsetsize"><code>nx_setsize()</code></a>,
<a href="#nxraise"><code>nx_raise()</code></a>, or
<a href="#nxlower"><code>nx_lower()</code></a>.
<a href="#nxmodal"><code>nx_modal()</code></a>.
<a href="#nxsetvisibility"><code>nx_setvisibility()</code></a>.
</li>
<li>
Neither <code>nx_requestbkgd()</code> nor
@ -1788,7 +1794,64 @@ int nx_lower(NXWINDOW hwnd);
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.21 <a name="nxfill"><code>nx_fill()</code></a></h3>
<h3>2.3.21 <a name="nxmodal"><code>nx_modal()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
#include &lt;nuttx/nx/nx.h&gt;
int nx_modal(NXWINDOW hwnd, bool modal);
</pre></ul>
<p>
<b>Description:</b> May be used to either (1) raise a window to the top of the display and select modal behavior, or (2) disable modal behavior.
</p>
<p>
<b>Input Parameters:</b>
<ul><dl>
<dt><code>hwnd</code>
<dd>The handle returned by <a href="#nxopenwindow"><code>nx_openwindow()</code></a>.
This handle must not have been created by
<a href="#nxrequestbkgd"><code>nx_requestbkgd()</code></a>.
<dt><code>modal</code>
<dd>True: enter modal state; False: leave modal state
</dl></ul>
</p>
<p>
<b>Returned Value:</b>
<code>OK</code> on success;
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.22 <a name="nxsetvisibility"><code>nx_setvisibility()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
#include &lt;nuttx/nx/nx.h&gt;
int nx_setvisibility(NXWINDOW hwnd, bool hide);
</pre></ul>
<p>
<b>Description:</b> Select if the window is visible or hidden.
A hidden window is still present and will update normally, but will not be visible on the display until it is unhidden.
</p>
<p>
<b>Input Parameters:</b>
<ul><dl>
<dt><code>hwnd</code>
<dd>The handle returned by <a href="#nxopenwindow"><code>nx_openwindow()</code></a>.
This handle must not have been created by
<a href="#nxrequestbkgd"><code>nx_requestbkgd()</code></a>.
<dt><code>hide</code>
<dd>True: Window will be hidden; false: Window will be visible
</dl></ul>
</p>
<p>
<b>Returned Value:</b>
<code>OK</code> on success;
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.23 <a name="nxfill"><code>nx_fill()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -1819,7 +1882,7 @@ int nx_fill(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.22 <a name="nxgetrectangle"><code>nx_getrectangle()</code></a></h3>
<h3>2.3.24 <a name="nxgetrectangle"><code>nx_getrectangle()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -1859,7 +1922,7 @@ void nx_getrectangle(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.23 <a name="nxfilltrapezoid"><code>nx_filltrapezoid()</code></a></h3>
<h3>2.3.25 <a name="nxfilltrapezoid"><code>nx_filltrapezoid()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -1893,7 +1956,7 @@ int nx_filltrapezoid(NXWINDOW hwnd, FAR const struct nxgl_rect_s *clip,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.24 <a name="nxdrawline"><code>nx_drawline()</code></a></h3>
<h3>2.3.26 <a name="nxdrawline"><code>nx_drawline()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -1941,7 +2004,7 @@ int nx_drawline(NXWINDOW hwnd, FAR struct nxgl_vector_s *vector,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.25 <a name="nxdrawcircle"><code>nx_drawcircle()</code></a></h3>
<h3>2.3.27 <a name="nxdrawcircle"><code>nx_drawcircle()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -1977,7 +2040,7 @@ int nx_drawcircle(NXWINDOW hwnd, FAR const struct nxgl_point_s *center,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.26 <a name="nxfillcircle"><code>nx_fillcircle()</code></a></h3>
<h3>2.3.28 <a name="nxfillcircle"><code>nx_fillcircle()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2010,7 +2073,7 @@ int nx_fillcircle(NXWINDOW hwnd, FAR const struct nxgl_point_s *center,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.27 <a name="nxglrgb2yuv"><code>nx_setbgcolor()</code></a></h3>
<h3>2.3.29 <a name="nxglrgb2yuv"><code>nx_setbgcolor()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2038,7 +2101,7 @@ int nx_setbgcolor(NXHANDLE handle,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.28 <a name="nxmove"><code>nx_move()</code></a></h3>
<h3>2.3.30 <a name="nxmove"><code>nx_move()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2069,7 +2132,7 @@ int nx_move(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.29 <a name="nxbitmap"><code>nx_bitmap()</code></a></h3>
<h3>2.3.31 <a name="nxbitmap"><code>nx_bitmap()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2111,7 +2174,7 @@ int nx_bitmap(NXWINDOW hwnd, FAR const struct nxgl_rect_s *dest,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.30 <a name="nxkbdin"><code>nx_kbdin()</code></a></h3>
<h3>2.3.32 <a name="nxkbdin"><code>nx_kbdin()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2134,7 +2197,7 @@ int nx_kbdin(NXHANDLE handle, uint8_t nch, FAR const uint8_t *ch);
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.3.31 <a name="nxmousein"><code>nx_mousein()</code></a></h3>
<h3>2.3.33 <a name="nxmousein"><code>nx_mousein()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2520,7 +2583,62 @@ int nxtk_lower(NXTKWINDOW hfwnd);
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.11 <a name="nxtkfillwindow"><code>nxtk_fillwindow()</code></a></h3>
<h3>2.4.11 <a name="nxtkmodal"><code>nxtk_modal()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
#include &lt;nuttx/nx/nx.h&gt;
#include &lt;nuttx/nx/nxtk.h&gt;
int nxtk_modal(NXWINDOW hwnd, bool modal);
</pre></ul>
<p>
<b>Description:</b> May be used to either (1) raise a window to the top of the display and select modal behavior, or (2) disable modal behavior.
</p>
<p>
<b>Input Parameters:</b>
<ul><dl>
<dt><code>hwnd</code>
<dd>The handle returned by <a href="#nxtkopenwindow"><code>nxtk_openwindow()</code></a> specifying the window to be modified.
<dt><code>modal</code>
<dd>True: enter modal state; False: leave modal state
</dl></ul>
</p>
<p>
<b>Returned Value:</b>
<code>OK</code> on success;
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.12 <a name="nxtksetvisibility"><code>nxtk_setvisibility()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
#include &lt;nuttx/nx/nx.h&gt;
#include &lt;nuttx/nx/nxtk.h&gt;
int nxtk_setvisibility(NXWINDOW hwnd, bool hide);
</pre></ul>
<p>
<b>Description:</b> Select if the window is visible or hidden.
A hidden window is still present and will update normally, but will not be visible on the display until it is unhidden.
</p>
<p>
<b>Input Parameters:</b>
<ul><dl>
<dt><code>hwnd</code>
<dd>The handle returned by <a href="#nxtkopenwindow"><code>nxtk_openwindow()</code></a> specifying the window to be modified.
<dt><code>hide</code>
<dd>True: Window will be hidden; false: Window will be visible
</dl></ul>
</p>
<p>
<b>Returned Value:</b>
<code>OK</code> on success;
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.13 <a name="nxtkfillwindow"><code>nxtk_fillwindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2552,7 +2670,7 @@ int nxtk_fillwindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.12 <a name="nxtkgetwindow"><code>nxtk_getwindow()</code></a></h3>
<h3>2.4.14 <a name="nxtkgetwindow"><code>nxtk_getwindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2592,7 +2710,7 @@ void nxtk_getwindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.13 <a name="nxtkfilltrapwindow"><code>nxtk_filltrapwindow()</code></a></h3>
<h3>2.4.15 <a name="nxtkfilltrapwindow"><code>nxtk_filltrapwindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2625,7 +2743,7 @@ int nxtk_filltrapwindow(NXTKWINDOW hfwnd,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.14 <a name="nxtkdrawlinewindow"><code>nxtk_drawlinewindow()</code></a></h3>
<h3>2.4.16 <a name="nxtkdrawlinewindow"><code>nxtk_drawlinewindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2674,7 +2792,7 @@ int nxtk_drawlinewindow(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.15 <a name="nxtkdrawcirclewindow"><code>nxtk_drawcirclewindow()</code></a></h3>
<h3>2.4.17 <a name="nxtkdrawcirclewindow"><code>nxtk_drawcirclewindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2710,7 +2828,7 @@ int nxtk_drawcirclewindow(NXTKWINDOW hfwnd, FAR const struct nxgl_point_s *cente
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.16 <a name="nxtkfillcirclewindow"><code>nxtk_fillcirclewindow()</code></a></h3>
<h3>2.4.18 <a name="nxtkfillcirclewindow"><code>nxtk_fillcirclewindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2743,7 +2861,7 @@ int nxtk_fillcirclewindow(NXWINDOW hfwnd, FAR const struct nxgl_point_s *center,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.17 <a name="nxtkmovewindow"><code>nxtk_movewindow()</code></a></h3>
<h3>2.4.19 <a name="nxtkmovewindow"><code>nxtk_movewindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2776,7 +2894,7 @@ int nxtk_movewindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.18 <a name="nxtkbitmapwindow"><code>nxtk_bitmapwindow()</code></a></h3>
<h3>2.4.20 <a name="nxtkbitmapwindow"><code>nxtk_bitmapwindow()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2821,7 +2939,7 @@ int nxtk_bitmapwindow(NXTKWINDOW hfwnd,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.19 <a name="nxtkopentoolbar"><code>nxtk_opentoolbar()</code></a></h3>
<h3>2.4.21 <a name="nxtkopentoolbar"><code>nxtk_opentoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2856,7 +2974,7 @@ int nxtk_opentoolbar(NXTKWINDOW hfwnd, nxgl_coord_t height,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.20 <a name="nxtkclosetoolbar"><code>nxtk_closetoolbar()</code></a></h3>
<h3>2.4.22 <a name="nxtkclosetoolbar"><code>nxtk_closetoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2885,7 +3003,7 @@ int nxtk_closetoolbar(NXTKWINDOW hfwnd);
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.21 <a name="nxtkfilltoolbar"><code>nxtk_filltoolbar()</code></a></h3>
<h3>2.4.23 <a name="nxtkfilltoolbar"><code>nxtk_filltoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2917,7 +3035,7 @@ int nxtk_filltoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.22 <a name="nxtkgettoolbar"><code>nxtk_gettoolbar()</code></a></h3>
<h3>2.4.24 <a name="nxtkgettoolbar"><code>nxtk_gettoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2958,7 +3076,7 @@ int nxtk_gettoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.23 <a name="nxtkfilltraptoolbar"><code>nxtk_filltraptoolbar()</code></a></h3>
<h3>2.4.25 <a name="nxtkfilltraptoolbar"><code>nxtk_filltraptoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -2990,7 +3108,7 @@ int nxtk_filltraptoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_trapezoid_s *tr
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.24 <a name="nxtkdrawlinetoolbar"><code>nxtk_drawlinetoolbar()</code></a></h3>
<h3>2.4.26 <a name="nxtkdrawlinetoolbar"><code>nxtk_drawlinetoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -3039,7 +3157,7 @@ int nxtk_drawlinetoolbar(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.25 <a name="nxtkdrawcircletoolbar"><code>nxtk_drawcircletoolbar()</code></a></h3>
<h3>2.4.27 <a name="nxtkdrawcircletoolbar"><code>nxtk_drawcircletoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -3075,7 +3193,7 @@ int nxtk_drawcircletoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_point_s *cent
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.26 <a name="nxtkfillcircletoolbar"><code>nxtk_fillcircletoolbar()</code></a></h3>
<h3>2.4.28 <a name="nxtkfillcircletoolbar"><code>nxtk_fillcircletoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -3108,7 +3226,7 @@ int nxtk_fillcircletoolbar(NXWINDOW hfwnd, FAR const struct nxgl_point_s *center
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.27 <a name="nxtkmovetoolbar"><code>nxtk_movetoolbar()</code></a></h3>
<h3>2.4.29 <a name="nxtkmovetoolbar"><code>nxtk_movetoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -3142,7 +3260,7 @@ int nxtk_movetoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
<code>ERROR</code> on failure with <code>errno</code> set appropriately
</p>
<h3>2.4.28 <a name="nxtkbitmaptoolbar"><code>nxtk_bitmaptoolbar()</code></a></h3>
<h3>2.4.30 <a name="nxtkbitmaptoolbar"><code>nxtk_bitmaptoolbar()</code></a></h3>
<p><b>Function Prototype:</b></p>
<ul><pre>
#include &lt;nuttx/nx/nxglib.h&gt;
@ -4353,6 +4471,18 @@ sudo ln -s libXext.so.6.4.0 libXext.so
<code>&lt;NuttX-Directory&gt;/.config</code> file</td>
<td align="center" bgcolor="skyblue">YES</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxmodal"><code>nx_modal()</code></a></td>
<td>&nbsp;</td>
<td align="center" bgcolor="lightgrey">NO</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxlower"><code>nx_setvisibility()</code></a></td>
<td>Exercized using Twm4Nx</td>
<td align="center" bgcolor="skyblue">YES, Informally</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxfill"><code>nx_fill()</code></a></td>
<td>Change to <code>CONFIG_EXAMPLES_NX_RAWWINDOWS=y</code> in the
@ -4464,6 +4594,16 @@ sudo ln -s libXext.so.6.4.0 libXext.so
<td><br></td>
<td align="center" bgcolor="skyblue">YES</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxtkmodal"><code>nxtk_modal()</code></a></td>
<td><br></td>
<td align="center" bgcolor="lightgrey">NO</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxtklower"><code>nxtk_setvisibility()</code></a></td>
<td>Exercized using Twm4Nx</td>
<td align="center" bgcolor="skyblue">YES, informally</td>
</tr>
<tr>
<td align="left" valign="top"><a href="#nxtkfillwindow"><code>nxtk_fillwindow()</code></a></td>
<td><br></td>

View File

@ -686,7 +686,7 @@ int nx_modal(NXWINDOW hwnd, bool modal);
*
* 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 and will update normally, but will not be visible on the
* display until it is unhidden.
*
* Input Parameters:

View File

@ -354,7 +354,7 @@ int nxtk_modal(NXTKWINDOW hfwnd, bool modal);
*
* 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 and will update normally, but will not be on visible on the
* display until it is unhidden.
*
* Input Parameters:

View File

@ -55,7 +55,7 @@
*
* 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 and will update normally, but will not be visible on the
* display until it is unhidden.
*
* Input Parameters:

View File

@ -57,7 +57,7 @@
*
* 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 and will update normally, but will not be visible on the
* display until it is unhidden.
*
* Input Parameters: