From 143d9be2952cb0fe2a7379d81dfef39d3816d237 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 7 Feb 2015 23:33:02 +1000 Subject: Change ugfx startup logo to white so it shows up on monochrome displays --- src/gdisp/gdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gdisp') diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 0b69bfa0..639581b0 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -27,6 +27,7 @@ // 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_COLOR White #else #define GDISP_STARTUP_LOGO_TIMEOUT 0 #endif @@ -536,7 +537,7 @@ static void line_clip(GDisplay *g) { // Simple but crude! for(p = blks; p < blks+sizeof(blks)/sizeof(blks[0]); p+=4) - gdispGFillArea(g, x+p[0]*w, y+p[1]*w, p[2]*w, p[3]*w, Blue); + gdispGFillArea(g, x+p[0]*w, y+p[1]*w, p[2]*w, p[3]*w, GDISP_STARTUP_LOGO_COLOR); } #endif -- cgit v1.2.3