diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-12-09 21:35:53 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-12-09 21:01:11 -0500 |
commit | 694f929a99ae4b2b58cd6b322a7d63d74ad717ec (patch) | |
tree | 3a98cfa9ca1bc5e5c2bbaeabb0b67c279cb0b930 /apps/plugins/credits.c | |
parent | 938395be724fd7ce50f971c85b186916fe204926 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/plugins/credits.c')
-rw-r--r-- | apps/plugins/credits.c | 4 |
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 */ |