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:
parent
e7bb8c0428
commit
2441061764
7 changed files with 24 additions and 121 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue