You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/01/23 08:24:01 UTC

[incubator-nuttx-apps] branch master updated: Set NXGLYPHS_BACKGROUNDCOLOR default value

This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 6cd8ba3  Set NXGLYPHS_BACKGROUNDCOLOR default value
     new 285f7b4  Merge pull request #30 from xiaoxiang781216/fix-NXGLYPHS_BACKGROUNDCOLOR-invalid
6cd8ba3 is described below

commit 6cd8ba3cf8cfb955cf37be45f8d1fb8097718618
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Jan 23 13:36:26 2020 +0800

    Set NXGLYPHS_BACKGROUNDCOLOR default value
    
    to avoid warning: symbol value '' invalid for NXGLYPHS_BACKGROUNDCOLOR
    
    Change-Id: I56e83a88b41d26a6833131a8dc89afe0dcf25d96
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 graphics/nxglyphs/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/nxglyphs/Kconfig b/graphics/nxglyphs/Kconfig
index 1e36f49..543b63c 100644
--- a/graphics/nxglyphs/Kconfig
+++ b/graphics/nxglyphs/Kconfig
@@ -11,6 +11,9 @@ config NXGLYPHS_LARGE_ICONS
 
 config NXGLYPHS_BACKGROUNDCOLOR
 	hex "Background Color"
+	default 0x97 if NXWIDGETS_BPP = 8
+	default 0x95fa if NXWIDGETS_BPP = 16
+	default 0x94bdd7 if NXWIDGETS_BPP = 24 || NXWIDGETS_BPP = 32
 	---help---
 		Normal background color.  Default: RGB(148,189,215)