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

@ -28,6 +28,7 @@
#include "lib/xlcd.h"
#include "lib/pluginlib_actions.h"
#include "lib/fixedpoint.h"
#include "lib/playback_control.h"
PLUGIN_HEADER
@ -2398,7 +2399,8 @@ static int bubbles(struct game_context* bb) {
********************/
MENUITEM_STRINGLIST(menu,"Bubbles Menu",NULL,
"Start New Game", "Resume Game",
"Level", "Display High Scores", "Quit");
"Level", "Display High Scores", "Playback Control",
"Quit");
while(!startgame){
switch (rb->do_menu(&menu, NULL, NULL, false))
{
@ -2421,7 +2423,10 @@ static int bubbles(struct game_context* bb) {
case 3: /* High scores */
bubbles_displayscores(bb);
break;
case 4: /* quit */
case 4: /* Playback Control */
playback_control(NULL);
break;
case 5: /* quit */
return BB_QUIT;
case MENU_ATTACHED_USB:
bubbles_callback(bb);