mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
allow the plugin playback control menu to be put in a viewport.
fix text editor so it is actually possible to get to the control menu if the file hasnt been changed (its in the regular menu now) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17221 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
45f6469ad1
commit
33b785e40b
10 changed files with 19 additions and 12 deletions
|
@ -108,8 +108,9 @@ void playback_control_init(struct plugin_api* newapi)
|
|||
api = newapi;
|
||||
}
|
||||
|
||||
bool playback_control(struct plugin_api* newapi)
|
||||
bool playback_control(struct plugin_api* newapi,
|
||||
struct viewport parent[NB_SCREENS])
|
||||
{
|
||||
api = newapi;
|
||||
return api->do_menu(&playback_control_menu, NULL, NULL, false) == MENU_ATTACHED_USB;
|
||||
return api->do_menu(&playback_control_menu, NULL, parent, false) == MENU_ATTACHED_USB;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue