forked from len0rd/rockbox
First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5c09ed38c6
commit
10b92c44b3
17 changed files with 312 additions and 199 deletions
|
|
@ -254,6 +254,7 @@ static bool recording_settings(void)
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_MAS3587F
|
||||
|
||||
bool rec_menu(void)
|
||||
{
|
||||
int m;
|
||||
|
|
@ -265,7 +266,7 @@ bool rec_menu(void)
|
|||
{ str(LANG_RECORDING_SETTINGS), recording_settings},
|
||||
};
|
||||
|
||||
m=menu_init( items, sizeof items / sizeof(struct menu_items) );
|
||||
m=menu_init( items, sizeof items / sizeof(struct menu_items), NULL );
|
||||
result = menu_run(m);
|
||||
menu_exit(m);
|
||||
|
||||
|
|
@ -290,7 +291,7 @@ bool info_menu(void)
|
|||
#endif
|
||||
};
|
||||
|
||||
m=menu_init( items, sizeof items / sizeof(struct menu_items) );
|
||||
m=menu_init( items, sizeof items / sizeof(struct menu_items), NULL );
|
||||
result = menu_run(m);
|
||||
menu_exit(m);
|
||||
|
||||
|
|
@ -336,7 +337,7 @@ bool main_menu(void)
|
|||
items[i].desc = str(LANG_INFO);
|
||||
items[i++].function = info_menu;
|
||||
|
||||
m=menu_init( items, i );
|
||||
m=menu_init( items, i, NULL );
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
status_set_param(true);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue