Commit graph

4 commits

Author SHA1 Message Date
Daniel Stenberg
b285076925 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
2002-08-23 12:32:52 +00:00
Björn Stenberg
60b356ea25 Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:08:11 +00:00
Daniel Stenberg
6a6217a2e5 include config.h first, then #ifdef on features
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1143 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:57:59 +00:00
Robert Hak
3827d4764b games and screensavers are now in submenus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1142 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 08:51:28 +00:00