diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-08 11:55:43 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-08 11:55:43 +0000 |
commit | 77a458a464450c4e9d6977ac3f27b0e56217443c (patch) | |
tree | 526440820d32959de28747194effefb2ad6012d0 /apps/plugins/fireworks.c | |
parent | b15ef987ca75a6940313ae22f638363d50d7919e (diff) |
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
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index f564b68b85..08d4e00d68 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -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 */ |