From d4b884e7e0568d33e4f1bfad51886f6a87373d53 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 9 Oct 2002 22:05:41 +0000 Subject: 'End of song list' message now displays for 1 second and then exits to file browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2551 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/wps-display.c') diff --git a/apps/wps-display.c b/apps/wps-display.c index 2972fc0a33..3dda50842f 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -616,7 +616,7 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all) return true; } -void wps_display(struct mp3entry* id3) +bool wps_display(struct mp3entry* id3) { lcd_clear_display(); @@ -624,11 +624,12 @@ void wps_display(struct mp3entry* id3) { #ifdef HAVE_LCD_CHARCELLS lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER)); - lcd_puts(0, 1, str(LANG_END_CONFIRM_PLAYER)); #else lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER)); - lcd_puts(5, 4, str(LANG_END_CONFIRM_RECORDER)); + lcd_update(); #endif + sleep(HZ); + return true; } else { @@ -653,6 +654,7 @@ void wps_display(struct mp3entry* id3) wps_refresh(id3, 0, true); status_draw(); lcd_update(); + return false; } #if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) -- cgit v1.2.3