diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-08 10:52:09 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-08 10:52:09 +0000 |
commit | 5f6047075f682e92fe9c3faf67c6d58046ef83ae (patch) | |
tree | b7d6e33e00aed4c7e8c32f2ac47258fe7299b665 /apps/wps-display.c | |
parent | 64c53c6dc25b70ef469398b1362a64c4f4413aad (diff) | |
download | rockbox-5f6047075f682e92fe9c3faf67c6d58046ef83ae.tar.gz rockbox-5f6047075f682e92fe9c3faf67c6d58046ef83ae.zip |
Patch #985429 by Christi Scarborough, solid progress bar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4851 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 17e5fa5aca..701d2e2d21 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -916,8 +916,12 @@ bool wps_refresh(struct mp3entry* id3, | |||
916 | int percent= | 916 | int percent= |
917 | id3->length? | 917 | id3->length? |
918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; | 918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; |
919 | slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, | 919 | if(global_settings.progressbar_solid) |
920 | percent, Grow_Right); | 920 | scrollbar(0, i*h + offset + 1, LCD_WIDTH, 6, 100, 0, |
921 | percent, HORIZONTAL); | ||
922 | else | ||
923 | slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, | ||
924 | percent, Grow_Right); | ||
921 | update_line = true; | 925 | update_line = true; |
922 | } | 926 | } |
923 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { | 927 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { |