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
|
@ -22,6 +22,7 @@
|
|||
#include "clock.h"
|
||||
#include "clock_bitmaps.h"
|
||||
#include "clock_settings.h"
|
||||
#include "lib/playback_control.h"
|
||||
|
||||
/* Option structs (possible selections per each option) */
|
||||
static const struct opt_items noyes_text[] = {
|
||||
|
@ -210,7 +211,8 @@ bool main_menu(void){
|
|||
bool exit_clock=false;
|
||||
|
||||
MENUITEM_STRINGLIST(menu,"Clock Menu",NULL,"View Clock","Mode Selector",
|
||||
"Mode Settings","General Settings","Quit");
|
||||
"Mode Settings","General Settings","Playback Control",
|
||||
"Quit");
|
||||
|
||||
while(!done){
|
||||
switch(rb->do_menu(&menu, &selection, NULL, false)){
|
||||
|
@ -235,6 +237,10 @@ bool main_menu(void){
|
|||
break;
|
||||
|
||||
case 4:
|
||||
playback_control(NULL);
|
||||
break;
|
||||
|
||||
case 5:
|
||||
exit_clock = true;
|
||||
done = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue