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) | |
download | rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.gz rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.zip |
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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #include "plugin.h" | 19 | #include "plugin.h" |
20 | #include "oldmenuapi.h" | ||
20 | 21 | ||
21 | PLUGIN_HEADER | 22 | PLUGIN_HEADER |
22 | 23 | ||
@@ -303,14 +304,14 @@ void fireworks_menu(void) | |||
303 | rb->lcd_clear_display(); | 304 | rb->lcd_clear_display(); |
304 | rb->lcd_update(); | 305 | rb->lcd_update(); |
305 | 306 | ||
306 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), | 307 | m = menu_init(rb, items, sizeof(items) / sizeof(*items), |
307 | NULL, NULL, NULL, NULL); | 308 | NULL, NULL, NULL, NULL); |
308 | 309 | ||
309 | rb->button_clear_queue(); | 310 | rb->button_clear_queue(); |
310 | 311 | ||
311 | while(!menu_quit) | 312 | while(!menu_quit) |
312 | { | 313 | { |
313 | result = rb->menu_show(m); | 314 | result = menu_show(m); |
314 | 315 | ||
315 | switch(result) | 316 | switch(result) |
316 | { | 317 | { |
@@ -360,7 +361,7 @@ void fireworks_menu(void) | |||
360 | } | 361 | } |
361 | } | 362 | } |
362 | 363 | ||
363 | rb->menu_exit(m); | 364 | menu_exit(m); |
364 | } | 365 | } |
365 | 366 | ||
366 | /* this is the plugin entry point */ | 367 | /* this is the plugin entry point */ |