summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-10-09 22:05:41 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-10-09 22:05:41 +0000
commitd4b884e7e0568d33e4f1bfad51886f6a87373d53 (patch)
treed7b8071cfea0f41dbea75c4a12cf5bd628105982 /apps/wps-display.c
parent56e5d1a0a1f87f24635207f70c42b5efc3fe35ab (diff)
downloadrockbox-d4b884e7e0568d33e4f1bfad51886f6a87373d53.tar.gz
rockbox-d4b884e7e0568d33e4f1bfad51886f6a87373d53.zip
'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
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c8
1 files changed, 5 insertions, 3 deletions
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)
616 return true; 616 return true;
617} 617}
618 618
619void wps_display(struct mp3entry* id3) 619bool wps_display(struct mp3entry* id3)
620{ 620{
621 lcd_clear_display(); 621 lcd_clear_display();
622 622
@@ -624,11 +624,12 @@ void wps_display(struct mp3entry* id3)
624 { 624 {
625#ifdef HAVE_LCD_CHARCELLS 625#ifdef HAVE_LCD_CHARCELLS
626 lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER)); 626 lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER));
627 lcd_puts(0, 1, str(LANG_END_CONFIRM_PLAYER));
628#else 627#else
629 lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER)); 628 lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER));
630 lcd_puts(5, 4, str(LANG_END_CONFIRM_RECORDER)); 629 lcd_update();
631#endif 630#endif
631 sleep(HZ);
632 return true;
632 } 633 }
633 else 634 else
634 { 635 {
@@ -653,6 +654,7 @@ void wps_display(struct mp3entry* id3)
653 wps_refresh(id3, 0, true); 654 wps_refresh(id3, 0, true);
654 status_draw(); 655 status_draw();
655 lcd_update(); 656 lcd_update();
657 return false;
656} 658}
657 659
658#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) 660#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR)