diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-16 13:44:56 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-16 13:44:56 +0000 |
commit | 77936e6ec5c2d71f605df855ed24677c307b1bc7 (patch) | |
tree | f58c287f2a9f575c764b026116e32787c6c5bc0e /apps/playlist_menu.c | |
parent | ce0878bd40ea07d126181d1827a235f7c3ee1b00 (diff) | |
download | rockbox-77936e6ec5c2d71f605df855ed24677c307b1bc7.tar.gz rockbox-77936e6ec5c2d71f605df855ed24677c307b1bc7.zip |
First shot at a nice little button bar at the bottom of the recorder LCD. Enable Button Bar in the Display settings. Only the dir browser uses it at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_menu.c')
-rw-r--r-- | apps/playlist_menu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/playlist_menu.c b/apps/playlist_menu.c index 9da13c335b..da1f9f3734 100644 --- a/apps/playlist_menu.c +++ b/apps/playlist_menu.c | |||
@@ -66,14 +66,15 @@ bool playlist_menu(void) | |||
66 | int m; | 66 | int m; |
67 | bool result; | 67 | bool result; |
68 | 68 | ||
69 | struct menu_items items[] = { | 69 | struct menu_item items[] = { |
70 | { STR(LANG_CREATE_PLAYLIST), create_playlist }, | 70 | { STR(LANG_CREATE_PLAYLIST), create_playlist }, |
71 | { STR(LANG_VIEW_DYNAMIC_PLAYLIST), playlist_viewer }, | 71 | { STR(LANG_VIEW_DYNAMIC_PLAYLIST), playlist_viewer }, |
72 | { STR(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, | 72 | { STR(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, |
73 | { STR(LANG_RECURSE_DIRECTORY), recurse_directory }, | 73 | { STR(LANG_RECURSE_DIRECTORY), recurse_directory }, |
74 | }; | 74 | }; |
75 | 75 | ||
76 | m = menu_init( items, sizeof items / sizeof(struct menu_items), NULL ); | 76 | m = menu_init( items, sizeof items / sizeof(struct menu_item), NULL, |
77 | NULL, NULL, NULL ); | ||
77 | result = menu_run(m); | 78 | result = menu_run(m); |
78 | menu_exit(m); | 79 | menu_exit(m); |
79 | return result; | 80 | return result; |