summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.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/wormlet.c
parentaf59e2ac3114a16e25a76c611a179670b101c0b1 (diff)
downloadrockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.gz
rockbox-15dbde1ab76cebd553e278a144e3e56d3b1f39d4.tar.bz2
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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 63eb43f258..2eed1aa357 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -21,6 +21,7 @@
#include "plugin.h"
#include "lib/configfile.h"
#include "lib/helper.h"
+#include "lib/playback_control.h"
PLUGIN_HEADER
@@ -2671,7 +2672,7 @@ enum plugin_status plugin_start(const void* parameter)
"Number of Worms", "Number of Players", "Control Style",
"Worm Growth Per Food","Worm Speed","Arghs Per Food",
"Argh Size","Food Size","Revert to Default Settings",
- "Quit");
+ "Playback Control", "Quit");
rb->button_clear_queue();
@@ -2768,6 +2769,9 @@ enum plugin_status plugin_start(const void* parameter)
if (new_setting == 1)
default_settings();
break;
+ case 10:
+ playback_control(NULL);
+ break;
default:
menu_quit=1;
break;