From d969a420b6c7f9aee321d218b7a9feb1c7158703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sun, 23 Sep 2007 19:15:56 +0000 Subject: [PATCH] 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 --- apps/plugins/text_editor.c | 4 ++++ apps/plugins/viewer.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index dd5f4b7b53..108a62aa0c 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -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 diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 7f87b7caa2..37b7b49290 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -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) {