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/solitaire.c | |
| parent | b15ef987ca75a6940313ae22f638363d50d7919e (diff) | |
| download | rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.zip rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.gz rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.bz2 rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.xz | |
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/solitaire.c')
| -rw-r--r-- | apps/plugins/solitaire.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index a73e2c0..85d4efd 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -36,6 +36,7 @@ use F3 to put card on top of the remains' stack on one of the 4 final stacks #include "configfile.h" #include "button.h" #include "lcd.h" +#include "oldmenuapi.h" #ifdef HAVE_LCD_BITMAP @@ -612,10 +613,10 @@ int solitaire_menu(bool in_game) create_draw_option_string(); create_unhide_option_string(); - m = rb->menu_init(items, i, NULL, NULL, NULL, NULL); + m = menu_init(rb, items, i, NULL, NULL, NULL, NULL); while (result < 0) { - switch (rb->menu_show(m)) + switch (menu_show(m)) { case MENU_SELECTED_EXIT: result = MENU_RESUME; @@ -662,7 +663,7 @@ int solitaire_menu(bool in_game) break; } } - rb->menu_exit(m); + menu_exit(m); rb->lcd_setmargins(0, 0); return result; } |