From 694f929a99ae4b2b58cd6b322a7d63d74ad717ec Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Thu, 9 Dec 2021 21:35:53 +0100 Subject: [PATCH] Credits plugin: use black background Sets the lcd background color to black and foreground color to white when displaying the 16bit logo, so that it always blends in with the background regardless of theme colors. Change-Id: Ia3afde178866b84d194c2dd839dac24f8c6e8d05 --- apps/plugins/credits.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/plugins/credits.c b/apps/plugins/credits.c index 8c03d0194f..9e43aab2a7 100644 --- a/apps/plugins/credits.c +++ b/apps/plugins/credits.c @@ -308,6 +308,10 @@ enum plugin_status plugin_start(const void* parameter) backlight_ignore_timeout(); #endif +#if LCD_DEPTH>=16 + rb->lcd_set_foreground (LCD_WHITE); + rb->lcd_set_background (LCD_BLACK); +#endif rb->show_logo(); /* Show the logo for about 3 secs allowing the user to stop */