summaryrefslogtreecommitdiff
path: root/apps/plugins/reversi
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
parentaf59e2ac3114a16e25a76c611a179670b101c0b1 (diff)
downloadrockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.zip
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.gz
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.bz2
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.xz
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')
-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 5249a93..78e6f06 100644
--- a/apps/plugins/reversi/reversi-gui.c
+++ b/apps/plugins/reversi/reversi-gui.c
@@ -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;
}