summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
AgeCommit message (Collapse)AuthorFilesLines
2007-04-30Convert onplay.c to the new manu API. only plugins are still using the old ↵Jonathan Gordon1-6/+17
API now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13294 a1c6a512-1295-4272-9138-f99709370657
2007-04-22fix a bug which made menus using the old API and a callback function to not ↵Jonathan Gordon1-1/+1
work correctly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13246 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon1-29/+24
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-14Fix an off-by-one bug (hitting when menu titles are enabled) in the oldmenu ↵Jens Arnold1-1/+1
wrapper. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13149 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Give most of the items in the main menu a context menuJonathan Gordon1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13126 a1c6a512-1295-4272-9138-f99709370657
2007-04-11Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-09Stop/shutdown logic rework in browsers and menus. Recorder V1: Double-Off ↵Jens Arnold1-7/+1
shutdown is now possible from menus and sub-browsers as well. Player, other targets which are always powered during charging: Attempted shutdown from menu with charger plugged now displays the charging splash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13079 a1c6a512-1295-4272-9138-f99709370657
2007-04-08fix yellowJonathan Gordon1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13069 a1c6a512-1295-4272-9138-f99709370657
2007-04-08Give all menus using the old API a nice title and icons (except plugins)Jonathan Gordon1-4/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
2007-04-08minor actions cleanup:Jonathan Gordon1-2/+2
- CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions - (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
2007-03-30Check if a new version got installed after usb disconnect and ask if user ↵Peter D'Hoye1-0/+3
wants to reboot. Causes disk spinup before showing the usb logo. Also fixes do_menu() not returning to root_menu after usb disconnect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12972 a1c6a512-1295-4272-9138-f99709370657
2007-03-27Move all valid menu return codes to a single file (root_menu.h) so we don't ↵Jonathan Gordon1-1/+1
need to rely on GO_TO_ROOT == MENU_ATTACHED_USB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12937 a1c6a512-1295-4272-9138-f99709370657
2007-03-25convert the xobox menu to the new API so it can be used as an example for ↵Jonathan Gordon1-10/+22
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
2007-03-18Remove buffer overflow in solatiare menuJonathan Gordon1-1/+14
Make the old api -> new api wrapper in the menu safer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12831 a1c6a512-1295-4272-9138-f99709370657
2007-03-18Remove the exit_value variable.. set the MENU_FUNC_CHECK_RETVAL fla and Jonathan Gordon1-1/+1
return 1 if you want your funciton to quit the menus. save settings after clearing the background so it persists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12827 a1c6a512-1295-4272-9138-f99709370657
2007-03-18Fix improper shift and mask order causing FS#6842Jonathan Gordon1-5/+8
Set start_selected if exiting do_menu() early from more places git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12826 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Fix it dropping back to the file browser.Jonathan Gordon1-1/+1
Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12823 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Reload the menu if do_menu() is called while another menu is running Jonathan Gordon1-1/+5
(fixes crashing coming out of rec settings from fm menu) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12822 a1c6a512-1295-4272-9138-f99709370657
2007-03-17Unify the way functions are called from menus.Jonathan Gordon1-7/+13
Optionally, the functions return value can be checked for a value to tell the menu to quit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12821 a1c6a512-1295-4272-9138-f99709370657
2007-03-15put action_signalscreenchange(); in before exiting do_menu(), fixes Jonathan Gordon1-0/+1
FS#6829 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12774 a1c6a512-1295-4272-9138-f99709370657
2007-03-15This one should not have been "fixed"Jonathan Gordon1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12773 a1c6a512-1295-4272-9138-f99709370657
2007-03-15Change anywhere where do_menu()'s return value was checked and expected Jonathan Gordon1-2/+2
a bool to appear the same as the old API. Possibly fixes some bugs, but doubtful. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12772 a1c6a512-1295-4272-9138-f99709370657
2007-03-08Fix 64 bit warnings for real.Jens Arnold1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12683 a1c6a512-1295-4272-9138-f99709370657
2007-03-08Really fix the yellow this timeJonathan Gordon1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12682 a1c6a512-1295-4272-9138-f99709370657
2007-03-08fix yellowJonathan Gordon1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12681 a1c6a512-1295-4272-9138-f99709370657
2007-03-07dont crash if play is pressed in menus using the old apiJonathan Gordon1-3/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12671 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Make the old menu aPI use the new API. Both are avialable to core and Jonathan Gordon1-222/+168
rocks, but use the new API unless you absolutly have to use the old one (and file a FS bug if you do) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12670 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Fix the various bugs associated with pressing MENU to move in and out of Jonathan Gordon1-7/+10
the Rockbox Menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12666 a1c6a512-1295-4272-9138-f99709370657
2007-03-06Pressing Menu in the Rockbox Menu puts you back in the previous screen.Jonathan Gordon1-0/+2
Hopefully simplify the code a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12643 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Allow dynamic menu items to be spoken, especially the resume/now playing itemLinus Nielsen Feltzing1-1/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12614 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Allow settings to have a different title in the setting screen than they Jonathan Gordon1-9/+18
have in the menu. Fixes the scroll speed/step settings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12572 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Remove the need to double up the MENU macros in manu.h.Jonathan Gordon1-9/+9
Icons are now used by their id which must be part of the icons_6x8 enum, or Icon_NOICON for none git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12571 a1c6a512-1295-4272-9138-f99709370657
2007-03-01Centralise icon enabling to hopefully save a few bytesSteve Bavin1-7/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12540 a1c6a512-1295-4272-9138-f99709370657
2007-03-01Introducing the root menu!Jonathan Gordon1-18/+53
Blind users: get a new voice file as there are lots of lang changes and new strings. FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12528 a1c6a512-1295-4272-9138-f99709370657
2007-02-27returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit Jonathan Gordon1-0/+7
the menu when the subitem returns. Use this with the preset item context menus git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12501 a1c6a512-1295-4272-9138-f99709370657
2007-02-27Convert the radio menus to the new system.Jonathan Gordon1-0/+3
Change the way the presets are done (in code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12500 a1c6a512-1295-4272-9138-f99709370657
2007-02-26get the button bar working like it used to (hopefully)Jonathan Gordon1-127/+143
Remove tabs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12492 a1c6a512-1295-4272-9138-f99709370657
2007-02-21woops, allow the user to quit menusJonathan Gordon1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12432 a1c6a512-1295-4272-9138-f99709370657
2007-02-21Dont load the menu callback so often. Jonathan Gordon1-16/+10
Send ACTION_MENUITEM_EXIT to all menus when exiting. return value is ignored. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12431 a1c6a512-1295-4272-9138-f99709370657
2007-02-19Flip the order of some of the setting screens. (If any more are Jonathan Gordon1-3/+14
backwards let me know in the thread or IRC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12400 a1c6a512-1295-4272-9138-f99709370657
2007-02-19Convert the EQ menusJonathan Gordon1-106/+126
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12398 a1c6a512-1295-4272-9138-f99709370657
2007-02-17Convert the Display menu to the new system. Jonathan Gordon1-0/+3
http://forums.rockbox.org/index.php?topic=8703.0 for bugs... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12351 a1c6a512-1295-4272-9138-f99709370657
2007-02-16Removed some unused menu codeLinus Nielsen Feltzing1-47/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12335 a1c6a512-1295-4272-9138-f99709370657
2007-02-16fix menu exiting bug I introduced in the last commitJonathan Gordon1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12325 a1c6a512-1295-4272-9138-f99709370657
2007-02-15Remove the menu title on the player.Jonathan Gordon1-3/+4
Fix the enu callbacks so ACTION_EXIT_MENUITEM is called when exiting a menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12324 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Icons in the menus. Thanks midkay for them.Jonathan Gordon1-2/+46
Any menus which dont yet show them are not converted to the new system. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12300 a1c6a512-1295-4272-9138-f99709370657
2007-02-13remove put_cursorxy() which is not usedJonathan Gordon1-38/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12296 a1c6a512-1295-4272-9138-f99709370657
2007-02-12* Move playback menu to the new sysetm Jonathan Gordon1-2/+3
(http://forums.rockbox.org/index.php?topic=8703.0 if I broke any of those settings accidently). * Add set_int_ex() which is the same as set_int() but adds a param which is a callback that returns the voice ID to talk for the selected value * Change the "pause on headphone unplug" to use meaningful strings in the config instead of numbers, this setting will be reset. * saves ~500bytes on the rec build :D git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12285 a1c6a512-1295-4272-9138-f99709370657
2007-02-08unstatic the string buffer, fix the recording setting lang, change the Jonathan Gordon1-1/+1
menu title... aparently im the only one who thinks it should match the logo... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12233 a1c6a512-1295-4272-9138-f99709370657
2007-02-08OK, this was crazy overkill... the worst setting current Jonathan Gordon1-2/+2
(default_codepage) will _just_ fit in 128, so 256 gives plenty of headroom git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12232 a1c6a512-1295-4272-9138-f99709370657