Commit graph

4 commits

Author SHA1 Message Date
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
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
Daniel Stenberg
2426025bbf fixed show_logo()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@817 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 09:49:54 +00:00
Björn Stenberg
3ed2874669 Proper declaration of show_splash and main_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@702 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:51:39 +00:00