From 15dbde1ab76cebd553e278a144e3e56d3b1f39d4 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 26 Feb 2009 17:10:27 +0000 Subject: 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 --- apps/plugins/bubbles.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'apps/plugins/bubbles.c') diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index c776b6768e..1d199e80b2 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c @@ -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); -- cgit v1.2.3