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
|
|
@ -193,7 +193,7 @@ static bool playlist_options(void)
|
|||
i++;
|
||||
}
|
||||
|
||||
m = menu_init( menu, i );
|
||||
m = menu_init( menu, i, NULL );
|
||||
result = menu_show(m);
|
||||
if (result >= 0 && result < pstart)
|
||||
ret = menu[result].function();
|
||||
|
|
@ -580,7 +580,7 @@ int onplay(char* file, int attr)
|
|||
i++;
|
||||
|
||||
/* DIY menu handling, since we want to exit after selection */
|
||||
m = menu_init( menu, i );
|
||||
m = menu_init( menu, i, NULL );
|
||||
result = menu_show(m);
|
||||
if (result >= 0)
|
||||
menu[result].function();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue