summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-12-27 18:59:26 +0100
committerChristian Soffke <christian.soffke@gmail.com>2024-12-27 19:15:09 +0100
commitbfef0a2d6cf88ab99f267acce2d015602cb3860c (patch)
tree287498c492625ec4fb78d26f4625343f317ff7df
parent8bd62e35ccd41399d6fb2f10ad16b7128f5bf8fe (diff)
downloadrockbox-bfef0a2d6c.tar.gz
rockbox-bfef0a2d6c.zip
PictureFlow: fix colors for keyboard and full screen tags
Change-Id: I2dfaf1ff982c6b1c7b7387d673818de7428f85a5
-rw-r--r--apps/plugins/pictureflow/pictureflow.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index b9a29d2814..eba725bafc 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -4194,6 +4194,9 @@ static bool context_menu_ready(void)
#ifdef USEGSLIB
rb->lcd_set_foreground(N_BRIGHT(0));
rb->lcd_set_background(N_BRIGHT(255));
+#elif defined (HAVE_LCD_COLOR)
+ rb->lcd_set_background(rb->global_settings->bg_color);
+ rb->lcd_set_foreground(rb->global_settings->fg_color);
#endif
#endif
insert_whole_album = (pf_state != pf_show_tracks) || show_tracks_while_browsing;
@@ -4211,6 +4214,9 @@ static void context_menu_cleanup(void)
free_borrowed_tracks();
#ifdef USEGSLIB
grey_show(true);
+#elif LCD_DEPTH > 1 && defined(HAVE_LCD_COLOR)
+ rb->lcd_set_background(N_BRIGHT(0));
+ rb->lcd_set_foreground(N_BRIGHT(255));
#endif
mylcd_set_drawmode(DRMODE_FG);
}