From 77936e6ec5c2d71f605df855ed24677c307b1bc7 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 16 Mar 2004 13:44:56 +0000 Subject: 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 --- apps/playlist_menu.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/playlist_menu.c') 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) int m; bool result; - struct menu_items items[] = { + struct menu_item items[] = { { STR(LANG_CREATE_PLAYLIST), create_playlist }, { STR(LANG_VIEW_DYNAMIC_PLAYLIST), playlist_viewer }, { STR(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, { STR(LANG_RECURSE_DIRECTORY), recurse_directory }, }; - - m = menu_init( items, sizeof items / sizeof(struct menu_items), NULL ); + + m = menu_init( items, sizeof items / sizeof(struct menu_item), NULL, + NULL, NULL, NULL ); result = menu_run(m); menu_exit(m); return result; -- cgit v1.2.3