diff options
author | Markus Braun <markus.braun@krawel.de> | 2002-10-21 13:14:25 +0000 |
---|---|---|
committer | Markus Braun <markus.braun@krawel.de> | 2002-10-21 13:14:25 +0000 |
commit | bc254fe95f255e779b716ceb5ded09bda3857a2b (patch) | |
tree | bb01dd6e67cc6fe41d8ff6e0cccdeca411cde29b /apps | |
parent | f45345edd9a8dd7b3c1dde4560fa59dbc4a387bf (diff) | |
download | rockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.tar.gz rockbox-bc254fe95f255e779b716ceb5ded09bda3857a2b.zip |
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.c | 4 | ||||
-rw-r--r-- | apps/wps.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 3ddbc974c1..6bca8cb40d 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) | |||
530 | { | 530 | { |
531 | char buf[MAX_PATH]; | 531 | char buf[MAX_PATH]; |
532 | struct format_flags flags; | 532 | struct format_flags flags; |
533 | bool scroll_active = false; | ||
534 | int i; | 533 | int i; |
535 | #ifdef HAVE_LCD_BITMAP | 534 | #ifdef HAVE_LCD_BITMAP |
536 | /* to find out wether the peak meter is enabled we | 535 | /* 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) | |||
602 | } | 601 | } |
603 | #endif | 602 | #endif |
604 | 603 | ||
605 | if (!scroll_active && flags.scroll && !flags.dynamic) | 604 | if (flags.scroll && !flags.dynamic) |
606 | { | 605 | { |
607 | scroll_active = true; | ||
608 | lcd_puts_scroll(0, i, buf); | 606 | lcd_puts_scroll(0, i, buf); |
609 | } | 607 | } |
610 | else | 608 | else |
diff --git a/apps/wps.c b/apps/wps.c index 3c486b1786..f0ba54f3a3 100644 --- a/apps/wps.c +++ b/apps/wps.c | |||
@@ -700,6 +700,8 @@ int wps_show(void) | |||
700 | status_set_record(false); | 700 | status_set_record(false); |
701 | status_set_audio(false); | 701 | status_set_audio(false); |
702 | #endif | 702 | #endif |
703 | lcd_stop_scroll(); | ||
704 | |||
703 | /* set dir browser to current playing song */ | 705 | /* set dir browser to current playing song */ |
704 | if (global_settings.browse_current && id3) | 706 | if (global_settings.browse_current && id3) |
705 | set_current_file(id3->path); | 707 | set_current_file(id3->path); |
@@ -833,6 +835,8 @@ int wps_show(void) | |||
833 | status_set_record(false); | 835 | status_set_record(false); |
834 | status_set_audio(false); | 836 | status_set_audio(false); |
835 | #endif | 837 | #endif |
838 | lcd_stop_scroll(); | ||
839 | |||
836 | /* set dir browser to current playing song */ | 840 | /* set dir browser to current playing song */ |
837 | if (global_settings.browse_current && id3) | 841 | if (global_settings.browse_current && id3) |
838 | set_current_file(id3->path); | 842 | set_current_file(id3->path); |