summaryrefslogtreecommitdiff
path: root/apps/NxWidgets
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-30 10:11:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-30 10:11:43 -0600
commit406681e3fddc5432cb358e5ce464fd16228a47eb (patch)
treeb48253358b2b6c9b415373879e849f76aa3c4abe /apps/NxWidgets
parent2cef539be7d1ed0e21d6fd1d3134a2eb1518019a (diff)
downloadnuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.tar.gz
nuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.tar.bz2
nuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.zip
Add interface definition for platform-specific storage of configuration data; Modify NxWM unit test to use these interfaces, if available, to save and restore touchscreen calibration data.
Diffstat (limited to 'apps/NxWidgets')
-rw-r--r--apps/NxWidgets/Kconfig16
1 files changed, 13 insertions, 3 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig
index 7c7b0b8d4..ae71bf997 100644
--- a/apps/NxWidgets/Kconfig
+++ b/apps/NxWidgets/Kconfig
@@ -567,15 +567,15 @@ config NXWM_CUSTOM_STARTWINDOW_ICON
bool "Custom Start Window Icon"
default n
---help---
- Select to override the default Start Window Icon: NxWM::g_playBitmap
+ Select to override the default Start Window Icon: NxWM::g_playBitmap24x24
if NXWM_CUSTOM_STARTWINDOW_ICON
config NXWM_STARTWINDOW_ICON
string "StartWindow Icon"
- default "NxWM::g_playBitmap"
+ default "NxWM::g_playBitmap24x24"
---help---
- The glyph to use as the start window icon. Default: NxWM::g_playBitmap
+ The glyph to use as the start window icon. Default: NxWM::g_playBitmap24x24
endif # NXWM_CUSTOM_STARTWINDOW_ICON
@@ -741,6 +741,16 @@ config NXWM_TOUCHSCREEN_LISTENERSTACK
---help---
Touchscreen listener thread stack size. Default 1024
+config NXWM_TOUSCHCREEN_CONFIGDATA
+ 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.
+
endif # NXWM_TOUCHSCREEN
endmenu # NxWM Touchscreen Configuration