diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-02-26 17:10:27 +0000 |
commit | 15dbde1ab76cebd553e278a144e3e56d3b1f39d4 (patch) | |
tree | 08ba4cee139b1486abb64b97ea6e58b86d3c5415 /apps/plugins/chessbox/chessbox.c | |
parent | af59e2ac3114a16e25a76c611a179670b101c0b1 (diff) | |
download | rockbox-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/chessbox/chessbox.c')
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 1504f8a7cb..5f67d44808 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -25,6 +25,7 @@ #ifdef HAVE_LCD_BITMAP +#include "lib/playback_control.h" #include "gnuchess.h" #include "opening.h" #include "chessbox_pgn.h" @@ -587,7 +588,8 @@ static int cb_menu(void) bool menu_quit = false; MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", - "Save Game", "Restore Game", "Quit"); + "Save Game", "Restore Game", "Playback Control", + "Quit"); while(!menu_quit) { @@ -610,6 +612,9 @@ static int cb_menu(void) menu_quit = true; break; case 4: + playback_control(NULL); + break; + case 5: result = COMMAND_QUIT; menu_quit = true; break; |