forked from len0rd/rockbox
Accept the first patch at FS#9953 - Add Playback Control to more plugins, by Joshua Simmons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20111 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
af59e2ac31
commit
15dbde1ab7
11 changed files with 66 additions and 11 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "lib/xlcd.h"
|
||||
#include "lib/configfile.h"
|
||||
#include "lib/helper.h"
|
||||
#include "lib/playback_control.h"
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
|
@ -704,7 +705,7 @@ static int chopMenu(int menunum)
|
|||
};
|
||||
|
||||
MENUITEM_STRINGLIST(menu,"Chopper Menu",NULL,"Start New Game","Resume Game",
|
||||
"Level","Quit");
|
||||
"Level","Playback Control","Quit");
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
rb->lcd_set_foreground(LCD_WHITE);
|
||||
|
@ -736,6 +737,9 @@ static int chopMenu(int menunum)
|
|||
rb->set_option("Level", &iLevelMode, INT, levels, 2, NULL);
|
||||
break;
|
||||
case 3:
|
||||
playback_control(NULL);
|
||||
break;
|
||||
case 4:
|
||||
menu_quit=true;
|
||||
res = PLUGIN_OK;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue