summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/splash.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index fc15294211..8d69068d3b 100644
--- a/apps/gui/splash.c
+++ b/apps/gui/splash.c
@@ -127,13 +127,8 @@ void internal_splash(struct screen * screen,
127 int xx = (screen->width-maxw)/2 - 2; 127 int xx = (screen->width-maxw)/2 - 2;
128 /* The new graphics routines handle clipping, so no need to check */ 128 /* The new graphics routines handle clipping, so no need to check */
129#if LCD_DEPTH > 1 129#if LCD_DEPTH > 1
130#ifdef HAVE_LCD_COLOR
131 screen->set_background((struct rgb){LCD_MAX_RED-1, LCD_MAX_GREEN-1,
132 LCD_MAX_BLUE-1});
133#else
134 if(screen->depth>1) 130 if(screen->depth>1)
135 screen->set_background(LCD_MAX_LEVEL-1); 131 screen->set_background(LCD_LIGHTGRAY);
136#endif
137#endif 132#endif
138 screen->set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 133 screen->set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
139 screen->fillrect(xx, y-2, maxw+4, screen->height-y*2+4); 134 screen->fillrect(xx, y-2, maxw+4, screen->height-y*2+4);
@@ -183,7 +178,7 @@ void internal_splash(struct screen * screen,
183 178
184#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) 179#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1)
185 if(screen->depth > 1) 180 if(screen->depth > 1)
186 screen->set_background(LCD_WHITE); 181 screen->set_background(LCD_DEFAULT_BG);
187#endif 182#endif
188#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) 183#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
189 screen->update(); 184 screen->update();