diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html index be86502abc2..81ead3ed23c 100644 --- a/Documentation/NXGraphicsSubsystem.html +++ b/Documentation/NXGraphicsSubsystem.html @@ -44,7 +44,8 @@ 1.3.2 NX (NXSU and NXMU)
1.3.3 NX Tool Kit (NXTK)
1.3.4 NX Fonts Support (NXFONTS)
- 1.3.5 NX Widgets (NxWidgets) + 1.3.5 NX Widgets (NxWidgets)
+ 1.3.6 NX Console Driver (NxConsole)

@@ -189,7 +190,8 @@ B.3 NX Configuration Settings
B.4 NX Multi-User (Only) Configuration Settings
B.5 NXTK Configuration Settings
- B.6 NXFONTS Configuration Settings + B.6 NXFONTS Configuration Settings
+ B.7 NxConsole Configuration Settings

@@ -401,6 +403,13 @@ NxWidgets is built on top of the core NuttX graphics subsystem, but is not a part of the core graphics subystems.

+

1.3.6 NX Console Driver (NxConsole)

+ +

+ NxConsole is a write-only character device (not shown) that is built on top of an NX window. + This character device can be used to provide stdout and stderr and, hence, can provide the output side of NuttX console. +

+
@@ -3177,13 +3186,16 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
graphics/nxtk
This is where the NXTOOLKIT implementation resides. - This toolkit is built on top of NX and works with either the single-user or - multi-user NX version. + This toolkit is built on top of NX and works with either the single-user or multi-user NX version. See include/nuttx/nx/nxtk.h.
nuttx/../nxwidgets
The NxWidgets code is provided as a separate package located outside of the NuttX source tree (probably at this location). + +
graphics/nxconsole +
The NxConsole driver is built on top of NX and works with either the single-user or multi-user NX version. + See include/nuttx/nx/nxconsole.h. @@ -3247,7 +3259,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
Configures NX in multi-user mode.
CONFIG_NX_BLOCKING
Open the client message queues in blocking mode. In this case, -
nx_eventhandler() will not return until a message is received and processed. + nx_eventhandler() will not return until a message is received and processed.
CONFIG_NX_MXSERVERMSGS and CONFIG_NX_MXCLIENTMSGS
Specifies the maximum number of messages that can fit in the message queues. No additional resources are allocated, but @@ -3337,6 +3349,37 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height, +

B.7 NxConsole Configuration Settings

+ +
    +
    +
    CONFIG_NXCONSOLE_BPP: +
    Currently, NxConsole supports only a single pixel depth. + This configuration setting must be provided to support that single pixel depth. + Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP) +
    CONFIG_NXCONSOLE_NOGETRUN: +
    NxConsole needs to know if it can read from the LCD or not. + If reading from the LCD is supported, then NxConsole can do more efficient scrolling. + Default: Supported +
    CONFIG_NXCONSOLE_MXCHARS: +
    NxConsole needs to remember every character written to the console so that it can redraw the window. + This setting determines the size of some internal memory allocations used to hold the character data. + Default: 128. +
    CONFIG_NXCONSOLE_FONTCACHE: +
    If this setting is defined, then caching of fonts will be supported by NxConsole. + Each font must be rendered from the tiny font storage format to the full display size and pixel depth. + If this setting is defined, then the more recently used font glyphs will be retained in a cache of size CONFIG_NXCONSOLE_CACHESIZE. + Default: No font caching. +
    CONFIG_NXCONSOLE_CACHESIZE: +
    If CONFIG_NXCONSOLE_FONTCACHE, then this setting will control the size of the font cache (in number of glyphs). Default: 16. +
    CONFIG_NXCONSOLE_LINESEPARATION: +
    This the space (in rows) between each row of test. Default: 2 +
    CONFIG_NXCONSOLE_NOWRAP: +
    By default, lines will wrap when the test reaches the right hand side of the window. + This setting can be defining to change this behavior so that the text is simply truncated until a new line is encountered. +
    +
+
@@ -3457,10 +3500,10 @@ genfontsources:

     ifeq ($(CONFIG_NXFONT_SANS23X27),y)
    -NXFSET_CSRCS	+= nxfonts_bitmaps_sans23x27.c
    +NXFSET_CSRCS += nxfonts_bitmaps_sans23x27.c
     endif
     ifeq ($(CONFIG_NXFONT_MYFONT),y)
    -NXFSET_CSRCS	+= nxfonts_bitmaps_myfont.c
    +NXFSET_CSRCS += nxfonts_bitmaps_myfont.c
     endif