Do not display the backdrop in text viewer and editor plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14835 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bf169ed7db
commit
d969a420b6
2 changed files with 8 additions and 0 deletions
|
@ -322,6 +322,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
prev_show_statusbar = rb->global_settings->statusbar;
|
||||
rb->global_settings->statusbar = false;
|
||||
|
||||
#if LCD_DEPTH > 1
|
||||
rb->lcd_set_backdrop(NULL);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(1);
|
||||
#endif
|
||||
|
|
|
@ -1375,6 +1375,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
|
|||
viewer_reset_settings(); /* load defaults first */
|
||||
viewer_load_settings(); /* .. then try to load from disk */
|
||||
|
||||
#if LCD_DEPTH > 1
|
||||
rb->lcd_set_backdrop(NULL);
|
||||
#endif
|
||||
|
||||
viewer_draw(col);
|
||||
|
||||
while (!done) {
|
||||
|
|
Loading…
Reference in a new issue