From 909b08111329abfc99443372c5f4efcb439d2dc9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 22 Apr 2016 08:56:01 -0600 Subject: [PATCH] Add configuration option to select greyscale image --- Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Kconfig b/Kconfig index 2bc96a875..9474cacc9 100644 --- a/Kconfig +++ b/Kconfig @@ -129,6 +129,13 @@ config NXWIDGETS_BPP Supported bits-per-pixel {8, 16, 24, 32}. Default: The smallest BPP configuration supported by NX. +config NXWIDGETS_GREYSCALE + bool "Greyscale (vs RGB)" + default n + ---help--- + Select to use a greyscale vs RGB color image. This option is ignored if + CONFIG_NXWIDGETS_BPP > 8 + config NXWIDGETS_SIZEOFCHAR int "Size of a character (1 or 2 bytes)" range 1 2