summaryrefslogtreecommitdiff
path: root/apps/NxWidgets
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-14 14:52:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-14 14:52:17 -0600
commit360abde7b0f21861292648de869ab0d1ba655444 (patch)
tree0a6742d3c1fcabf62c07992fa8e9dff53cad3583 /apps/NxWidgets
parentb33449923aee0b4320bed6b3f4880fcc75da32ab (diff)
downloadnuttx-360abde7b0f21861292648de869ab0d1ba655444.tar.gz
nuttx-360abde7b0f21861292648de869ab0d1ba655444.tar.bz2
nuttx-360abde7b0f21861292648de869ab0d1ba655444.zip
NxWM::CCalibration: Add an option to provide some instructions in the center of the calibration screen
Diffstat (limited to 'apps/NxWidgets')
-rw-r--r--apps/NxWidgets/Kconfig40
1 files changed, 40 insertions, 0 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig
index a5d12f791..f5ccb409a 100644
--- a/apps/NxWidgets/Kconfig
+++ b/apps/NxWidgets/Kconfig
@@ -718,6 +718,17 @@ endif
comment "Calibration display settings"
+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).
+
config NXWM_CALIBRATION_CUSTOM_COLORS
bool "Custom Calibration Colors"
default n
@@ -754,6 +765,35 @@ config NXWM_CALIBRATION_TOUCHEDCOLOR
the touch is recorder. Default: RGB(255, 255, 96) (very light yellow)
endif
+config NXWM_CALIBRATION_MESSAGES
+ bool "Add Instructions in Center"
+ default n
+ ---help---
+ By default, the calibration screen is clear excecpt for the
+ calibratino touchpoints. If this options are enabled, then
+ instructions when to touch and when to release the touch will
+ be added in the center of the dislay
+
+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
+
+endif
+endif
+
config NXWM_CUSTOM_CALIBRATION_ICON
bool "Custom Calibration Icon"
default n