From 244106176447effe0330ef194ad93ccaadf589ff Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 8 Jul 2004 13:14:44 +0000 Subject: Removed progressbar() and slidebar() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/jpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/jpeg.c') diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index ed21222653..312fd82ce6 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -1607,8 +1607,8 @@ int wait_for_button(void) void cb_progess(int current, int total) { rb->yield(); /* be nice to the other threads */ - rb->progressbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, - current*100/total, 0 /*Grow_Right*/); + rb->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, 0, total, + current, HORIZONTAL); rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); } -- cgit v1.2.3