diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-07 06:51:52 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-07 06:51:52 +0000 |
commit | 640b7cbfc013a92b5ac5a37a240756f32e30f7df (patch) | |
tree | b28627fc3b8fcd1f83a9a2f38889634c9e54a921 /apps/wps-display.c | |
parent | 51484e7d6098661f9b3feac5045d03718498d997 (diff) | |
download | rockbox-640b7cbfc013a92b5ac5a37a240756f32e30f7df.tar.gz rockbox-640b7cbfc013a92b5ac5a37a240756f32e30f7df.zip |
Use splash() when displaying the end-of-playlist message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7493 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 1aa21b72f5..e562751508 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -1559,24 +1559,21 @@ bool wps_refresh(struct mp3entry* id3, | |||
1559 | bool wps_display(struct mp3entry* id3, | 1559 | bool wps_display(struct mp3entry* id3, |
1560 | struct mp3entry* nid3) | 1560 | struct mp3entry* nid3) |
1561 | { | 1561 | { |
1562 | lcd_clear_display(); | ||
1563 | |||
1564 | if (!id3 && !(audio_status() & AUDIO_STATUS_PLAY)) | 1562 | if (!id3 && !(audio_status() & AUDIO_STATUS_PLAY)) |
1565 | { | 1563 | { |
1564 | global_settings.resume_index = -1; | ||
1566 | #ifdef HAVE_LCD_CHARCELLS | 1565 | #ifdef HAVE_LCD_CHARCELLS |
1567 | lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER)); | 1566 | splash(HZ, true, str(LANG_END_PLAYLIST_PLAYER)); |
1568 | #else | 1567 | #else |
1569 | lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER)); | ||
1570 | wps_display_images(); | ||
1571 | lcd_update(); | ||
1572 | #endif | ||
1573 | global_settings.resume_index = -1; | ||
1574 | status_draw(true); | 1568 | status_draw(true); |
1575 | sleep(HZ); | 1569 | splash(HZ, true, str(LANG_END_PLAYLIST_RECORDER)); |
1570 | #endif | ||
1576 | return true; | 1571 | return true; |
1577 | } | 1572 | } |
1578 | else | 1573 | else |
1579 | { | 1574 | { |
1575 | lcd_clear_display(); | ||
1576 | |||
1580 | if (!wps_loaded) { | 1577 | if (!wps_loaded) { |
1581 | if ( !format_buffer[0] ) { | 1578 | if ( !format_buffer[0] ) { |
1582 | #ifdef HAVE_LCD_BITMAP | 1579 | #ifdef HAVE_LCD_BITMAP |