forked from len0rd/rockbox
Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect can then return MENU_REFRESH_DIR so that the parent (any parent really) that do file or dir-accesses knows that and can do the refresh. If no refresh is needed by the parent, MENU_OK is returned. Somewhat biggish commit this close to 1.3, but we need to sort out this refresh-after-usb-connected business. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ad4a92eb87
commit
b285076925
23 changed files with 175 additions and 89 deletions
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef _GAMES_MENU_H
|
||||
#define _GAMES_MENU_H
|
||||
|
||||
void games_menu(void);
|
||||
#include "menu.h"
|
||||
|
||||
Menu games_menu(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue