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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue