mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
convert the xobox menu to the new API so it can be used as an example for plugin devs
Includes some fixes in the api to handle this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12907 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14fea30548
commit
1f5ee2a366
3 changed files with 31 additions and 65 deletions
|
@ -130,7 +130,7 @@ bool do_setting_from_menu(const struct menu_item_ex *temp);
|
|||
static const struct menu_item_ex name = \
|
||||
{MT_RETURN_ID|MENU_HAS_DESC| \
|
||||
MENU_ITEM_COUNT(sizeof( name##_)/sizeof(*name##_)), \
|
||||
{ .submenus = name##_},{.callback_and_desc = & name##__}};
|
||||
{ .strings = name##_},{.callback_and_desc = & name##__}};
|
||||
|
||||
|
||||
/* returns a value associated with the item */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue