2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NXLINES
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "NX graphics lines example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2017-10-15 17:36:55 +02:00
|
|
|
depends on NX
|
2017-10-15 00:52:20 +02:00
|
|
|
select LIB_BOARDCTL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the X graphics lines example
|
|
|
|
|
|
|
|
if EXAMPLES_NXLINES
|
2012-11-08 00:55:49 +01:00
|
|
|
|
2017-10-15 00:52:20 +02:00
|
|
|
config EXAMPLES_NXLINES_PROGNAME
|
|
|
|
string "NX lines program name"
|
|
|
|
default "nxhello"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
2017-10-15 00:52:20 +02:00
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
program is installed.
|
2012-11-08 00:55:49 +01:00
|
|
|
|
2017-10-15 00:52:20 +02:00
|
|
|
config EXAMPLES_NXLINES_PRIORITY
|
|
|
|
int "NX lines task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_STACKSIZE
|
|
|
|
int "NX lines stack size"
|
|
|
|
default 2048
|
2012-11-08 00:55:49 +01:00
|
|
|
|
2014-03-01 19:32:03 +01:00
|
|
|
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.
|
|
|
|
|
2012-11-08 00:55:49 +01:00
|
|
|
config EXAMPLES_NXLINES_BGCOLOR
|
|
|
|
hex "Background Color"
|
|
|
|
default 0x00
|
2014-03-01 19:32:03 +01:00
|
|
|
depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
|
|
|
The color of the background. Default depends on EXAMPLES_NXLINES_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_LINEWIDTH
|
|
|
|
int "Line Width"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
Selects the width of the lines in pixels (default: 16)
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_LINECOLOR
|
|
|
|
hex "Line Color"
|
|
|
|
default 0x00
|
2014-03-01 19:32:03 +01:00
|
|
|
depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
|
|
|
The color of the central lines drawn in the background window. Default
|
|
|
|
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_BORDERWIDTH
|
|
|
|
int "Border Width"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
The width of the circular border drawn in the background window. (default: 16).
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_BORDERCOLOR
|
|
|
|
hex "Border Color"
|
|
|
|
default 0x00
|
2014-03-01 19:32:03 +01:00
|
|
|
depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
|
|
|
The color of the circular border drawn in the background window. Default
|
|
|
|
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_CIRCLECOLOR
|
|
|
|
hex "Circle Color"
|
|
|
|
default 0x00
|
2014-03-01 19:32:03 +01:00
|
|
|
depends on !EXAMPLES_NXLINES_DEFAULT_COLORS
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
|
|
|
The color of the circular region filled in the background window. Default
|
|
|
|
depends on EXAMPLES_NXLINES_BPP (there really is no meaningful default).
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_BPP
|
|
|
|
int "Bits Per Pixel"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
Pixels per pixel to use. Valid options include 2, 4, 8, 16, 24, and 32.
|
|
|
|
Default is 16.
|
|
|
|
|
2017-10-15 00:52:20 +02:00
|
|
|
comment "NX Server Options"
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_LISTENER_STACKSIZE
|
|
|
|
int "NX Server/Listener Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
The stacksize to use when creating the NX server. Default 2048
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_CLIENTPRIO
|
|
|
|
int "Client Priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The client priority. Default: 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_SERVERPRIO
|
|
|
|
int "Server Priority"
|
|
|
|
default 120
|
|
|
|
---help---
|
|
|
|
The server priority. Default: 120
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_LISTENERPRIO
|
|
|
|
int "Listener Priority"
|
|
|
|
default 80
|
|
|
|
---help---
|
|
|
|
The priority of the event listener thread. Default 80.
|
|
|
|
|
|
|
|
config EXAMPLES_NXLINES_NOTIFYSIGNO
|
|
|
|
int "Notify Signal Number"
|
|
|
|
default 4
|
2012-11-08 00:55:49 +01:00
|
|
|
---help---
|
2017-10-15 00:52:20 +02:00
|
|
|
The signal number to use with nx_eventnotify(). Default: 4
|
2014-03-01 19:32:03 +01:00
|
|
|
|
2015-04-01 00:20:21 +02:00
|
|
|
endif
|