mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
1e0ae1be63
commit
21b415df56
6 changed files with 40 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue