summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:53:53 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:53:53 +0000
commitbf2a02f9ba613aaefd23440911550e8080e14e32 (patch)
tree795646ad5de048df2b8d728c97a59d771b48eeca /apps
parent689eef3342fa6092c87e8cc8a033e1d4210ba1ea (diff)
downloadrockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.tar.gz
rockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.zip
Oooops! Forgot to update the radio code for the button bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4397 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/radio.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 86e11f9546..5430279f85 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -580,7 +580,7 @@ void radio_load_presets(void)
580 580
581bool radio_preset_select(void) 581bool radio_preset_select(void)
582{ 582{
583 struct menu_items menu[MAX_PRESETS]; 583 struct menu_item menu[MAX_PRESETS];
584 int m, result; 584 int m, result;
585 int i; 585 int i;
586 bool reload_dir = false; 586 bool reload_dir = false;
@@ -605,7 +605,7 @@ bool radio_preset_select(void)
605 if(num_presets) 605 if(num_presets)
606 { 606 {
607 /* DIY menu handling, since we want to exit after selection */ 607 /* DIY menu handling, since we want to exit after selection */
608 m = menu_init( menu, num_presets, NULL ); 608 m = menu_init( menu, num_presets, NULL, NULL, NULL, NULL );
609 result = menu_show(m); 609 result = menu_show(m);
610 menu_exit(m); 610 menu_exit(m);
611 if (result == MENU_SELECTED_EXIT) 611 if (result == MENU_SELECTED_EXIT)
@@ -655,7 +655,7 @@ static bool radio_add_preset(void)
655 655
656bool radio_delete_preset(void) 656bool radio_delete_preset(void)
657{ 657{
658 struct menu_items menu[MAX_PRESETS]; 658 struct menu_item menu[MAX_PRESETS];
659 int m, result; 659 int m, result;
660 int i; 660 int i;
661 bool reload_dir = false; 661 bool reload_dir = false;
@@ -678,7 +678,7 @@ bool radio_delete_preset(void)
678 } 678 }
679 679
680 /* DIY menu handling, since we want to exit after selection */ 680 /* DIY menu handling, since we want to exit after selection */
681 m = menu_init( menu, num_presets, NULL ); 681 m = menu_init( menu, num_presets, NULL, NULL, NULL, NULL );
682 result = menu_show(m); 682 result = menu_show(m);
683 menu_exit(m); 683 menu_exit(m);
684 if (result == MENU_SELECTED_EXIT) 684 if (result == MENU_SELECTED_EXIT)
@@ -716,7 +716,7 @@ static bool fm_recording_settings(void)
716 716
717bool radio_menu(void) 717bool radio_menu(void)
718{ 718{
719 struct menu_items radio_menu_items[] = { 719 struct menu_item radio_menu_items[] = {
720 { STR(LANG_FM_SAVE_PRESET), radio_add_preset }, 720 { STR(LANG_FM_SAVE_PRESET), radio_add_preset },
721 { STR(LANG_FM_DELETE_PRESET), radio_delete_preset }, 721 { STR(LANG_FM_DELETE_PRESET), radio_delete_preset },
722 { STR(LANG_SOUND_SETTINGS), sound_menu }, 722 { STR(LANG_SOUND_SETTINGS), sound_menu },
@@ -726,7 +726,8 @@ bool radio_menu(void)
726 bool result; 726 bool result;
727 727
728 m = menu_init( radio_menu_items, 728 m = menu_init( radio_menu_items,
729 sizeof radio_menu_items / sizeof(struct menu_items), NULL ); 729 sizeof radio_menu_items / sizeof(struct menu_item), NULL,
730 NULL, NULL, NULL);
730 result = menu_run(m); 731 result = menu_run(m);
731 menu_exit(m); 732 menu_exit(m);
732 return result; 733 return result;