summaryrefslogtreecommitdiff
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-03-26 03:35:24 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-03-26 03:35:24 +0000
commit5ca15399690a686646d4739b3f4c51c62cc88b68 (patch)
tree1c12dc34bae30aedcb38bf5ceed8a2fcedc250c8 /apps/bookmark.c
parentaf395f4db6ad7b83f9d9afefb1c0ceeedd140a45 (diff)
downloadrockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.gz
rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.zip
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 1cebcd718f..1a7d58156f 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -664,7 +664,7 @@ static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resu
664 bookmarks->start = 0; 664 bookmarks->start = 0;
665 bookmarks->show_playlist_name 665 bookmarks->show_playlist_name
666 = strcmp(bookmark_file_name, RECENT_BOOKMARK_FILE) == 0; 666 = strcmp(bookmark_file_name, RECENT_BOOKMARK_FILE) == 0;
667 gui_synclist_init(&list, &get_bookmark_info, (void*) bookmarks, false, 2); 667 gui_synclist_init(&list, &get_bookmark_info, (void*) bookmarks, false, 2, NULL);
668 gui_synclist_set_title(&list, str(LANG_BOOKMARK_SELECT_BOOKMARK), 668 gui_synclist_set_title(&list, str(LANG_BOOKMARK_SELECT_BOOKMARK),
669 Icon_Bookmark); 669 Icon_Bookmark);
670 gui_syncstatusbar_draw(&statusbars, true); 670 gui_syncstatusbar_draw(&statusbars, true);
@@ -738,7 +738,7 @@ static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resu
738 { 738 {
739 ACTION_STD_OK, ACTION_BMS_DELETE 739 ACTION_STD_OK, ACTION_BMS_DELETE
740 }; 740 };
741 int selection = do_menu(&menu_items, NULL); 741 int selection = do_menu(&menu_items, NULL, NULL, false);
742 742
743 refresh = true; 743 refresh = true;
744 744