diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-26 03:35:24 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-26 03:35:24 +0000 |
| commit | 5ca15399690a686646d4739b3f4c51c62cc88b68 (patch) | |
| tree | 1c12dc34bae30aedcb38bf5ceed8a2fcedc250c8 /apps/root_menu.c | |
| parent | af395f4db6ad7b83f9d9afefb1c0ceeedd140a45 (diff) | |
| download | rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.zip rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.gz rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.bz2 rockbox-5ca15399690a686646d4739b3f4c51c62cc88b68.tar.xz | |
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/root_menu.c')
| -rw-r--r-- | apps/root_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index abf3269..ae7f92f 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -221,7 +221,7 @@ static int browser(void* param) static int menu(void* param) { (void)param; - return do_menu(NULL, 0); + return do_menu(NULL, 0, NULL, false); } #ifdef HAVE_RECORDING @@ -292,7 +292,7 @@ static int plugins_menu(void* param) int selection = 0, current = 0; while (retval == GO_TO_PREVIOUS) { - selection = do_menu(&plugins_menu_items, ¤t); + selection = do_menu(&plugins_menu_items, ¤t, NULL, false); switch (selection) { case 0: @@ -483,7 +483,7 @@ static int load_context_screen(int selection) } if (context_menu) - return do_menu(context_menu, NULL); + return do_menu(context_menu, NULL, NULL, false); else return GO_TO_PREVIOUS; } @@ -540,7 +540,7 @@ void root_menu(void) case GO_TO_ROOT: if (last_screen != GO_TO_ROOT) selected = get_selection(last_screen); - next_screen = do_menu(&root_menu_, &selected); + next_screen = do_menu(&root_menu_, &selected, NULL, false); if (next_screen != GO_TO_PREVIOUS) last_screen = GO_TO_ROOT; break; |