diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-14 21:33:53 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-14 21:33:53 +0000 |
commit | 4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8 (patch) | |
tree | c0dbd4a148a54c8c2851d95149ed6d4e91053bd6 /apps/playlist_viewer.c | |
parent | 62b095d02972ac8c6fb63ab0a38d1fa0c483b85b (diff) | |
download | rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.tar.gz rockbox-4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8.zip |
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 58052afd6b..8b9470cdca 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -685,12 +685,15 @@ static int onplay_menu(int index) | |||
685 | bool current = (tracks[index].index == viewer.current_playing_track); | 685 | bool current = (tracks[index].index == viewer.current_playing_track); |
686 | 686 | ||
687 | menu[i].desc = str(LANG_REMOVE); | 687 | menu[i].desc = str(LANG_REMOVE); |
688 | menu[i].voice_id = LANG_REMOVE; | ||
688 | i++; | 689 | i++; |
689 | 690 | ||
690 | menu[i].desc = str(LANG_MOVE); | 691 | menu[i].desc = str(LANG_MOVE); |
692 | menu[i].voice_id = LANG_MOVE; | ||
691 | i++; | 693 | i++; |
692 | 694 | ||
693 | menu[i].desc = str(LANG_FILE_OPTIONS); | 695 | menu[i].desc = str(LANG_FILE_OPTIONS); |
696 | menu[i].voice_id = LANG_FILE_OPTIONS; | ||
694 | i++; | 697 | i++; |
695 | 698 | ||
696 | m = menu_init(menu, i, NULL); | 699 | m = menu_init(menu, i, NULL); |
@@ -757,10 +760,10 @@ static bool viewer_menu(void) | |||
757 | bool result; | 760 | bool result; |
758 | 761 | ||
759 | struct menu_items items[] = { | 762 | struct menu_items items[] = { |
760 | { str(LANG_SHOW_ICONS), show_icons }, | 763 | { STR(LANG_SHOW_ICONS), show_icons }, |
761 | { str(LANG_SHOW_INDICES), show_indices }, | 764 | { STR(LANG_SHOW_INDICES), show_indices }, |
762 | { str(LANG_TRACK_DISPLAY), track_display }, | 765 | { STR(LANG_TRACK_DISPLAY), track_display }, |
763 | { str(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, | 766 | { STR(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, |
764 | }; | 767 | }; |
765 | 768 | ||
766 | m=menu_init( items, sizeof(items) / sizeof(*items), NULL ); | 769 | m=menu_init( items, sizeof(items) / sizeof(*items), NULL ); |