From 5f6047075f682e92fe9c3faf67c6d58046ef83ae Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 8 Jul 2004 10:52:09 +0000 Subject: Patch #985429 by Christi Scarborough, solid progress bar git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4851 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/wps-display.c') 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, int percent= id3->length? (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; - slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, - percent, Grow_Right); + if(global_settings.progressbar_solid) + scrollbar(0, i*h + offset + 1, LCD_WIDTH, 6, 100, 0, + percent, HORIZONTAL); + else + slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, + percent, Grow_Right); update_line = true; } if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { -- cgit v1.2.3