diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html index 1cfa3a63c94..056bb595eff 100644 --- a/Documentation/NXGraphicsSubsystem.html +++ b/Documentation/NXGraphicsSubsystem.html @@ -12,7 +12,7 @@

NX Graphics Subsystem

-

Last Updated: March 13, 2019

+

Last Updated: April 11, 2019

@@ -103,7 +103,8 @@ 2.3.4.1 redraw()
2.3.4.2 position()
2.3.4.3 mousein()
- 2.3.4.4 kbdin() + 2.3.4.4 kbdin()
+ 2.3.4.5 event()

2.3.5 nx_runinstance() (and nx_run() macro)
@@ -111,26 +112,28 @@ 2.3.7 nx_disconnect()
2.3.8 nx_eventhandler()
2.3.9 nx_eventnotify()
- 2.3.10 nx_openwindow()
- 2.3.11 nx_closewindow()
- 2.3.12 nx_requestbkgd()
- 2.3.13 nx_releasebkgd()
- 2.3.14 nx_getposition()
- 2.3.15 nx_setposition()
- 2.3.16 nx_setsize()
- 2.3.17 nx_raise()
- 2.3.18 nx_lower()
- 2.3.19 nx_fill()
- 2.3.20 nx_getrectangle()
- 2.3.21 nx_filltrapezoid()
- 2.3.22 nx_drawline()
- 2.3.23 nx_drawcircle()
- 2.3.24 nx_fillcircle()
- 2.3.25 nx_setbgcolor()
- 2.3.26 nx_move()
- 2.3.27 nx_bitmap()
- 2.3.28 nx_kbdin()
- 2.3.29 nx_mousein()
+ 2.3.10 nx_block()
+ 2.3.11 nx_synch()
+ 2.3.12 nx_openwindow()
+ 2.3.13 nx_closewindow()
+ 2.3.14 nx_requestbkgd()
+ 2.3.15 nx_releasebkgd()
+ 2.3.16 nx_getposition()
+ 2.3.17 nx_setposition()
+ 2.3.18 nx_setsize()
+ 2.3.19 nx_raise()
+ 2.3.20 nx_lower()
+ 2.3.21 nx_fill()
+ 2.3.22 nx_getrectangle()
+ 2.3.23 nx_filltrapezoid()
+ 2.3.24 nx_drawline()
+ 2.3.25 nx_drawcircle()
+ 2.3.26 nx_fillcircle()
+ 2.3.27 nx_setbgcolor()
+ 2.3.28 nx_move()
+ 2.3.29 nx_bitmap()
+ 2.3.30 nx_kbdin()
+ 2.3.31 nx_mousein()

@@ -141,31 +144,33 @@

@@ -181,7 +186,17 @@

- 2.6 Sample Code + 2.6 NX Cursor Support (NXCURSOR) +

+

+

+

+

+ 2.7 Sample Code

@@ -1142,6 +1157,44 @@ void (*kbdin)(NXWINDOW hwnd, uint8_t nch, FAR const uint8_t *ch, FAR void *arg); Returned Value: None

+ 2.3.4.5 event() +

2.3.4.5 event()

+

Callback Function Prototype:

+ +

+ Description: + This callback is used to communicate server events to the window listener. +

+
+
NXEVENT_BLOCKED - Window messages are blocked. +
This callback is the response from nx_block(), nxtk_block(). Those blocking interfaces are used to assure that no further messages are directed to the window. Receipt of the blocked callback signifies that (1) there are no further pending callbacks and (2) that the window is now defunct and will receive no further callbacks. + + This callback supports coordinated destruction of a window. In the multi-user mode, the client window logic must stay intact until all of the queued callbacks are processed. Then the window may be safely closed. Closing the window prior with pending callbacks can lead to bad behavior when the callback is executed. +
NXEVENT_SYNCHED - Synchronization handshake +
This completes the handshake started by nx_synch(), or nxtk_synch(). Those interfaces send a synchronization messages to the NX server which responds with this event. The sleeping client is awakened and continues graphics processing, completing the handshake. + + Due to the highly asynchronous nature of client-server communications, synchronization is sometimes necessary to assure that the client and server are working together properly. +
+

+ Input Parameters: +

+

+

+ Returned Value: None +

+ +

2.3.5 nx_runinstance() (and nx_run() macro)

Function Prototype: