From 6fa312b2217bd09bc86a237298d5acf00b883fb7 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Wed, 30 Jun 2010 11:49:36 +0000 Subject: text viewer: the display of the statusbar is synchronized actual battery, time, etc. and deletes unnecessary lcd_set_backdrop(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27194 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_viewer/text_viewer.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/plugins/text_viewer/text_viewer.c b/apps/plugins/text_viewer/text_viewer.c index db370f5f73..e5f3160bb6 100644 --- a/apps/plugins/text_viewer/text_viewer.c +++ b/apps/plugins/text_viewer/text_viewer.c @@ -46,12 +46,10 @@ enum plugin_status plugin_start(const void* file) return PLUGIN_ERROR; } -#if LCD_DEPTH > 1 - rb->lcd_set_backdrop(NULL); -#endif - while (!done) { + rb->gui_syncstatusbar_draw(rb->statusbars, preferences->statusbar); + if (display_update) tv_draw(); -- cgit v1.2.3