mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -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
|
@ -117,7 +117,8 @@ bool do_setting_from_menu(const struct menu_item_ex *temp);
|
|||
This is always set, even if the menu was cancelled.
|
||||
If NULL it is ignored and the firs item starts selected
|
||||
*/
|
||||
int do_menu(const struct menu_item_ex *menu, int *start_selected);
|
||||
int do_menu(const struct menu_item_ex *menu, int *start_selected,
|
||||
struct viewport parent[NB_SCREENS], bool hide_bars);
|
||||
|
||||
/* In all the following macros the argument names are as follows:
|
||||
- name: The name for the variable (so it can be used in a MAKE_MENU()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue