forked from len0rd/rockbox
Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b15ef987ca
commit
77a458a464
22 changed files with 438 additions and 349 deletions
|
@ -17,6 +17,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
#include "plugin.h"
|
||||
#include "oldmenuapi.h"
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
|
@ -303,14 +304,14 @@ void fireworks_menu(void)
|
|||
rb->lcd_clear_display();
|
||||
rb->lcd_update();
|
||||
|
||||
m = rb->menu_init(items, sizeof(items) / sizeof(*items),
|
||||
m = menu_init(rb, items, sizeof(items) / sizeof(*items),
|
||||
NULL, NULL, NULL, NULL);
|
||||
|
||||
rb->button_clear_queue();
|
||||
|
||||
while(!menu_quit)
|
||||
{
|
||||
result = rb->menu_show(m);
|
||||
result = menu_show(m);
|
||||
|
||||
switch(result)
|
||||
{
|
||||
|
@ -360,7 +361,7 @@ void fireworks_menu(void)
|
|||
}
|
||||
}
|
||||
|
||||
rb->menu_exit(m);
|
||||
menu_exit(m);
|
||||
}
|
||||
|
||||
/* this is the plugin entry point */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue