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:
Nils Wallménius 2007-09-23 19:15:56 +00:00
parent bf169ed7db
commit d969a420b6
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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) {