forked from len0rd/rockbox
option_screen() now accepts a viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17223 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
286d48f4ec
commit
fe9dca3d5b
9 changed files with 30 additions and 14 deletions
|
@ -20,9 +20,14 @@
|
|||
#define __PLAYBACK_CONTROL_H__
|
||||
|
||||
/* Use these if your menu uses the new menu api.
|
||||
REMEBER to call playback_control_init(rb) before rb->do_menu()... */
|
||||
REMEBER to call playback_control_init(rb) before rb->do_menu()...
|
||||
The parent viewport here is needed by the internal functions,
|
||||
So, make sure you use the same viewport for the rb->do_menu() call
|
||||
that you use in the playback_control_init() call
|
||||
*/
|
||||
extern const struct menu_item_ex playback_control_menu;
|
||||
void playback_control_init(struct plugin_api* newapi);
|
||||
void playback_control_init(struct plugin_api* newapi,
|
||||
struct viewport parent[NB_SCREENS]);
|
||||
|
||||
/* Use this if your menu still uses the old menu api */
|
||||
bool playback_control(struct plugin_api* api,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue