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
|
@ -25,6 +25,7 @@
|
|||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
#include "lib/playback_control.h"
|
||||
#include "gnuchess.h"
|
||||
#include "opening.h"
|
||||
#include "chessbox_pgn.h"
|
||||
|
@ -587,7 +588,8 @@ static int cb_menu(void)
|
|||
bool menu_quit = false;
|
||||
|
||||
MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game",
|
||||
"Save Game", "Restore Game", "Quit");
|
||||
"Save Game", "Restore Game", "Playback Control",
|
||||
"Quit");
|
||||
|
||||
while(!menu_quit)
|
||||
{
|
||||
|
@ -610,6 +612,9 @@ static int cb_menu(void)
|
|||
menu_quit = true;
|
||||
break;
|
||||
case 4:
|
||||
playback_control(NULL);
|
||||
break;
|
||||
case 5:
|
||||
result = COMMAND_QUIT;
|
||||
menu_quit = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue