1
0
Fork 0
forked from len0rd/rockbox

Removed progressbar() and slidebar()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4854 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-08 13:14:44 +00:00
parent e7bb8c0428
commit 2441061764
7 changed files with 24 additions and 121 deletions

View file

@ -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);
}