1
0
Fork 0
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:
Thomas Martitz 2009-02-26 17:10:27 +00:00
parent af59e2ac31
commit 15dbde1ab7
11 changed files with 66 additions and 11 deletions

View file

@ -22,6 +22,7 @@
#include "plugin.h"
#include "lib/helper.h"
#include "lib/playback_control.h"
PLUGIN_HEADER
@ -901,7 +902,7 @@ static inline void move_board (void)
static int game_menu (void)
{
MENUITEM_STRINGLIST(menu, "XOBOX Menu", NULL, "Start New Game",
"Speed","Difficulty","Quit");
"Speed","Difficulty","Playback Control","Quit");
int selection = 0;
#ifdef HAVE_LCD_COLOR
rb->lcd_set_foreground (rb->global_settings->fg_color);
@ -917,6 +918,8 @@ static int game_menu (void)
else if (selection==2)
rb->set_int ("Difficulty", "", UNIT_INT, &difficulty, NULL,
5, 50, 95, NULL);
else if (selection==3)
playback_control (NULL);
else
break;
}