summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-07 06:51:52 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-07 06:51:52 +0000
commit640b7cbfc013a92b5ac5a37a240756f32e30f7df (patch)
treeb28627fc3b8fcd1f83a9a2f38889634c9e54a921 /apps
parent51484e7d6098661f9b3feac5045d03718498d997 (diff)
downloadrockbox-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')
-rw-r--r--apps/wps-display.c15
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,
bool wps_display(struct mp3entry* id3,
struct mp3entry* nid3)
{
- lcd_clear_display();
-
if (!id3 && !(audio_status() & AUDIO_STATUS_PLAY))
{
+ global_settings.resume_index = -1;
#ifdef HAVE_LCD_CHARCELLS
- lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER));
+ splash(HZ, true, str(LANG_END_PLAYLIST_PLAYER));
#else
- lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER));
- wps_display_images();
- lcd_update();
-#endif
- global_settings.resume_index = -1;
status_draw(true);
- sleep(HZ);
+ splash(HZ, true, str(LANG_END_PLAYLIST_RECORDER));
+#endif
return true;
}
else
{
+ lcd_clear_display();
+
if (!wps_loaded) {
if ( !format_buffer[0] ) {
#ifdef HAVE_LCD_BITMAP