GDISP startup logo now optional

ugfx_release_2.6
Joel Bodenmann 2013-12-16 20:11:51 +01:00
parent 0bccf2fa15
commit d16dda2180
3 changed files with 14 additions and 1 deletions

View File

@ -49,6 +49,7 @@
#define GDISP_NEED_IMAGE FALSE
#define GDISP_NEED_MULTITHREAD FALSE
#define GDISP_NEED_STREAMING FALSE
#define GDISP_NEED_STARTUP_LOGO TRUE
/* GDISP - text features */
#define GDISP_NEED_ANTIALIAS FALSE

View File

@ -20,6 +20,14 @@
* @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.
* @details Defaults to FALSE

View File

@ -28,7 +28,11 @@
#endif
// Number of milliseconds for the startup logo - 0 means disabled.
#define GDISP_STARTUP_LOGO_TIMEOUT 1000
#if GDISP_NEED_STARTUP_LOGO
#define GDISP_STARTUP_LOGO_TIMEOUT 1000
#else
#define GDISP_STARTUP_LOGO_TIMEOUT 0
#endif
// The color to clear the display on startup
#define GDISP_STARTUP_COLOR Black