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_NXTEXT
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "NX graphics text example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2017-10-15 17:36:55 +02:00
|
|
|
depends on NX
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the NX graphics text example
|
|
|
|
|
|
|
|
if EXAMPLES_NXTEXT
|
2013-05-07 16:55:51 +02:00
|
|
|
|
|
|
|
comment "Basic Configuration of the example"
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_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_NXTEXT_BMCACHE
|
|
|
|
int "Character cache size"
|
|
|
|
default 128
|
|
|
|
---help---
|
|
|
|
Size of the character cache.
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_GLCACHE
|
|
|
|
int "Glyph cache size"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
Size of the glyph cache.
|
|
|
|
|
2017-01-03 19:26:13 +01:00
|
|
|
config EXAMPLES_NXTEXT_LINESPACING
|
|
|
|
int "Line spacing"
|
|
|
|
default 2
|
|
|
|
range 0 4
|
|
|
|
---help---
|
|
|
|
The vertical distance between lines is the sum of (1) the vertical
|
|
|
|
bounding box dimension of the font, and (2) this additional line
|
|
|
|
space. This value may be zero, but not negative.
|
|
|
|
|
2013-05-07 16:55:51 +02:00
|
|
|
comment "Example Color Configuration"
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_DEFAULT_COLORS
|
|
|
|
bool "Use Default Colors"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if !EXAMPLES_NXTEXT_DEFAULT_COLORS
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_BGCOLOR
|
|
|
|
hex "Background color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the background. Default depends on config
|
|
|
|
EXAMPLES_NXTEXT_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_BGFONTCOLOR
|
|
|
|
hex "Background font color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the fonts used in the background window. Default
|
|
|
|
depends on config EXAMPLES_NXTEXT_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_PUCOLOR
|
|
|
|
hex "Pop-up color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the pop-up window. Default depends on config
|
|
|
|
EXAMPLES_NXTEXT_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_PUFONTCOLOR
|
|
|
|
hex "Pop-up font color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the fonts used in the pop-up window. Default
|
|
|
|
depends on config EXAMPLES_NXTEXT_BPP.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # !EXAMPLES_NXTEXT_DEFAULT_COLORS
|
2013-05-07 16:55:51 +02:00
|
|
|
|
|
|
|
comment "Example Font Configuration"
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_DEFAULT_FONT
|
|
|
|
bool "Use Default Font"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if !EXAMPLES_NXTEXT_DEFAULT_FONT
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_BGFONTID
|
2013-06-02 18:33:57 +02:00
|
|
|
int "Background font ID"
|
2013-05-07 16:55:51 +02:00
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Selects the font used in the background window (see font ID numbers
|
|
|
|
in include/nuttx/nx/nxfonts.h)
|
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_PUFONTID
|
2013-06-02 18:33:57 +02:00
|
|
|
int "Pop-up font ID"
|
2013-05-07 16:55:51 +02:00
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Selects the font used in the pop-up window (see font ID numbers
|
|
|
|
in include/nuttx/nx/nxfonts.h)
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # !EXAMPLES_NXTEXT_DEFAULT_FONT
|
2013-05-07 16:55:51 +02:00
|
|
|
|
2017-10-14 19:16:34 +02:00
|
|
|
comment "NX Server Options"
|
2013-05-07 16:55:51 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_STACKSIZE
|
2016-12-01 23:33:45 +01:00
|
|
|
int "Listener Stack Size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2013-05-07 16:55:51 +02:00
|
|
|
---help---
|
2016-12-01 23:33:45 +01:00
|
|
|
The stacksize to use when starting the NX listener. Default 2048
|
2013-05-07 16:55:51 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NXTEXT_LISTENERPRIO
|
|
|
|
int "Listener Priority"
|
|
|
|
default 80
|
|
|
|
---help---
|
|
|
|
The priority of the event listener thread. Default 100.
|
|
|
|
|
2016-12-01 23:56:47 +01:00
|
|
|
config EXAMPLES_NXTEXT_CLIENTPRIO
|
|
|
|
int "Client Priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The client priority. Default: 100
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # EXAMPLES_NXTEXT
|