From 96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 13 Jul 2014 15:58:12 -0600 Subject: NxWM: Can now configure to use small or large icons --- NxWidgets/Kconfig | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'NxWidgets/Kconfig') diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig index 7a903c335..8495d0908 100644 --- a/NxWidgets/Kconfig +++ b/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" @@ -480,7 +494,8 @@ if NXWM_CUSTOM_TASKBAR_WIDTH config NXWM_TASKBAR_WIDTH int "Taskbar Width" - default 29 + default 29 if !NXWM_LARGE_ICONS + default 54 if !NXWM_LARGE_ICONS ---help--- Task bar thickness (either vertical or horizontal). Default: 25 + 2*2 @@ -532,16 +547,19 @@ config NXWM_CUSTOM_TOOLBAR_HEIGHT ---help--- Set to override the default tooldar height The default depends on the selected horizontal or vertical spacing. Default: 21 + 2*spacing + or 42 + 2*spacing if large icons are selected if NXWM_CUSTOM_TOOLBAR_HEIGHT config NXWM_TOOLBAR_HEIGHT int "Toolbar Height" - default 25 + default 25 if !NXWM_LARGE_ICONS + default 46 if NXWM_LARGE_ICONS ---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 - at least that size. Default: 21 + 2*2 + at least that size. Default: 21 + 2*2or 42 + 2*spacing if large + icons are selected endif # NXWM_CUSTOM_TOOLBAR_HEIGHT endmenu # NxWM Toolbar Configuration -- cgit v1.2.3