mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
Add default colors for all BPP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1424 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ed32f4d267
commit
d7c8df9376
1 changed files with 14 additions and 2 deletions
|
@ -58,11 +58,23 @@
|
|||
#endif
|
||||
|
||||
#ifndef CONFIG_NXTK_BORDERCOLOR1
|
||||
# define CONFIG_NXTK_BORDERCOLOR1 0x00a9a9a9
|
||||
# if !defined(CONFIG_NX_DISABLE_32BPP) || !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
# define CONFIG_NXTK_BORDERCOLOR1 0x00a9a9a9
|
||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||
# define CONFIG_NXTK_BORDERCOLOR1 0xad55
|
||||
# else
|
||||
# define CONFIG_NXTK_BORDERCOLOR1 'B'
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NXTK_BORDERCOLOR2
|
||||
# define CONFIG_NXTK_BORDERCOLOR2 0x00696969
|
||||
# if !defined(CONFIG_NX_DISABLE_32BPP) || !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
# define CONFIG_NXTK_BORDERCOLOR2 0x00696969
|
||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||
# define CONFIG_NXTK_BORDERCOLOR2 0x6b4d
|
||||
# else
|
||||
# define CONFIG_NXTK_BORDERCOLOR2 'b'
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue