summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-04-23 11:26:25 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-04-23 11:26:25 +0000
commit942bc9449ea587fc3d50a468da56df32baf0748f (patch)
treeca3731dfb763dbb299fe0edb41fa019263b588a0 /apps/tree.c
parent10fd7b6c3b3ed8bfd15ec1a6b67aaff3c4cf2a69 (diff)
downloadrockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.gz
rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.bz2
rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.zip
Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7abafe8f4a..1e10e51f80 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -494,7 +494,7 @@ static int showdir(char *path, int start)
LCD_HEIGHT - SCROLLBAR_Y, filesindir, start,
start + tree_max_on_screen, VERTICAL);
#endif
- status_draw();
+ status_draw(false);
return filesindir;
}
@@ -511,7 +511,7 @@ bool ask_resume(void)
lcd_clear_display();
lcd_puts(0,0,str(LANG_RESUME_ASK));
#ifdef HAVE_LCD_CHARCELLS
- status_draw();
+ status_draw(false);
lcd_puts(0,1,str(LANG_RESUME_CONFIRM_PLAYER));
#else
lcd_puts(0,1,str(LANG_RESUME_CONFIRM_RECORDER));
@@ -621,7 +621,7 @@ void start_resume(void)
}
status_set_playmode(STATUS_PLAY);
- status_draw();
+ status_draw(true);
wps_show();
}
}
@@ -839,7 +839,7 @@ bool dirbrowse(char *root)
case BUTTON_OFF:
mpeg_stop();
status_set_playmode(STATUS_STOP);
- status_draw();
+ status_draw(false);
restore = true;
break;
@@ -996,7 +996,7 @@ bool dirbrowse(char *root)
}
status_set_playmode(STATUS_PLAY);
- status_draw();
+ status_draw(false);
lcd_stop_scroll();
if ( wps_show() == SYS_USB_CONNECTED ) {
reload_root = true;
@@ -1136,7 +1136,7 @@ bool dirbrowse(char *root)
break;
case BUTTON_NONE:
- status_draw();
+ status_draw(false);
break;
}