Give all menus using the old API a nice title and icons (except plugins)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-08 05:52:47 +00:00
parent 1e0ae1be63
commit 21b415df56
6 changed files with 40 additions and 10 deletions

View file

@ -189,6 +189,7 @@ struct menu_item {
bool (*function) (void); /* return true if USB was connected */
};
/* if button2 == button3 == NULL, button1 is the menu title */
int menu_init(const struct menu_item* mitems, int count,
int (*callback)(int, int),
const char *button1, const char *button2, const char *button3);