2012-09-26 00:04:51 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
2012-09-28 21:24:46 +02:00
|
|
|
config NXWIDGETS
|
2012-09-26 00:04:51 +02:00
|
|
|
bool "Enable NxWidgets"
|
|
|
|
default n
|
|
|
|
depends on NX && HAVE_CXX
|
|
|
|
---help---
|
|
|
|
Enable support for NxWidgets
|
|
|
|
|
|
|
|
if NXWIDGETS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
menu "NX Server/Device Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWIDGETS_FLICKERFREE
|
|
|
|
bool "Enable Flicker Reduction Logic"
|
|
|
|
default y if NX_LCDDRIVER
|
|
|
|
default n if !NX_LCDDRIVER
|
|
|
|
---help---
|
|
|
|
Because of their performance an in the manner in which they are
|
|
|
|
updated, LCDs may be prone to "flicker" in the displays when Widgets
|
|
|
|
are updated. Often more complex (and slower) options are availble
|
|
|
|
to reduce the flicker. Enabling this option will enabled those
|
|
|
|
lower-performance flicker-reductions measures where-ever thay may
|
|
|
|
be available.
|
|
|
|
|
2013-12-29 16:46:57 +01:00
|
|
|
config NXWIDGETS_EXTERNINIT
|
|
|
|
bool "External display Initialization"
|
2013-12-29 18:11:48 +01:00
|
|
|
default n
|
2013-12-29 16:46:57 +01:00
|
|
|
---help---
|
|
|
|
Define to support external display initialization.
|
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_DEVNO
|
|
|
|
int "LCD Device Number"
|
|
|
|
default 0
|
2013-12-29 16:46:57 +01:00
|
|
|
depends on NXWIDGETS_EXTERNINIT || NX_LCDDRIVER
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
LCD device number (in case there are more than one LCDs connected).
|
|
|
|
Default: 0
|
|
|
|
|
|
|
|
config NXWIDGETS_VPLANE
|
|
|
|
int "Plane Number"
|
|
|
|
default 0
|
2013-12-29 18:11:48 +01:00
|
|
|
depends on !NX_LCDDRIVER && !NXWIDGETS_EXTERNINIT
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Only a single video plane is supported. Default: 0
|
|
|
|
|
2013-12-29 16:46:57 +01:00
|
|
|
if NX_MULTIUSER
|
|
|
|
|
|
|
|
config NXWIDGET_SERVERINIT
|
|
|
|
bool "Start server"
|
|
|
|
default y
|
2014-08-29 22:47:22 +02:00
|
|
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
2013-12-29 16:46:57 +01:00
|
|
|
---help---
|
|
|
|
If this option is selected, then the NxWidgets::CNxServer class will
|
|
|
|
bring up the NX server when it is initialized. If this option is
|
|
|
|
not selected then the NxWidgets::CNxServer constructor
|
|
|
|
initialization logic will assume that the NX server has been started
|
|
|
|
by other, external logic and will simply attempt to connect to the
|
|
|
|
server.
|
|
|
|
|
|
|
|
if NXWIDGET_SERVERINIT
|
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_SERVERPRIO
|
|
|
|
int "NX Server priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 110
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Priority of the NX server. This applies only if NX is configured in
|
2013-05-12 22:31:41 +02:00
|
|
|
multi-user mode (NX_MULTIUSER=y). Default: 110.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
NOTE: Of the three priority definitions here, NXWIDGETS_SERVERPRIO
|
|
|
|
should have the highest priority to avoid data overrun race conditions.
|
|
|
|
Such errors would most likely appear as duplicated rows of data on the
|
|
|
|
display.
|
|
|
|
|
|
|
|
config NXWIDGETS_SERVERSTACK
|
|
|
|
int "NX Server Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
NX server thread stack size (in multi-user mode). Default 2048
|
|
|
|
|
2013-12-29 16:46:57 +01:00
|
|
|
endif # NXWIDGET_SERVERINIT
|
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_CLIENTPRIO
|
|
|
|
int "NX Client Priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 100
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
The thread that calls CNxServer::connect() will be re-prioritized to
|
|
|
|
this priority. This applies only if NX is configured in multi-user
|
2013-05-12 22:31:41 +02:00
|
|
|
mode (NX_MULTIUSER=y). Default: 100
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGETS_LISTENERPRIO
|
|
|
|
int "NX Listener Priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 100
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Priority of the NX event listener thread. This applies only if NX
|
2013-05-12 22:31:41 +02:00
|
|
|
is configured in multi-user mode (NX_MULTIUSER=y). Default: 100
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGETS_LISTENERSTACK
|
|
|
|
int "NX Listener Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
NX listener thread stack size (in multi-user mode). Default 2048
|
|
|
|
|
2013-12-29 16:46:57 +01:00
|
|
|
endif # NX_MULTIUSER
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGET_EVENTWAIT
|
|
|
|
bool "Event Waiting"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Build in support for external window event, modal loop management
|
|
|
|
logic. This includes methods to wait for windows events to occur
|
|
|
|
so that looping logic can sleep until something interesting happens
|
|
|
|
with the window.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endmenu # NX Server/Device Configuration
|
|
|
|
|
|
|
|
menu "NXWidget Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGETS_BPP
|
|
|
|
int "BPP"
|
|
|
|
---help---
|
|
|
|
Supported bits-per-pixel {8, 16, 24, 32}. Default: The smallest
|
|
|
|
BPP configuration supported by NX.
|
|
|
|
|
|
|
|
config NXWIDGETS_SIZEOFCHAR
|
|
|
|
int "Size of a character (1 or 2 bytes)"
|
|
|
|
range 1 2
|
|
|
|
---help---
|
|
|
|
Size of character {1 or 2 bytes}. Default Determined by
|
|
|
|
NXWIDGETS_SIZEOFCHAR
|
|
|
|
|
|
|
|
comment "NXWidget Default Values"
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWIDGETS_SYSTEM_CUSTOM_FONTID
|
|
|
|
bool "Use a Custom Default Font"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the system default font id (NXFONT_DEFAULT).
|
|
|
|
|
|
|
|
if NXWIDGETS_SYSTEM_CUSTOM_FONTID
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_DEFAULT_FONTID
|
|
|
|
int "Default Font ID"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
Use this default NxWidgets font ID instead of the system font ID
|
|
|
|
(NXFONT_DEFAULT). Default: 0
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWIDGETS_SYSTEM_CUSTOM_FONTID
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGETS_TNXARRAY_INITIALSIZE
|
|
|
|
int "Initial Size of Dynamic Arrays"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
Default dynamic array size (in entries). Default: 16
|
|
|
|
|
|
|
|
config NXWIDGETS_TNXARRAY_SIZEINCREMENT
|
|
|
|
int "Dyanamic Array Reallocation Size Increment"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
Default dynamic array realloctino increment (in entries). Default: 8
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWIDGETS_CUSTOM_FILLCOLORS
|
|
|
|
bool "Custom Default Fill Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the widget background. If defined,
|
|
|
|
the hexadecimal values for all filled colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n
|
|
|
|
|
|
|
|
if NXWIDGETS_CUSTOM_FILLCOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_DEFAULT_BACKGROUNDCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Normal Background Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Normal background color. Default: RGB(148,189,215)
|
|
|
|
|
|
|
|
config NXWIDGETS_DEFAULT_SELECTEDBACKGROUNDCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Selected Background Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Default selected background color. Default: RGB(206,227,241)
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWIDGETS_DEFAULT_HIGHLIGHTCOLOR
|
|
|
|
hex "Default Highlight Color"
|
|
|
|
---help---
|
|
|
|
Highlight color. Currently this color is only used in clist
|
|
|
|
boxes, progress bars, and slider grips. Default: RGB(192,192,192)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWIDGETS_CUSTOM_FILLCOLORS
|
2012-12-21 21:09:32 +01:00
|
|
|
|
|
|
|
config NXWIDGETS_CUSTOM_EDGECOLORS
|
|
|
|
bool "Custom Default Edge Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the widget edges. If defined,
|
|
|
|
then hexadecimal values for all edge colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n.
|
|
|
|
|
|
|
|
if NXWIDGETS_CUSTOM_EDGECOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_DEFAULT_SHINEEDGECOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Shiny Edge Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Shiny side boarder color. Default: RGB(248,248,248)
|
|
|
|
|
|
|
|
config NXWIDGETS_DEFAULT_SHADOWEDGECOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Shadow Edge Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Shadowed side border color. Default: RGB(35,58,73)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWIDGETS_CUSTOM_EDGECOLORS
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWIDGETS_CUSTOM_TEXTCOLORS
|
|
|
|
bool "Custom Default Text colors"
|
|
|
|
default n
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
Select custom colors for the widget text. If defined, then
|
|
|
|
hexadecimal values for all text colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
if NXWIDGETS_CUSTOM_TEXTCOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWIDGETS_DEFAULT_DISABLEDTEXTCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Disabled Text Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Text color on a disabled widget: Default: RGB(192,192,192)
|
|
|
|
|
|
|
|
config NXWIDGETS_DEFAULT_ENABLEDTEXTCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Enabled Text Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Text color on a enabled widget. Default: RGB(248,248,248)
|
|
|
|
|
|
|
|
config NXWIDGETS_DEFAULT_SELECTEDTEXTCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Selected Text Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Text color on a selected widget. Default: RGB(0,0,0)
|
|
|
|
|
|
|
|
config NXWIDGETS_DEFAULT_FONTCOLOR
|
2012-12-21 21:09:32 +01:00
|
|
|
hex "Default Default Font Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Default font color. Default: RGB(255,255,255)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWIDGETS_CUSTOM_TEXTCOLORS
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWIDGETS_TRANSPARENT_COLOR
|
|
|
|
hex "Transparent Color"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0x0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Transparent color. Default: RGB(0,0,0)
|
|
|
|
|
|
|
|
comment "Keypad behavior"
|
|
|
|
|
|
|
|
config NXWIDGETS_FIRST_REPEAT_TIME
|
|
|
|
int "First Repeat Time"
|
|
|
|
default 500
|
|
|
|
---help---
|
|
|
|
Time taken before a key starts repeating (in milliseconds). Default: 500
|
|
|
|
|
|
|
|
config NXWIDGETS_CONTINUE_REPEAT_TIME
|
|
|
|
int "Continue Repeat Time"
|
|
|
|
default 200
|
|
|
|
---help---
|
|
|
|
Time taken before a repeating key repeats again (in milliseconds).
|
|
|
|
Default: 200
|
|
|
|
|
|
|
|
config NXWIDGETS_DOUBLECLICK_TIME
|
|
|
|
int "Double Click Time"
|
|
|
|
default 350
|
|
|
|
---help---
|
|
|
|
Left button release-press time for double click (in milliseconds).
|
|
|
|
Default: 350
|
|
|
|
|
|
|
|
config NXWIDGETS_KBDBUFFER_SIZE
|
2014-07-10 22:00:56 +02:00
|
|
|
int "Keyboard Buffer Size"
|
2012-09-26 00:04:51 +02:00
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
Size of incoming character buffer, i.e., the maximum number of
|
|
|
|
characters that can be entered between NX polling cycles without
|
|
|
|
losing data.
|
|
|
|
|
|
|
|
config NXWIDGETS_CURSORCONTROL_SIZE
|
|
|
|
int "Cursor Control Buffer Size"
|
|
|
|
default 4
|
|
|
|
---help---
|
|
|
|
Size of incoming cursor control buffer, i.e., the maximum number
|
|
|
|
of cursor controls that can between entered by NX polling cycles
|
|
|
|
without losing data. Default: 4
|
|
|
|
|
2012-09-28 21:24:46 +02:00
|
|
|
config NXWIDGET_MEMMONITOR
|
|
|
|
bool "Memory Usage Monitor"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable memory usage monitor instrumentation. This feature is only
|
|
|
|
used by the NxWidget/NxWM unit tests.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endmenu # NXWidget Configuration
|
|
|
|
endif # NxWidgets
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-09-28 21:24:46 +02:00
|
|
|
config NXWM
|
2012-09-26 00:04:51 +02:00
|
|
|
bool "Enable NxWM"
|
|
|
|
default n
|
|
|
|
depends on NXWIDGETS && NX_MULTIUSER
|
|
|
|
---help---
|
|
|
|
Enable support for the NuttX Tiny Window Manager (NxWM)
|
|
|
|
|
|
|
|
if NXWM
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
menu "NxWM General Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2014-07-13 23:58:12 +02:00
|
|
|
config NXWM_LARGE_ICONS
|
|
|
|
bool "Use large icons"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The default icons are nominally 25x25 pixels for a small
|
|
|
|
resolution/display, this is a good selection. For example, a
|
|
|
|
320x240 display that is 4.5cm x 3.375 would have a resolution of
|
|
|
|
about 71 dots per cm. In this case, the icon would be 0.35cm.
|
|
|
|
|
|
|
|
If you use a larger display, these smaller icons may seem
|
|
|
|
inappropriately small. In this case, you have two options: (1)
|
|
|
|
Enable image scaling which will make the icons "fuzzy" looking, or
|
|
|
|
(2) select this option to enable use of larger icons.
|
|
|
|
|
|
|
|
config NXWM_CUSTOM_FONTID
|
2012-12-21 21:09:32 +01:00
|
|
|
bool "Use Custom Default Font"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the system default font id (NXFONT_DEFAULT).
|
|
|
|
|
2014-07-13 23:58:12 +02:00
|
|
|
if NXWM_CUSTOM_FONTID
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_DEFAULT_FONTID
|
|
|
|
int "Font ID"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
Use this NxWM default font ID instead of the system font ID
|
|
|
|
(NXFONT_DEFAULT). Default: 0
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-07-13 23:58:12 +02:00
|
|
|
endif # NXWM_CUSTOM_FONTID
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_UNITTEST
|
|
|
|
bool "NxWM Unit Test"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable Hooks for the NxWM Unit Test
|
|
|
|
|
|
|
|
comment "Color configuration"
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_FILLCOLORS
|
|
|
|
bool "Custom Default Fill Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the widget background. If defined,
|
|
|
|
the hexadecimal values for all filled colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n
|
|
|
|
|
|
|
|
if NXWM_CUSTOM_FILLCOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_DEFAULT_BACKGROUNDCOLOR
|
|
|
|
hex "Background Color"
|
|
|
|
---help---
|
|
|
|
Normal background color. Default: RGB(148,189,215)
|
|
|
|
|
|
|
|
config NXWM_DEFAULT_SELECTEDBACKGROUNDCOLOR
|
|
|
|
hex "Normal Background Color"
|
|
|
|
---help---
|
|
|
|
Select background color. Default: RGB(206,227,241)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_DEFAULT_BACKGROUNDCOLOR
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_EDGECOLORS
|
|
|
|
bool "Custom Default Edge Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the widget edges. If defined,
|
|
|
|
then hexadecimal values for all edge colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n.
|
|
|
|
|
|
|
|
if NXWM_CUSTOM_EDGECOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_DEFAULT_SHINEEDGECOLOR
|
|
|
|
hex "Shiny Edge Color"
|
|
|
|
---help---
|
|
|
|
Color of the bright edge of a border. Default: RGB(255,255,255)
|
|
|
|
|
|
|
|
config NXWM_DEFAULT_SHADOWEDGECOLOR
|
|
|
|
hex "Shadow Edge Color"
|
|
|
|
---help---
|
|
|
|
Color of the shadowed edge of a border. Default: RGB(0,0,0)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CUSTOM_EDGECOLORS
|
2012-12-21 21:09:32 +01:00
|
|
|
|
|
|
|
config NXWM_CUSTOM_TEXTCOLORS
|
|
|
|
bool "Custom Default Text colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom colors for the widget text. If defined, then
|
|
|
|
hexadecimal values for all text colors must be provided
|
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
if NXWM_CUSTOM_TEXTCOLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_DEFAULT_FONTCOLOR
|
|
|
|
hex "Default Font Color"
|
|
|
|
---help---
|
|
|
|
Default fong color. Default: RGB(0,0,0)
|
|
|
|
|
|
|
|
config NXWM_TRANSPARENT_COLOR
|
|
|
|
hex "Transparent Color"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0x0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
The "transparent" color. Default: RGB(0,0,0)
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_CUSTOM_TEXTCOLORS
|
|
|
|
|
|
|
|
comment "Background Image"
|
|
|
|
|
|
|
|
config NXWM_DISABLE_BACKGROUND_IMAGE
|
|
|
|
bool "Disable Background Image"
|
|
|
|
default n if !NXWM_DISABLE_MINIMIZE
|
|
|
|
default y if NXWM_DISABLE_MINIMIZE
|
|
|
|
---help---
|
|
|
|
Disable support for the "Desktop" background image.
|
|
|
|
|
|
|
|
config NXWM_BACKGROUND_IMAGE
|
|
|
|
string "Background Image"
|
|
|
|
default "NXWidgets::g_nuttxBitmap160x160"
|
|
|
|
depends on !NXWM_DISABLE_BACKGROUND_IMAGE
|
|
|
|
---help---
|
|
|
|
The name of the image to use in the background window. Default:
|
|
|
|
"NXWidgets::g_nuttxBitmap160x160"
|
|
|
|
|
|
|
|
endmenu # NxWM General Configuration
|
|
|
|
|
|
|
|
menu "NxWM Taskbar Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
comment "Horizontal and vertical spacing of icons in the task bar"
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_VSPACING
|
|
|
|
int "Vertical Spacing"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Vertical spacing. Default: 2 pixels
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_HSPACING
|
|
|
|
int "Horizontal Spacing"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Horizontal spacing. Default: 2 rows
|
|
|
|
|
|
|
|
choice NXWM_TASKBAR_LOCATION
|
|
|
|
prompt "Taskbar Location"
|
|
|
|
default NXWM_TASKBAR_TOP
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_TOP
|
|
|
|
bool "Top"
|
|
|
|
---help---
|
|
|
|
Task bar is at the top of the display
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_BOTTOM
|
|
|
|
bool "Bottom"
|
|
|
|
---help---
|
|
|
|
Task bar is at the bottom of the display
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_LEFT
|
|
|
|
bool "Left"
|
|
|
|
---help---
|
|
|
|
Task bar is on the left side of the display
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_RIGHT
|
|
|
|
bool "Right"
|
|
|
|
---help---
|
|
|
|
Task bar is on the right side of the display
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_TASKBAR_WIDTH
|
|
|
|
bool "Use Custom Taskbar width"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the default taskbar thickness (either vertical or
|
|
|
|
horizontal). The default depends on the selected horizontal or
|
|
|
|
vertical spacing. Default: 25 + 2*spacing
|
|
|
|
|
|
|
|
if NXWM_CUSTOM_TASKBAR_WIDTH
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_TASKBAR_WIDTH
|
|
|
|
int "Taskbar Width"
|
2014-07-14 19:23:20 +02:00
|
|
|
default 29 if !NXWM_LARGE_ICONS
|
|
|
|
default 54 if !NXWM_LARGE_ICONS
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
Task bar thickness (either vertical or horizontal). Default: 25 + 2*2
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CUSTOM_TASKBAR_WIDTH
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-10-15 22:29:06 +02:00
|
|
|
config NXWM_TASKBAR_ICONSCALE
|
|
|
|
bool "Scale Icons"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable scaling of icons in the task bar
|
|
|
|
|
|
|
|
if NXWM_TASKBAR_ICONSCALE
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_ICONWIDTH
|
|
|
|
int "Icon Width (pixels)"
|
|
|
|
default 50
|
|
|
|
---help---
|
|
|
|
Scaled width of each taskbar ICON in pixels.
|
|
|
|
|
|
|
|
config NXWM_TASKBAR_ICONHEIGHT
|
|
|
|
int "Icon Height (rows)"
|
|
|
|
default 42
|
|
|
|
---help---
|
|
|
|
Scaled height of each taskbar ICON in pixels.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_TASKBAR_ICONSCALE
|
2013-10-15 22:29:06 +02:00
|
|
|
|
2012-11-09 15:54:29 +01:00
|
|
|
config NXWM_DISABLE_MINIMIZE
|
|
|
|
bool "Disable Minimize Button"
|
|
|
|
default n
|
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
If the "desktop" is empty, users have no need to minimize any
|
|
|
|
windows. If the buttons are small, it's easy to hit minimize
|
|
|
|
button accidentally when trying to close an application.
|
2012-11-09 15:54:29 +01:00
|
|
|
|
2013-04-22 16:01:43 +02:00
|
|
|
config NXWM_TASKBAR_NO_BORDER
|
|
|
|
bool "Suppress Taskbar border"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Suppress drawing a the border around the taskbar.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endmenu # NxWM Taskbar Configuration
|
|
|
|
|
|
|
|
menu "NxWM Toolbar Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_TOOLBAR_HEIGHT
|
|
|
|
bool "Use Custom Toolbar Height"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the default tooldar height The default depends on
|
|
|
|
the selected horizontal or vertical spacing. Default: 21 + 2*spacing
|
2014-07-14 19:23:20 +02:00
|
|
|
or 42 + 2*spacing if large icons are selected
|
2012-12-21 21:09:32 +01:00
|
|
|
|
|
|
|
if NXWM_CUSTOM_TOOLBAR_HEIGHT
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_TOOLBAR_HEIGHT
|
|
|
|
int "Toolbar Height"
|
2014-07-14 19:23:20 +02:00
|
|
|
default 25 if !NXWM_LARGE_ICONS
|
|
|
|
default 46 if NXWM_LARGE_ICONS
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
The height of the tool bar in each application window. At present,
|
|
|
|
all icons are 21 pixels in height and, hence, require a task bar of
|
2014-07-14 19:23:20 +02:00
|
|
|
at least that size. Default: 21 + 2*2or 42 + 2*spacing if large
|
|
|
|
icons are selected
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_CUSTOM_TOOLBAR_HEIGHT
|
2014-07-14 19:23:20 +02:00
|
|
|
|
|
|
|
config NXWM_TOOLBAR_CUSTOM_FONTID
|
|
|
|
bool "Use Custom Toolbar Font"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the NxWM default font id (NXWM_DEFAULT_FONTID).
|
|
|
|
|
|
|
|
if NXWM_TOOLBAR_CUSTOM_FONTID
|
|
|
|
|
|
|
|
config NXWM_TOOLBAR_FONTID
|
|
|
|
int "Toolbar Font ID"
|
|
|
|
default 0
|
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Use this default font ID in the NxTerm window instead of the
|
2014-07-14 19:23:20 +02:00
|
|
|
NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0 (maybe invalid)
|
|
|
|
|
|
|
|
endif # NXWM_TOOLBAR_CUSTOM_FONTID
|
2013-10-17 20:07:14 +02:00
|
|
|
endmenu # NxWM Toolbar Configuration
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
menu "NxWM Application Window Configuration"
|
2013-05-12 00:15:51 +02:00
|
|
|
|
2013-02-28 19:48:11 +01:00
|
|
|
config NXWM_CUSTOM_APPWINDOW_ICONS
|
|
|
|
bool "Custom Start/Stop Application Window Icons"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to override the default Application Window Stop and Minimize Icons.
|
|
|
|
|
|
|
|
if NXWM_CUSTOM_APPWINDOW_ICONS
|
|
|
|
|
|
|
|
config NXWM_STOP_BITMAP
|
|
|
|
string "Stop Icon"
|
|
|
|
default "NxWM::g_stopBitmap"
|
|
|
|
---help---
|
|
|
|
The glyph to use as the Stop icon. Default: NxWM::g_stopBitmap
|
|
|
|
|
|
|
|
config NXWM_MINIMIZE_BITMAP
|
|
|
|
string "Minimize Icon"
|
|
|
|
default "NxWM::g_minimizeBitmap"
|
|
|
|
---help---
|
|
|
|
The glyph to use as the Minimize icon. Default: NxWM::g_minimizeBitmap
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_CUSTOM_APPWINDOW_ICONS
|
|
|
|
endmenu # NxWM Application Window Configuration
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
menu "NxWM Start Window Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
comment "Horizontal and vertical spacing of icons in the task bar"
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_VSPACING
|
|
|
|
int "Vertical Spacing"
|
|
|
|
default 4
|
|
|
|
---help---
|
|
|
|
Vertical spacing. Default: 4 pixels
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_HSPACING
|
|
|
|
int "Horizontal Spacing"
|
|
|
|
default 4
|
|
|
|
---help---
|
|
|
|
Horizontal spacing. Default: 4 rows
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_STARTWINDOW_ICON
|
|
|
|
bool "Custom Start Window Icon"
|
|
|
|
default n
|
|
|
|
---help---
|
2014-07-25 19:32:23 +02:00
|
|
|
Select to override the default Start Window Icon: NxWM::g_playBitmap
|
2012-12-21 21:09:32 +01:00
|
|
|
|
|
|
|
if NXWM_CUSTOM_STARTWINDOW_ICON
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_STARTWINDOW_ICON
|
|
|
|
string "StartWindow Icon"
|
2014-07-25 19:32:23 +02:00
|
|
|
default "NxWM::g_playBitmap"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-07-25 19:32:23 +02:00
|
|
|
The glyph to use as the start window icon. Default: NxWM::g_playBitmap
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CUSTOM_STARTWINDOW_ICON
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_MQNAME
|
|
|
|
string "Message Queue Name"
|
|
|
|
default "/dev/nxwm"
|
|
|
|
---help---
|
|
|
|
The well known name of the message queue. Used to communicated from
|
|
|
|
CWindowMessenger to the start window thread. Default: "/dev/nxwm"
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_MXMSGS
|
|
|
|
int "Max Messages"
|
|
|
|
default 32
|
|
|
|
---help---
|
|
|
|
The maximum number of messages to queue before blocking. Defualt 32
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_MXMPRIO
|
|
|
|
int "Message Priority"
|
|
|
|
default 42
|
|
|
|
---help---
|
|
|
|
The message priority. Default: 42.
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_PRIO
|
|
|
|
int "StartWindow Task Priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 100
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2013-05-12 22:31:41 +02:00
|
|
|
Priority of the StartWindow task. Default: 100.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
NOTE: This priority should be less than NXWIDGETS_SERVERPRIO or else
|
|
|
|
there may be data overrun errors. Such errors would most likely appear
|
|
|
|
as duplicated rows of data on the display.
|
|
|
|
|
|
|
|
config NXWM_STARTWINDOW_STACKSIZE
|
|
|
|
int "StartWindow Task Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
The stack size to use when starting the StartWindow task. Default:
|
|
|
|
2048 bytes.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endmenu # Start Window Configuration
|
|
|
|
|
2014-09-20 22:51:48 +02:00
|
|
|
menu "NxTerm Window Settings"
|
2014-07-16 19:11:55 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM
|
2014-09-20 22:51:48 +02:00
|
|
|
bool "NxTerm Window"
|
2013-12-30 17:04:34 +01:00
|
|
|
default y
|
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Enable support for the NxTerm window which provides a text window
|
2013-12-30 17:04:34 +01:00
|
|
|
in which you can interact with NSH.
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
if NXWM_NXTERM
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_PRIO
|
2014-09-20 22:51:48 +02:00
|
|
|
int "NxTerm Task Priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 100
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Priority of the NxTerm task. Default: 100.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
NOTE: This priority should be less than NXWIDGETS_SERVERPRIO or
|
|
|
|
else there may be data overrun errors. Such errors would most likely
|
|
|
|
appear as duplicated rows of data on the display.
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_STACKSIZE
|
2014-09-20 22:51:48 +02:00
|
|
|
int "NxTerm Task Stack Size"
|
2012-09-26 00:04:51 +02:00
|
|
|
default 2048
|
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
The stack size to use when starting the NxTerm task. Default:
|
2012-09-26 00:04:51 +02:00
|
|
|
2048 bytes.
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_CUSTOM_COLORS
|
2014-09-20 22:51:48 +02:00
|
|
|
bool "Custom NxTerm Colors"
|
2012-12-21 21:09:32 +01:00
|
|
|
default n
|
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Select custom default colors for the NxTerm window. If defined,
|
|
|
|
the hexadecimal values for all NxTerm colors must be provided
|
2012-12-21 21:09:32 +01:00
|
|
|
(there are no default colors because the hexadecimal representation
|
|
|
|
of the default colors depend on the pixel depth). Default: n
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
if NXWM_NXTERM_CUSTOM_COLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_WCOLOR
|
2014-09-20 22:51:48 +02:00
|
|
|
hex "NxTerm Background Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
The color of the NxTerm window background. Default:
|
2012-09-26 00:04:51 +02:00
|
|
|
RGB(192,192,192)
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_FONTCOLOR
|
2014-09-20 22:51:48 +02:00
|
|
|
hex "NxTerm Font Color"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
The color of the fonts to use in the NxTerm window.
|
2012-09-26 00:04:51 +02:00
|
|
|
Default: RGB(0,0,0)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
endif # NXWM_NXTERM_CUSTOM_COLORS
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_CUSTOM_FONTID
|
2012-12-21 21:09:32 +01:00
|
|
|
bool "Use Custom Default Font"
|
|
|
|
default n
|
|
|
|
---help---
|
2014-07-14 19:23:20 +02:00
|
|
|
Set to override the NxWM default font id (NXWM_DEFAULT_FONTID).
|
2012-12-21 21:09:32 +01:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
if NXWM_NXTERM_CUSTOM_FONTID
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_FONTID
|
2014-09-20 22:51:48 +02:00
|
|
|
int "NxTerm Font ID"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Use this default font ID in the NxTerm window instead of the
|
2012-12-21 21:09:32 +01:00
|
|
|
NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
endif # NXWM_NXTERM_CUSTOM_FONTID
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_CUSTOM_NXTERM_ICON
|
2014-09-20 22:51:48 +02:00
|
|
|
bool "Custom NxTerm Icon"
|
2012-12-21 21:09:32 +01:00
|
|
|
default n
|
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
Select to override the default NxTerm Window Icon: NxWM::g_cmdBitmap
|
2012-12-21 21:09:32 +01:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
if NXWM_CUSTOM_NXTERM_ICON
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
config NXWM_NXTERM_ICON
|
2014-09-20 22:51:48 +02:00
|
|
|
string "NxTerm Icon"
|
2012-12-21 21:09:32 +01:00
|
|
|
default "NxWM::g_cmdBitmap"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-09-20 22:51:48 +02:00
|
|
|
The glyph to use as the NxTerm icon. Default: NxWM::g_cmdBitmap
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
endif # NXWM_NXTERM_ICON
|
|
|
|
endif # NXWM_NXTERM
|
2014-09-20 22:51:48 +02:00
|
|
|
endmenu # NxTerm Window Settings
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
menu "NxWM Touchscreen Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_TOUCHSCREEN
|
|
|
|
bool "Touchscreen Support"
|
|
|
|
default y if INPUT
|
|
|
|
default n if !INPUT
|
|
|
|
---help---
|
|
|
|
Define to build in touchscreen support.
|
|
|
|
|
|
|
|
if NXWM_TOUCHSCREEN
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
comment "Touchscreen Device Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-12-30 19:39:23 +01:00
|
|
|
config NXWM_TOUCHSCREEN_DEVINIT
|
|
|
|
bool "Touchscreen Device Initialization"
|
|
|
|
default y
|
2014-08-29 22:47:22 +02:00
|
|
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
2013-12-30 19:39:23 +01:00
|
|
|
---help---
|
|
|
|
It this option is selected, then the NxWM:CTouchscreen listener
|
|
|
|
thread will call a function arch_tcinitialize(NXWM_TOUCHSCREEN_DEVNO)
|
|
|
|
in order to instantiate the touchscreen driver at path
|
|
|
|
NXWM_TOUCHSCREEN_DEVPATH. If NXWM_TOUCHSCREEN_DEVINIT is not
|
|
|
|
selected, then the NxWM:CTouchscreen listener thread will assume
|
|
|
|
that the driver has already been initialized at
|
|
|
|
NXWM_TOUCHSCREEN_DEVPATH.
|
|
|
|
|
|
|
|
NOTE that in the kernel build, all touchscreen initialize must be
|
|
|
|
performed in kernel logic prior to the execution of NxWM.
|
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_TOUCHSCREEN_DEVNO
|
|
|
|
int "Touchscreen Device Number"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Touchscreen device minor number, i.e., the N in /dev/inputN.
|
|
|
|
Default: 0
|
|
|
|
|
|
|
|
config NXWM_TOUCHSCREEN_DEVPATH
|
|
|
|
string "Touchscreen Device Path"
|
|
|
|
default "/dev/input0"
|
|
|
|
---help---
|
|
|
|
The full path to the touchscreen device. Default: "/dev/input0"
|
|
|
|
|
|
|
|
config NXWM_TOUCHSCREEN_SIGNO
|
|
|
|
int "Touchscreen Signal Number"
|
|
|
|
default 5
|
|
|
|
---help---
|
|
|
|
The realtime signal used to wake up the touchscreen listener
|
|
|
|
thread. Default: 5
|
|
|
|
|
|
|
|
config NXWM_TOUCHSCREEN_LISTENERPRIO
|
|
|
|
int "Touchscreen Listener Task Priority"
|
2014-07-17 23:06:05 +02:00
|
|
|
default 120
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-07-17 23:06:05 +02:00
|
|
|
Priority of the touchscreen listener thread. This listener should
|
|
|
|
have a higher priority than most display-related tsks otherwise it
|
|
|
|
may miss touchscreen events. Default: 120
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_TOUCHSCREEN_LISTENERSTACK
|
|
|
|
int "Touchscreen Listener Task Stack Size"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 1024
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
Touchscreen listener thread stack size. Default 1024
|
|
|
|
|
2013-10-31 00:16:58 +01:00
|
|
|
config NXWM_TOUCHSCREEN_CONFIGDATA
|
2013-10-30 17:11:43 +01:00
|
|
|
bool "Touchscreen configuration data"
|
|
|
|
default n
|
|
|
|
depends on PLATFORM_CONFIGDATA
|
|
|
|
---help---
|
|
|
|
If the architecture supports retention of configuration data, then
|
|
|
|
you may select this option to save touchscreen configuration data.
|
|
|
|
Otherwise, the touchscreen calibration must be performed each time
|
|
|
|
that you boot the system.
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_TOUCHSCREEN
|
|
|
|
endmenu # NxWM Touchscreen Configuration
|
|
|
|
|
|
|
|
menu "NxWM Keyboard Configuration"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_KEYBOARD
|
|
|
|
bool "Keyboard Support"
|
|
|
|
default n
|
|
|
|
---help---
|
2014-08-20 22:15:34 +02:00
|
|
|
Define to build in keyboard support.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
if NXWM_KEYBOARD
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
comment "Keyboard Device Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_KEYBOARD_DEVPATH
|
|
|
|
string "Keyboard Device Path"
|
|
|
|
default "/dev/console"
|
|
|
|
---help---
|
2014-07-31 01:01:51 +02:00
|
|
|
The full path to the keyboard device. Default: "/dev/console"
|
|
|
|
|
|
|
|
config NXWM_KEYBOARD_USBHOST
|
|
|
|
bool "USB Keyboard Device"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This setting indicates that NXWM_KEYBOARD_DEVPATH is a USB keyboard.
|
|
|
|
A USB Keyboard is a removable device. When it is inserted, then
|
|
|
|
device at NXWM_KEYBOARD_DEVPATH will appear; when it removed,
|
|
|
|
keyboard reads will fail and the device at NXWM_KEYBOARD_DEVPATH
|
|
|
|
will disappear. Selecting this option builds addtional logic into
|
|
|
|
the keyboard listener thread in order to handle this case.
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_KEYBOARD_SIGNO
|
|
|
|
int "Keyboard Task Signal Number"
|
|
|
|
default 6
|
|
|
|
---help---
|
2014-07-31 01:01:51 +02:00
|
|
|
The realtime signal used to wake up the keyboard listener thread.
|
2012-09-26 00:04:51 +02:00
|
|
|
Default: 6
|
|
|
|
|
|
|
|
config NXWM_KEYBOARD_BUFSIZE
|
|
|
|
int "Keyboard Buffer Size"
|
|
|
|
default 16
|
|
|
|
---help---
|
|
|
|
The size of the keyboard read data buffer. Default: 16
|
|
|
|
|
|
|
|
config NXWM_KEYBOARD_LISTENERPRIO
|
|
|
|
int "Keyboard Listener Task Priority"
|
2014-07-17 23:06:05 +02:00
|
|
|
default 120
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2014-07-31 01:01:51 +02:00
|
|
|
Priority of the keyboard listener thread. This listener should
|
|
|
|
have a higher priority than most display-related tasks otherwise it
|
|
|
|
may miss keyboard input (not really very likely because keyboard
|
|
|
|
input is relatively slow). Default: 120
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_KEYBOARD_LISTENERSTACK
|
|
|
|
int "Keyboard Listener Task Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
Keyboard listener thread stack size. Default: 1024
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM_KEYBOARD
|
|
|
|
endmenu # NxWM Keyboard Configuration
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
menu "NxWM Calibration Display Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-10-14 22:52:17 +02:00
|
|
|
config NXWM_CALIBRATION_MARGIN
|
|
|
|
int "Calibration Margin"
|
|
|
|
default 40
|
|
|
|
---help---
|
|
|
|
The Calbration display consists of a target press offset from the edges
|
|
|
|
of the display by this number of pixels (in the horizontal direction)
|
|
|
|
or rows (in the vertical). The closer that you can comfortabley
|
|
|
|
position the press positions to the edge, the more accurate will be the
|
|
|
|
linear interpolation (provide that the hardware provides equally good
|
|
|
|
measurements near the edges).
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CALIBRATION_CUSTOM_COLORS
|
|
|
|
bool "Custom Calibration Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the calibration window. If
|
|
|
|
defined, the hexadecimal values for all calibration window
|
|
|
|
colors must be provided (there are no default colors because
|
|
|
|
the hexadecimal representation of the default colors depend
|
|
|
|
on the pixel depth). Default: n
|
|
|
|
|
|
|
|
if NXWM_CALIBRATION_CUSTOM_COLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_CALIBRATION_BACKGROUNDCOLOR
|
|
|
|
hex "Background Color"
|
|
|
|
---help---
|
|
|
|
The background color of the touchscreen calibration display.
|
|
|
|
Default: Same as NXWM_DEFAULT_BACKGROUNDCOLOR.
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_LINECOLOR
|
|
|
|
hex "Line Color"
|
|
|
|
---help---
|
|
|
|
The color of the lines used in the touchscreen calibration display.
|
|
|
|
Default: RGB(0, 0, 128) (dark blue)
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_CIRCLECOLOR
|
|
|
|
hex "Normal Circle Color"
|
|
|
|
---help---
|
|
|
|
The color of the circle in the touchscreen calibration display.
|
|
|
|
Default: RGB(255, 255, 255) (white)
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_TOUCHEDCOLOR
|
|
|
|
hex "Touched Circle Color"
|
|
|
|
---help---
|
|
|
|
The color of the circle in the touchscreen calibration display after
|
|
|
|
the touch is recorder. Default: RGB(255, 255, 96) (very light yellow)
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CALIBRATION_CUSTOM_COLORS
|
2012-12-21 21:09:32 +01:00
|
|
|
|
2013-10-14 22:52:17 +02:00
|
|
|
config NXWM_CALIBRATION_MESSAGES
|
|
|
|
bool "Add Instructions in Center"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
By default, the calibration screen is clear excecpt for the
|
2014-07-08 21:12:36 +02:00
|
|
|
calibration touchpoints. If this options are enabled, then
|
2013-10-14 22:52:17 +02:00
|
|
|
instructions when to touch and when to release the touch will
|
2013-10-15 02:35:23 +02:00
|
|
|
be added in the center of the display,
|
2013-10-14 22:52:17 +02:00
|
|
|
|
|
|
|
if NXWM_CALIBRATION_MESSAGES
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_CUSTOM_FONTID
|
|
|
|
bool "Use a Custom Font in Calibration Display"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to override the system default font id (NXFONT_DEFAULT).
|
|
|
|
|
|
|
|
if NXWM_CALIBRATION_CUSTOM_FONTID
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_FONTID
|
|
|
|
int "Calibration Font ID"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Use this default NxWidgets font ID instead of the system font ID
|
|
|
|
(NXFONT_DEFAULT). Default: 0
|
|
|
|
|
2013-10-15 02:35:23 +02:00
|
|
|
endif # NXWM_CALIBRATION_CUSTOM_FONTID
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_AVERAGE
|
|
|
|
bool "Average Samples"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Collect multiple samples at each calibration position and use the
|
|
|
|
average of the samples. NOTE that is option is not available if we are
|
|
|
|
not providing instructions on the display. That is because it would
|
|
|
|
be impossible to know what to do if we are collecting multiple samples
|
|
|
|
at each position.
|
|
|
|
|
|
|
|
if NXWM_CALIBRATION_AVERAGE
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_NSAMPLES
|
|
|
|
int "Number of Samples in Average"
|
|
|
|
default 4
|
|
|
|
range 2 255
|
|
|
|
---help---
|
|
|
|
This is the number of samples to use in the average.
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_DISCARD_MINMAX
|
|
|
|
bool "Discard minimum and maximum values"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Discard the largest and smallest values before averaging. This
|
|
|
|
setting is ignored if NXWM_CALIBRATION_NSAMPLES < 3.
|
|
|
|
|
|
|
|
endif # NXWM_CALIBRATION_AVERAGE
|
|
|
|
endif # NXWM_CALIBRATION_MESSAGES
|
2013-10-14 22:52:17 +02:00
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
config NXWM_CALIBRATION_ANISOTROPIC
|
|
|
|
bool "Anisotropic Scaling"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Most touchscreens have the property that the X value consistent across
|
|
|
|
the entire vertial range of the display, i.e., if you press in the
|
|
|
|
upper left of the display and in the low right of the display, then
|
|
|
|
only the Y value will change. This is true of some touchscreens:
|
|
|
|
For some touchscreens the X values in the same vertical column will
|
|
|
|
change as the Y values change. Here I use the term anisotropic to
|
|
|
|
describe that (that is not really the correct use of term term, but
|
|
|
|
I have not yet thought of a better name).
|
|
|
|
|
|
|
|
If you have such an LCD, then you may select this option to enable
|
|
|
|
some much more complex scaling alorithms to handle this case. Not
|
|
|
|
only are these algorithms more complex, but they are (currenly)
|
|
|
|
implemented using floating point. As a result, you should not select
|
|
|
|
this option if you have a lower end MCU without hardware floating
|
|
|
|
point support.
|
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_CALIBRATION_ICON
|
|
|
|
bool "Custom Calibration Icon"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to override the default Calibration Window Icon:
|
|
|
|
NxWM::g_calibrationBitmap
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
if NXWM_CUSTOM_CALIBRATION_ICON
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_CALIBRATION_ICON
|
|
|
|
string "Callibration Icon"
|
2012-12-21 21:09:32 +01:00
|
|
|
default "NxWM::g_calibrationBitmap"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
The ICON to use for the touchscreen calibration application. Default:
|
|
|
|
NxWM::g_calibrationBitmap
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CUSTOM_CALIBRATION_ICON
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_CALIBRATION_SIGNO
|
|
|
|
int "Calibration Signal Number"
|
|
|
|
default 5
|
|
|
|
---help---
|
|
|
|
The realtime signal used to wake up the touchscreen calibration
|
|
|
|
thread. Default: 5
|
|
|
|
|
|
|
|
config NXWM_CALIBRATION_LISTENERPRIO
|
|
|
|
int "Calibration Task Priority"
|
2013-05-12 22:31:41 +02:00
|
|
|
default 100
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2013-05-12 22:31:41 +02:00
|
|
|
Priority of the calibration listener thread. Default: 100
|
2012-09-26 00:04:51 +02:00
|
|
|
|
|
|
|
config NXWM_CALIBRATION_LISTENERSTACK
|
|
|
|
int "Calibration Task Stack Size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
Calibration listener thread stack size. Default 2048
|
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
endmenu # NxWM Calibration Display Settings
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
menu "NxWM Hex Calculator Display Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_HEXCALCULATOR_CUSTOM_COLORS
|
|
|
|
bool "Custom Hex Calculator Colors"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select custom default colors for the Hex Calcualtor window. If
|
|
|
|
defined, the hexadecimal values for all hex calculator colors
|
|
|
|
must be provided (there are no default colors because the
|
|
|
|
hexadecimal representation of the default colors depend on the
|
|
|
|
pixel depth). Default: n
|
|
|
|
|
|
|
|
if NXWM_HEXCALCULATOR_CUSTOM_COLORS
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_HEXCALCULATOR_BACKGROUNDCOLOR
|
|
|
|
hex "Calculator Background Color"
|
|
|
|
---help---
|
|
|
|
The background color of the calculator display. Default: Same
|
|
|
|
as NXWM_DEFAULT_BACKGROUNDCOLOR
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_HEXCALCULATOR_CUSTOM_COLORS
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_CUSTOM_HEXCALCULATOR_ICON
|
|
|
|
bool "Custom Hex Calculator Icon"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to override the default Hex Calculator Window Icon:
|
|
|
|
NxWM::g_calculatorBitmap
|
|
|
|
|
|
|
|
if NXWM_CUSTOM_HEXCALCULATOR_ICON
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_HEXCALCULATOR_ICON
|
|
|
|
string "Calculator Icon"
|
2012-12-21 21:09:32 +01:00
|
|
|
default "NxWM::g_calculatorBitmap"
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
|
|
|
The ICON to use for the hex calculator application. Default:
|
2012-12-21 21:09:32 +01:00
|
|
|
"NxWM::g_calculatorBitmap"
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_CUSTOM_HEXCALCULATOR_ICON
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
config NXWM_HEXCALCULATOR_CUSTOM_FONTID
|
|
|
|
bool "Use Custom Default Font"
|
|
|
|
default n
|
|
|
|
---help---
|
2014-07-14 19:23:20 +02:00
|
|
|
Set to override the NxWM default font id (NXWM_DEFAULT_FONTID).
|
2012-12-21 21:09:32 +01:00
|
|
|
|
|
|
|
if NXWM_HEXCALCULATOR_CUSTOM_FONTID
|
2013-10-17 20:07:14 +02:00
|
|
|
|
2012-09-26 00:04:51 +02:00
|
|
|
config NXWM_HEXCALCULATOR_FONTID
|
|
|
|
int "Calculator Font ID"
|
2012-12-21 21:09:32 +01:00
|
|
|
default 0
|
2012-09-26 00:04:51 +02:00
|
|
|
---help---
|
2012-12-21 21:09:32 +01:00
|
|
|
Use this default font ID in the calculator window instead of the
|
|
|
|
NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0
|
2013-10-17 20:07:14 +02:00
|
|
|
|
|
|
|
endif # NXWM_HEXCALCULATOR_FONTID
|
2014-07-16 19:11:55 +02:00
|
|
|
endmenu # NxWM Hex Calculator Display Dettings
|
|
|
|
|
|
|
|
menu "NxWM Media Player Display Settings"
|
2012-09-26 00:04:51 +02:00
|
|
|
|
2013-05-12 00:15:51 +02:00
|
|
|
config NXWM_MEDIAPLAYER
|
2013-12-30 17:04:34 +01:00
|
|
|
bool "NxWM Media Player"
|
2013-05-12 00:15:51 +02:00
|
|
|
default n
|
2014-07-23 22:45:54 +02:00
|
|
|
depends on FS_READABLE && SYSTEM_NXPLAYER
|
2013-05-12 00:15:51 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the MP3 Media Player. This features requires
|
|
|
|
a board that includes an MP3 Codec chip, such as the Mikromedia
|
|
|
|
boards available from MikroElektronica, along with a NuttX port
|
|
|
|
with a device driver for the MP3 codec.
|
|
|
|
|
|
|
|
NOTE: This application is currently under development and just
|
2013-05-17 15:37:09 +02:00
|
|
|
a shell of an app which will be developed soon.
|
2013-05-12 00:15:51 +02:00
|
|
|
|
2014-07-15 00:56:40 +02:00
|
|
|
if NXWM_MEDIAPLAYER
|
|
|
|
|
2014-07-24 02:19:00 +02:00
|
|
|
menu "NxPlayer Integration"
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_PREFERRED_DEVICE
|
|
|
|
string "Preferred audio device"
|
|
|
|
default "pcm0"
|
|
|
|
depends on NXPLAYER_INCLUDE_PREFERRED_DEVICE
|
|
|
|
---help---
|
|
|
|
NxPlayer expects us to specify a preferred audio device. This
|
|
|
|
selection allows us to identify that preferred audio device. This
|
|
|
|
device is identified by a simple name string that corresponds to an
|
|
|
|
audio device that can be found under /dev/audio.
|
|
|
|
|
|
|
|
endmenu # NxPlayer Integration
|
|
|
|
|
2014-07-23 22:45:54 +02:00
|
|
|
menu "Media File Configuration"
|
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
config NXWM_MEDIAPLAYER_MEDIAPATH
|
|
|
|
string "Path to media"
|
|
|
|
default "/mnt/sdcard"
|
|
|
|
---help---
|
|
|
|
This is the full path to the mount point of the storage device
|
|
|
|
containing all of the media files accessible by the media player.
|
|
|
|
|
2014-07-23 22:45:54 +02:00
|
|
|
config NXWM_MEDIAPLAYER_NOFILTER
|
2014-07-24 23:06:54 +02:00
|
|
|
bool "Disable filtering by file name extension"
|
2014-07-23 22:45:54 +02:00
|
|
|
default y
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
if !NXWM_MEDIAPLAYER_NOFILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_AC3
|
|
|
|
bool "Accept .ac3 extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_DTS
|
|
|
|
bool "Accept .dts extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_WAV
|
|
|
|
bool "Accept .wav extension"
|
|
|
|
default y
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_PCM
|
|
|
|
bool "Accept .pcm extension"
|
2014-07-24 23:06:54 +02:00
|
|
|
default n
|
2014-07-23 22:45:54 +02:00
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_MP3
|
|
|
|
bool "Accept .mp3 extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_MIDI
|
|
|
|
bool "Accept .mid extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_WMA
|
|
|
|
bool "Accept .wma extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_FILTER_OGGVORBIS
|
|
|
|
bool "Accept .ogg extension"
|
|
|
|
default n
|
|
|
|
select NXWM_MEDIAPLAYER_FILTER
|
|
|
|
|
|
|
|
endif # !NXWM_MEDIAPLAYER_NOFILTER
|
|
|
|
endmenu # Media File Configuration
|
|
|
|
|
|
|
|
menu "General Look and Feel"
|
|
|
|
|
2014-07-15 00:56:40 +02:00
|
|
|
config NXWM_MEDIAPLAYER_XSPACING
|
2014-07-16 19:11:55 +02:00
|
|
|
int "Media Player Horizontal Spacing"
|
2014-07-15 01:00:12 +02:00
|
|
|
default 12
|
2014-07-15 00:56:40 +02:00
|
|
|
---help---
|
2014-07-16 19:11:55 +02:00
|
|
|
This is the space between play, forward, and reverse controls in
|
2014-07-15 00:56:40 +02:00
|
|
|
units of pixels.
|
|
|
|
|
2014-07-16 19:11:55 +02:00
|
|
|
config NXWM_MEDIAPLAYER_YSPACING
|
|
|
|
int "Media Player Vertical Spacing"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
This is the space between vertical element: (1) list box, (2) play,
|
|
|
|
forward, and reverse controls, and the volume slider in units of
|
|
|
|
lines.
|
|
|
|
|
2014-07-17 20:14:04 +02:00
|
|
|
config NXWM_MEDIAPLAYER_CUSTOM_COLORS
|
|
|
|
bool "Select Custom Media Player Colors"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if NXWM_MEDIAPLAYER_CUSTOM_COLORS
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_VOLUMECOLOR
|
2014-07-22 01:43:18 +02:00
|
|
|
hex "Media Volume Slide Color"
|
2014-07-17 20:14:04 +02:00
|
|
|
default 0x0
|
|
|
|
|
|
|
|
endif # NXWM_MEDIAPLAYER_CUSTOM_COLORS
|
|
|
|
|
2014-07-15 00:56:40 +02:00
|
|
|
config NXWM_MEDIAPLAYER_BORDERS
|
|
|
|
bool "Media Player Button Borders"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If you have nice graphics, then borderless would probably be the
|
|
|
|
better choice. If you graphics is really more of a button label,
|
|
|
|
then have buttons with boarders might make more sense.
|
|
|
|
|
2014-07-23 22:45:54 +02:00
|
|
|
endmenu # General Look and Feel
|
|
|
|
|
|
|
|
menu "Volume Control Configuration"
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_VOLUMESTEP
|
|
|
|
int "Media Player Volume Step"
|
|
|
|
default 5
|
|
|
|
---help---
|
|
|
|
This increment in volume, up or down, when the volume bar is clicked.
|
|
|
|
|
|
|
|
config NXWM_MEDIAPLAYER_MINVOLUMEHEIGHT
|
|
|
|
int "Minimum Player Volume Minimum Height"
|
|
|
|
default 6
|
|
|
|
---help---
|
|
|
|
The height of the slider is automatically calculated from the height
|
|
|
|
of the grip image. However, we will not let the height of the grip
|
|
|
|
get smaller than this value.
|
|
|
|
|
|
|
|
NOTE: This width includes the size of the slider upper and lower
|
|
|
|
borders.
|
|
|
|
|
|
|
|
endmenu # Volume Configuration"
|
2014-07-15 00:56:40 +02:00
|
|
|
endif # NXWM_MEDIAPLAYER
|
2014-07-16 19:11:55 +02:00
|
|
|
endmenu # NxWM Media Player Display Settings
|
|
|
|
|
2013-10-17 20:07:14 +02:00
|
|
|
endif # NXWM
|