Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

plugins: vu_meter: enable theme for submenus

Also properly handle situation where theme is already
enabled at launch.

Change-Id: Ic7b3dcf38e77f6e9d6ef4a5512f729e47880e46c

+11
+11
apps/plugins/vu_meter.c
··· 685 685 { "Very Slow", -1 }, 686 686 }; 687 687 688 + FOR_NB_SCREENS(i) 689 + rb->viewportmanager_theme_enable(i, true, NULL); 688 690 while (!menu_quit) { 689 691 switch(rb->do_menu(&menu, &selection, NULL, false)) 690 692 { ··· 744 746 break; 745 747 } 746 748 } 749 + FOR_NB_SCREENS(i) 750 + rb->viewportmanager_theme_undo(i, false); 747 751 /* the menu uses the userfont, set it back to sysfont */ 748 752 rb->lcd_setfont(FONT_SYSFIXED); 749 753 return exit; ··· 948 952 { 949 953 /* Turn on backlight timeout (revert to settings) */ 950 954 backlight_use_settings(); 955 + 956 + FOR_NB_SCREENS(i) 957 + rb->viewportmanager_theme_undo(i, false); 951 958 } 952 959 953 960 enum plugin_status plugin_start(const void* parameter) ··· 972 979 973 980 /* Turn off backlight timeout */ 974 981 backlight_ignore_timeout(); 982 + 983 + /* undo in vu_meter_cleanup */ 984 + FOR_NB_SCREENS(i) 985 + rb->viewportmanager_theme_enable(i, false, NULL); 975 986 976 987 while (1) 977 988 {