summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-09 21:35:53 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-12-09 21:01:11 -0500
commit694f929a99ae4b2b58cd6b322a7d63d74ad717ec (patch)
tree3a98cfa9ca1bc5e5c2bbaeabb0b67c279cb0b930
parent938395be724fd7ce50f971c85b186916fe204926 (diff)
downloadrockbox-694f929a99ae4b2b58cd6b322a7d63d74ad717ec.tar.gz
rockbox-694f929a99ae4b2b58cd6b322a7d63d74ad717ec.zip
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
-rw-r--r--apps/plugins/credits.c4
1 files changed, 4 insertions, 0 deletions
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)
308 backlight_ignore_timeout(); 308 backlight_ignore_timeout();
309#endif 309#endif
310 310
311#if LCD_DEPTH>=16
312 rb->lcd_set_foreground (LCD_WHITE);
313 rb->lcd_set_background (LCD_BLACK);
314#endif
311 rb->show_logo(); 315 rb->show_logo();
312 316
313 /* Show the logo for about 3 secs allowing the user to stop */ 317 /* Show the logo for about 3 secs allowing the user to stop */