diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-10-30 07:07:45 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-10-30 07:07:45 +0000 |
commit | fdd4050bc7bb36deb1fc2b2db441ffae1030cf77 (patch) | |
tree | 1a46923fa2a07c209d71929fe7b0fafb2f21daff /flash | |
parent | 25d4f4bb7a966407199c4602c3041b71994400c4 (diff) | |
download | rockbox-fdd4050bc7bb36deb1fc2b2db441ffae1030cf77.tar.gz rockbox-fdd4050bc7bb36deb1fc2b2db441ffae1030cf77.zip |
fix some problems with the menu code:
- MENU_FUNC_CHECK_RETVAL has been loosened to return if the function returns non-zero (and passes that return value on as the return value for do_menu(). This is fine for now because only 2 places uses this flag and both return 1.
- when the option screen or a function is called from a menu which doesn't use the full screen viewport the wrong viewport was used (option screen crashed, and returning from the funciton ignored the origional viewport.) This is now changed so (for now) the option screen always gets the full screen viewport and returning from functions shows the menu correctly.
Some time in the future menu items which are functions should be changed to accept a viewport (if they end up drawing).
When that happens both option screen and the called function should use the menu's parent viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18933 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash')
0 files changed, 0 insertions, 0 deletions