summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarkus Braun <markus.braun@krawel.de>2002-10-21 13:14:25 +0000
committerMarkus Braun <markus.braun@krawel.de>2002-10-21 13:14:25 +0000
commitbc254fe95f255e779b716ceb5ded09bda3857a2b (patch)
treebb01dd6e67cc6fe41d8ff6e0cccdeca411cde29b /apps
parentf45345edd9a8dd7b3c1dde4560fa59dbc4a387bf (diff)
downloadrockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.zip
rockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.tar.gz
rockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.tar.bz2
rockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.tar.xz
Added multiline scroll support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2729 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/wps-display.c4
-rw-r--r--apps/wps.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 3ddbc97..6bca8cb 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -530,7 +530,6 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
{
char buf[MAX_PATH];
struct format_flags flags;
- bool scroll_active = false;
int i;
#ifdef HAVE_LCD_BITMAP
/* to find out wether the peak meter is enabled we
@@ -602,9 +601,8 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
}
#endif
- if (!scroll_active && flags.scroll && !flags.dynamic)
+ if (flags.scroll && !flags.dynamic)
{
- scroll_active = true;
lcd_puts_scroll(0, i, buf);
}
else
diff --git a/apps/wps.c b/apps/wps.c
index 3c486b1..f0ba54f 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -700,6 +700,8 @@ int wps_show(void)
status_set_record(false);
status_set_audio(false);
#endif
+ lcd_stop_scroll();
+
/* set dir browser to current playing song */
if (global_settings.browse_current && id3)
set_current_file(id3->path);
@@ -833,6 +835,8 @@ int wps_show(void)
status_set_record(false);
status_set_audio(false);
#endif
+ lcd_stop_scroll();
+
/* set dir browser to current playing song */
if (global_settings.browse_current && id3)
set_current_file(id3->path);