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
|
@ -48,6 +48,7 @@ further options:
|
|||
#include "reversi-gui.h"
|
||||
|
||||
#include "lib/oldmenuapi.h"
|
||||
#include "lib/playback_control.h"
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
|
@ -383,6 +384,7 @@ static bool reversi_gui_menu(void) {
|
|||
{ MENU_TEXT_STRAT_BLACK, NULL },
|
||||
{ MENU_TEXT_STRAT_WHITE, NULL },
|
||||
{ MENU_TEXT_WRAP_MODE, NULL },
|
||||
{ "Playback Control", NULL },
|
||||
{ "Quit", NULL },
|
||||
};
|
||||
|
||||
|
@ -422,7 +424,11 @@ static bool reversi_gui_menu(void) {
|
|||
cursor_wrap_mode = cursor_wrap_mode_values[index];
|
||||
break;
|
||||
|
||||
case 5: /* Quit */
|
||||
case 5:
|
||||
playback_control(NULL);
|
||||
break;
|
||||
|
||||
case 6: /* Quit */
|
||||
quit_plugin = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue