From 77a458a464450c4e9d6977ac3f27b0e56217443c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 8 May 2007 11:55:43 +0000 Subject: 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 --- apps/plugins/fireworks.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/plugins/fireworks.c') 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 */ -- cgit v1.2.3