common, menu: add statusline support

add the possibility to show a statusline when printing a menu

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Jason Hobbs <jason.hobbs@calxeda.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Heiko Schocher
2012-01-16 21:13:20 +00:00
committed by Albert ARIBAUD
parent 9c3483113d
commit e0611dd97b
3 changed files with 14 additions and 0 deletions

View File

@@ -26,5 +26,6 @@ int menu_default_set(struct menu *m, char *item_key);
int menu_get_choice(struct menu *m, void **choice);
int menu_item_add(struct menu *m, char *item_key, void *item_data);
int menu_destroy(struct menu *m);
void menu_display_statusline(struct menu *m);
#endif /* __MENU_H__ */