mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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
This commit is contained in:
parent
af395f4db6
commit
5ca1539969
44 changed files with 202 additions and 111 deletions
|
@ -74,7 +74,7 @@ int menu_init(struct plugin_api *api, const struct menu_item* mitems,
|
|||
return -1;
|
||||
menus[menu].items = (struct menu_item*)mitems; /* de-const */
|
||||
rb->gui_synclist_init(&(menus[menu].synclist),
|
||||
&menu_get_itemname, &menus[menu], false, 1);
|
||||
&menu_get_itemname, &menus[menu], false, 1, NULL);
|
||||
rb->gui_synclist_set_icon_callback(&(menus[menu].synclist), NULL);
|
||||
rb->gui_synclist_set_nb_items(&(menus[menu].synclist), count);
|
||||
menus[menu].callback = callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue