1
0
Fork 0
forked from len0rd/rockbox

Only redraw the status line when info actually changed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-04-23 11:26:25 +00:00
parent 10fd7b6c3b
commit 942bc9449e
12 changed files with 93 additions and 65 deletions

View file

@ -167,7 +167,7 @@ static void menu_draw(int m)
LCD_HEIGHT - SCROLLBAR_Y, menus[m].itemcount, menus[m].top,
menus[m].top + menu_lines, VERTICAL);
#endif
status_draw();
status_draw(true);
lcd_update();
}
@ -332,7 +332,7 @@ int menu_show(int m)
return MENU_ATTACHED_USB;
}
status_draw();
status_draw(false);
}
return MENU_SELECTED_EXIT;
}