summaryrefslogtreecommitdiff
path: root/apps/examples/nxlines/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-01 12:32:03 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-01 12:32:03 -0600
commit5f8eeca182735d198b5e29e93bd3ed523090ac95 (patch)
tree93f2a1775e37611fd8edbdc477308f5f4aed45b6 /apps/examples/nxlines/Kconfig
parenteb68a41ac6216d038e5c3b56d3c39d6516714de8 (diff)
downloadnuttx-5f8eeca182735d198b5e29e93bd3ed523090ac95.tar.gz
nuttx-5f8eeca182735d198b5e29e93bd3ed523090ac95.tar.bz2
nuttx-5f8eeca182735d198b5e29e93bd3ed523090ac95.zip
configs/sim/nsh2 converted to use the kconfig-frontends tools
Diffstat (limited to 'apps/examples/nxlines/Kconfig')
-rw-r--r--apps/examples/nxlines/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/examples/nxlines/Kconfig b/apps/examples/nxlines/Kconfig
index af1286a4f..0b75d6eba 100644
--- a/apps/examples/nxlines/Kconfig
+++ b/apps/examples/nxlines/Kconfig
@@ -23,9 +23,17 @@ config EXAMPLES_NXLINES_DEVNO
---help---
The LCD device to select from the LCD driver for use in the test: Default: 0
+config EXAMPLES_NXLINES_DEFAULT_COLORS
+ bool "Use default colors"
+ default y
+ ---help---
+ Select this option to let the NXLINES example pick the colors. Otherwise,
+ you may select the exact colors to use in hex format.
+
config EXAMPLES_NXLINES_BGCOLOR
hex "Background Color"
default 0x00
+ depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
---help---
The color of the background. Default depends on EXAMPLES_NXLINES_BPP.
@@ -38,6 +46,7 @@ config EXAMPLES_NXLINES_LINEWIDTH
config EXAMPLES_NXLINES_LINECOLOR
hex "Line Color"
default 0x00
+ depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
---help---
The color of the central lines drawn in the background window. Default
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
@@ -51,6 +60,7 @@ config EXAMPLES_NXLINES_BORDERWIDTH
config EXAMPLES_NXLINES_BORDERCOLOR
hex "Border Color"
default 0x00
+ depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
---help---
The color of the circular border drawn in the background window. Default
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
@@ -58,6 +68,7 @@ config EXAMPLES_NXLINES_BORDERCOLOR
config EXAMPLES_NXLINES_CIRCLECOLOR
hex "Circle Color"
default 0x00
+ depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
---help---
The color of the circular region filled in the background window. Default
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
@@ -85,3 +96,4 @@ config EXAMPLES_NXLINES_EXTERNINIT
#endif
endif
+