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_NX
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "NX graphics example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2017-10-15 17:36:55 +02:00
|
|
|
depends on NX
|
2021-08-01 08:59:37 +02:00
|
|
|
select BOARDCTL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the NX graphics example
|
|
|
|
|
|
|
|
if EXAMPLES_NX
|
2013-01-01 17:34:12 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NX_DEFAULT_COLORS
|
|
|
|
bool "Use Default Colors"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if !EXAMPLES_NX_DEFAULT_COLORS
|
|
|
|
|
|
|
|
config EXAMPLES_NX_BGCOLOR
|
|
|
|
hex "Background Color"
|
|
|
|
---help---
|
|
|
|
The color of the background. Default depends on config EXAMPLES_NX_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_COLOR1
|
|
|
|
hex "Color of Window 1"
|
|
|
|
---help---
|
|
|
|
The color of window 1. Default depends on config EXAMPLES_NX_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_COLOR2
|
|
|
|
hex "Color of Window 2"
|
|
|
|
---help---
|
|
|
|
The color of window 2. Default depends on config EXAMPLES_NX_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_TBCOLOR
|
|
|
|
hex "Toolbar Color"
|
|
|
|
---help---
|
|
|
|
The color of the toolbar. Default depends on config EXAMPLES_NX_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_FONTCOLOR
|
|
|
|
hex "Font Color"
|
|
|
|
---help---
|
|
|
|
The color of the fonts. Default depends on config EXAMPLES_NX_BPP.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config EXAMPLES_NX_DEFAULT_FONT
|
|
|
|
bool "Use Default Font"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config EXAMPLES_NX_FONTID
|
2013-06-02 18:33:57 +02:00
|
|
|
int "Font ID"
|
2013-01-01 17:34:12 +01:00
|
|
|
depends on !EXAMPLES_NX_DEFAULT_FONT
|
|
|
|
---help---
|
|
|
|
Selects the font (see font ID numbers in include/nuttx/nx/nxfonts.h)
|
|
|
|
|
|
|
|
config EXAMPLES_NX_BPP
|
|
|
|
int "Bits-Per-Pixel"
|
|
|
|
default 32
|
|
|
|
---help---
|
|
|
|
Pixels per pixel to use. Valid options include 2, 4, 8, 16, 24,
|
|
|
|
and 32. Default is 32.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_RAWWINDOWS
|
|
|
|
bool "Use Raw Windows"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Use raw windows; Default is to use pretty, framed NXTK windows with
|
|
|
|
toolbars.
|
|
|
|
|
2014-03-02 19:42:23 +01:00
|
|
|
config EXAMPLES_NX_TOOLBAR_HEIGHT
|
|
|
|
int "Tool bar height"
|
|
|
|
default 16
|
|
|
|
depends on !EXAMPLES_NX_RAWWINDOWS
|
|
|
|
---help---
|
|
|
|
The height of the toolbar in the NXTK framed windows
|
|
|
|
|
2017-10-14 18:55:12 +02:00
|
|
|
comment "NX Server Options"
|
2013-01-01 17:34:12 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NX_STACKSIZE
|
|
|
|
int "NX Server Stack Size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2013-01-01 17:34:12 +01:00
|
|
|
---help---
|
|
|
|
The stacksize to use when creating the NX server. Default 2048
|
|
|
|
|
|
|
|
config EXAMPLES_NX_CLIENTPRIO
|
|
|
|
int "Client Priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The client priority. Default: 100
|
|
|
|
|
|
|
|
config EXAMPLES_NX_SERVERPRIO
|
|
|
|
int "Server Priority"
|
|
|
|
default 120
|
|
|
|
---help---
|
|
|
|
The server priority. Default: 120
|
|
|
|
|
|
|
|
config EXAMPLES_NX_LISTENERPRIO
|
|
|
|
int "Listener Priority"
|
|
|
|
default 80
|
|
|
|
---help---
|
|
|
|
The priority of the event listener thread. Default 80.
|
|
|
|
|
|
|
|
config EXAMPLES_NX_NOTIFYSIGNO
|
|
|
|
int "Notify Signal Number"
|
|
|
|
default 4
|
|
|
|
---help---
|
|
|
|
The signal number to use with nx_eventnotify(). Default: 4
|
|
|
|
|
|
|
|
endif
|