GDISP startup logo now optional
This commit is contained in:
parent
0bccf2fa15
commit
d16dda2180
3 changed files with 14 additions and 1 deletions
|
@ -49,6 +49,7 @@
|
||||||
#define GDISP_NEED_IMAGE FALSE
|
#define GDISP_NEED_IMAGE FALSE
|
||||||
#define GDISP_NEED_MULTITHREAD FALSE
|
#define GDISP_NEED_MULTITHREAD FALSE
|
||||||
#define GDISP_NEED_STREAMING FALSE
|
#define GDISP_NEED_STREAMING FALSE
|
||||||
|
#define GDISP_NEED_STARTUP_LOGO TRUE
|
||||||
|
|
||||||
/* GDISP - text features */
|
/* GDISP - text features */
|
||||||
#define GDISP_NEED_ANTIALIAS FALSE
|
#define GDISP_NEED_ANTIALIAS FALSE
|
||||||
|
|
|
@ -20,6 +20,14 @@
|
||||||
* @name GDISP Functionality to be included
|
* @name GDISP Functionality to be included
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @brief Should the startup logo be displayed
|
||||||
|
*
|
||||||
|
* @details Defaults to TRUE
|
||||||
|
*/
|
||||||
|
#ifndef GDISP_NEED_STARTUP_LOGO
|
||||||
|
#define GDISP_NEED_STARTUP_LOGO TRUE
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* @brief Should drawing operations be automatically flushed.
|
* @brief Should drawing operations be automatically flushed.
|
||||||
* @details Defaults to FALSE
|
* @details Defaults to FALSE
|
||||||
|
|
|
@ -28,7 +28,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Number of milliseconds for the startup logo - 0 means disabled.
|
// Number of milliseconds for the startup logo - 0 means disabled.
|
||||||
|
#if GDISP_NEED_STARTUP_LOGO
|
||||||
#define GDISP_STARTUP_LOGO_TIMEOUT 1000
|
#define GDISP_STARTUP_LOGO_TIMEOUT 1000
|
||||||
|
#else
|
||||||
|
#define GDISP_STARTUP_LOGO_TIMEOUT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// The color to clear the display on startup
|
// The color to clear the display on startup
|
||||||
#define GDISP_STARTUP_COLOR Black
|
#define GDISP_STARTUP_COLOR Black
|
||||||
|
|
Loading…
Add table
Reference in a new issue