From cb141d8bb27e1cb74901ada03fb10eb1244d617b Mon Sep 17 00:00:00 2001
From: patacongo
Date: Fri, 5 Dec 2008 14:04:37 +0000
Subject: [PATCH] Clean-up and document NX configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1420 42af7a65-404d-4744-a932-0658087f49c3
---
Documentation/NuttX.html | 2 +-
Documentation/NuttxPortingGuide.html | 60 ++++++++++++++++++++--------
2 files changed, 45 insertions(+), 17 deletions(-)
diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index f73f1008e5..e333675e9a 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -547,7 +547,7 @@
Look at all those files and features... How can it be a tiny OS?.
The NuttX feature list (above) is fairly long and if you look at the NuttX
source tree, you will see that there are hundreds of source files comprising
- NuttX. How can NuttX be a tiny OS will all of that?
+ NuttX. How can NuttX be a tiny OS with all of that?
diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html
index 01ef85086c..e40a8d4e2b 100644
--- a/Documentation/NuttxPortingGuide.html
+++ b/Documentation/NuttxPortingGuide.html
@@ -16,7 +16,7 @@
by
Gregory Nutt
- Last Update: November 28, 2008
+ Last Update: December 5, 2008
Table of Contents
@@ -1857,7 +1857,7 @@ The system can be re-made subsequently by just typing make
.
Graphics related configuration settings
-
-
CONFIG_NXGRAPHICS
+ CONFIG_NX
Enables overall support for graphics library and NX
@@ -1865,35 +1865,63 @@ The system can be re-made subsequently by just typing make
.
NX configuration setting
-
-
CONFIG_NX_MULTIUSER
- Configures NX in multi-user mode
+ CONFIG_NX_MULTIUSER
:
+ Configures NX in multi-user mode.
-
-
CONFIG_NX_NPLANES
+ CONFIG_NX_NPLANES
:
Some YUV color formats requires support for multiple planes,
one for each color component. Unless you have such special
- hardware, this value should be undefined or set to 1
+ hardware, this value should be undefined or set to 1.
-
-
CONFIG_NXGLIB_DISABLE_1BPP
, CONFIG_NXGLIB_DISABLE_2BPP
,
- CONFIG_NXGLIB_DISABLE_4BPP
, CONFIG_NXGLIB_DISABLE_8BPP
- CONFIG_NXGLIB_DISABLE_16BPP
, CONFIG_NXGLIB_DISABLE_24BPP
, and
- CONFIG_NXGLIB_DISABLE_32BPP
+ CONFIG_NX_DISABLE_1BPP
, CONFIG_NX_DISABLE_2BPP
,
+ CONFIG_NX_DISABLE_4BPP
, CONFIG_NX_DISABLE_8BPP
+ CONFIG_NX_DISABLE_16BPP
, CONFIG_NX_DISABLE_24BPP
, and
+ CONFIG_NX_DISABLE_32BPP
:
NX supports a variety of pixel depths. You can save some
memory by disabling support for unused color depths.
-
-
CONFIG_NXGL_PACKEDMSFIRST
+ CONFIG_NX_PACKEDMSFIRST
:
If a pixel depth of less than 8-bits is used, then NX needs
to know if the pixels pack from the MS to LS or from LS to MS
-
-
CONFIG_NX_MOUSE
- Build in support for mouse input
+ CONFIG_NX_MOUSE
:
+ Build in support for mouse input.
-
-
CONFIG_NX_KBD
- Build in support of keypad/keyboard input
+ CONFIG_NX_KBD
:
+ Build in support of keypad/keyboard input.
+
+ -
+
CONFIG_NXTK_BORDERWIDTH
:
+ Specifies with with of the border (in pixels) used with
+ framed windows. The default is 4.
+
+ -
+
CONFIG_NXTK_BORDERCOLOR1
and CONFIG_NXTK_BORDERCOLOR2
:
+ Specify the colors of the border used with framed windows.
+ CONFIG_NXTK_BORDERCOLOR2
is the shadow side color and so
+ is normally darker. The default is medium and dark grey,
+ respectively
+
+ -
+
CONFIG_NXTK_AUTORAISE
:
+ If set, a window will be raised to the top if the mouse position
+ is over a visible portion of the window. Default: A mouse
+ button must be clicked over a visible portion of the window.
+
+ -
+
CONFIG_NXFONTS_CHARBITS
:
+ The number of bits in the character set. Current options are
+ only 7 and 8. The default is 7.
+
+ -
+
CONFIG_NXFONT_SANS
:
+ At present, there is only one font. But if there were were more,
+ then this option would select the sans serif font.
@@ -1902,7 +1930,7 @@ The system can be re-made subsequently by just typing make
.
CONFIG_NX_BLOCKING
Open the client message queues in blocking mode. In this case,
- nx_eventhandler()
will never return.
+ nx_eventhandler()
will not return until a message is received and processed.
CONFIG_NX_MXSERVERMSGS
and CONFIG_NX_MXCLIENTMSGS