summaryrefslogtreecommitdiff
path: root/apps/plugins/reversi/reversi-gui.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-02-26 17:10:27 +0000
committerThomas Martitz <kugel@rockbox.org>2009-02-26 17:10:27 +0000
commit15dbde1ab76cebd553e278a144e3e56d3b1f39d4 (patch)
tree08ba4cee139b1486abb64b97ea6e58b86d3c5415 /apps/plugins/reversi/reversi-gui.c
parentaf59e2ac3114a16e25a76c611a179670b101c0b1 (diff)
downloadrockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.gz
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.zip
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
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.c')
-rw-r--r--apps/plugins/reversi/reversi-gui.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c
index 5249a93efd..78e6f068c1 100644
--- a/apps/plugins/reversi/reversi-gui.c
+++ b/apps/plugins/reversi/reversi-gui.c
@@ -48,6 +48,7 @@ further options:
48#include "reversi-gui.h" 48#include "reversi-gui.h"
49 49
50#include "lib/oldmenuapi.h" 50#include "lib/oldmenuapi.h"
51#include "lib/playback_control.h"
51 52
52PLUGIN_HEADER 53PLUGIN_HEADER
53 54
@@ -383,6 +384,7 @@ static bool reversi_gui_menu(void) {
383 { MENU_TEXT_STRAT_BLACK, NULL }, 384 { MENU_TEXT_STRAT_BLACK, NULL },
384 { MENU_TEXT_STRAT_WHITE, NULL }, 385 { MENU_TEXT_STRAT_WHITE, NULL },
385 { MENU_TEXT_WRAP_MODE, NULL }, 386 { MENU_TEXT_WRAP_MODE, NULL },
387 { "Playback Control", NULL },
386 { "Quit", NULL }, 388 { "Quit", NULL },
387 }; 389 };
388 390
@@ -422,7 +424,11 @@ static bool reversi_gui_menu(void) {
422 cursor_wrap_mode = cursor_wrap_mode_values[index]; 424 cursor_wrap_mode = cursor_wrap_mode_values[index];
423 break; 425 break;
424 426
425 case 5: /* Quit */ 427 case 5:
428 playback_control(NULL);
429 break;
430
431 case 6: /* Quit */
426 quit_plugin = true; 432 quit_plugin = true;
427 break; 433 break;
428 } 434 }