summaryrefslogtreecommitdiffstats
path: root/apps/plugins
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 /apps/plugins
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
Diffstat (limited to 'apps/plugins')
-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)
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 */