summaryrefslogtreecommitdiff
path: root/apps/NxWidgets
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-13 15:58:12 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-13 15:58:12 -0600
commit96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9 (patch)
tree9fdb0554ae5db083c528d86a5189074a9d671cb9 /apps/NxWidgets
parent9ae67a1db67f78aff7417d96e3e2a9a4871f515f (diff)
downloadnuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.tar.gz
nuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.tar.bz2
nuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.zip
NxWM: Can now configure to use small or large icons
Diffstat (limited to 'apps/NxWidgets')
-rw-r--r--apps/NxWidgets/Kconfig20
1 files changed, 17 insertions, 3 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig
index 7a903c335..f8d66b1cb 100644
--- a/apps/NxWidgets/Kconfig
+++ b/apps/NxWidgets/Kconfig
@@ -313,13 +313,27 @@ if NXWM
menu "NxWM General settings"
-config NXWM_SYSTEM_CUSTOM_FONTID
+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
bool "Use Custom Default Font"
default n
---help---
Set to override the system default font id (NXFONT_DEFAULT).
-if NXWM_SYSTEM_CUSTOM_FONTID
+if NXWM_CUSTOM_FONTID
config NXWM_DEFAULT_FONTID
int "Font ID"
@@ -328,7 +342,7 @@ config NXWM_DEFAULT_FONTID
Use this NxWM default font ID instead of the system font ID
(NXFONT_DEFAULT). Default: 0
-endif # NXWM_SYSTEM_CUSTOM_FONTID
+endif # NXWM_CUSTOM_FONTID
config NXWM_UNITTEST
bool "NxWM Unit Test"