summaryrefslogtreecommitdiff
path: root/apps/menu.c (follow)
Commit message (Collapse)AuthorAge
...
* Give all menus using the old API a nice title and icons (except plugins)Jonathan Gordon2007-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 a1c6a512-1295-4272-9138-f99709370657
* minor actions cleanup:Jonathan Gordon2007-04-08
| | | | | | | | - 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
* Check if a new version got installed after usb disconnect and ask if user ↵Peter D'Hoye2007-03-30
| | | | | | 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
* Move all valid menu return codes to a single file (root_menu.h) so we don't ↵Jonathan Gordon2007-03-27
| | | | | | 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
* convert the xobox menu to the new API so it can be used as an example for ↵Jonathan Gordon2007-03-25
| | | | | | | | | 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
* Remove buffer overflow in solatiare menuJonathan Gordon2007-03-18
| | | | | | | 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
* Remove the exit_value variable.. set the MENU_FUNC_CHECK_RETVAL fla and Jonathan Gordon2007-03-18
| | | | | | | | 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
* Fix improper shift and mask order causing FS#6842Jonathan Gordon2007-03-18
| | | | | | | 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
* Fix it dropping back to the file browser.Jonathan Gordon2007-03-17
| | | | | | | Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12823 a1c6a512-1295-4272-9138-f99709370657
* Reload the menu if do_menu() is called while another menu is running Jonathan Gordon2007-03-17
| | | | | | | (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
* Unify the way functions are called from menus.Jonathan Gordon2007-03-17
| | | | | | | | 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
* put action_signalscreenchange(); in before exiting do_menu(), fixes Jonathan Gordon2007-03-15
| | | | | | | FS#6829 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12774 a1c6a512-1295-4272-9138-f99709370657
* This one should not have been "fixed"Jonathan Gordon2007-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12773 a1c6a512-1295-4272-9138-f99709370657
* Change anywhere where do_menu()'s return value was checked and expected Jonathan Gordon2007-03-15
| | | | | | | | 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
* Fix 64 bit warnings for real.Jens Arnold2007-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12683 a1c6a512-1295-4272-9138-f99709370657
* Really fix the yellow this timeJonathan Gordon2007-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12682 a1c6a512-1295-4272-9138-f99709370657
* fix yellowJonathan Gordon2007-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12681 a1c6a512-1295-4272-9138-f99709370657
* dont crash if play is pressed in menus using the old apiJonathan Gordon2007-03-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12671 a1c6a512-1295-4272-9138-f99709370657
* Make the old menu aPI use the new API. Both are avialable to core and Jonathan Gordon2007-03-07
| | | | | | | | 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
* Fix the various bugs associated with pressing MENU to move in and out of Jonathan Gordon2007-03-07
| | | | | | | the Rockbox Menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12666 a1c6a512-1295-4272-9138-f99709370657
* Pressing Menu in the Rockbox Menu puts you back in the previous screen.Jonathan Gordon2007-03-06
| | | | | | | Hopefully simplify the code a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12643 a1c6a512-1295-4272-9138-f99709370657
* Allow dynamic menu items to be spoken, especially the resume/now playing itemLinus Nielsen Feltzing2007-03-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12614 a1c6a512-1295-4272-9138-f99709370657
* Allow settings to have a different title in the setting screen than they Jonathan Gordon2007-03-03
| | | | | | | | 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
* Remove the need to double up the MENU macros in manu.h.Jonathan Gordon2007-03-03
| | | | | | | | 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
* Centralise icon enabling to hopefully save a few bytesSteve Bavin2007-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12540 a1c6a512-1295-4272-9138-f99709370657
* Introducing the root menu!Jonathan Gordon2007-03-01
| | | | | | | | | 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
* returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit Jonathan Gordon2007-02-27
| | | | | | | | 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
* Convert the radio menus to the new system.Jonathan Gordon2007-02-27
| | | | | | | Change the way the presets are done (in code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12500 a1c6a512-1295-4272-9138-f99709370657
* get the button bar working like it used to (hopefully)Jonathan Gordon2007-02-26
| | | | | | | Remove tabs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12492 a1c6a512-1295-4272-9138-f99709370657
* woops, allow the user to quit menusJonathan Gordon2007-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12432 a1c6a512-1295-4272-9138-f99709370657
* Dont load the menu callback so often. Jonathan Gordon2007-02-21
| | | | | | | | 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
* Flip the order of some of the setting screens. (If any more are Jonathan Gordon2007-02-19
| | | | | | | backwards let me know in the thread or IRC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12400 a1c6a512-1295-4272-9138-f99709370657
* Convert the EQ menusJonathan Gordon2007-02-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12398 a1c6a512-1295-4272-9138-f99709370657
* Convert the Display menu to the new system. Jonathan Gordon2007-02-17
| | | | | | | 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
* Removed some unused menu codeLinus Nielsen Feltzing2007-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12335 a1c6a512-1295-4272-9138-f99709370657
* fix menu exiting bug I introduced in the last commitJonathan Gordon2007-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12325 a1c6a512-1295-4272-9138-f99709370657
* Remove the menu title on the player.Jonathan Gordon2007-02-15
| | | | | | | | 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
* Icons in the menus. Thanks midkay for them.Jonathan Gordon2007-02-14
| | | | | | | 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
* remove put_cursorxy() which is not usedJonathan Gordon2007-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12296 a1c6a512-1295-4272-9138-f99709370657
* * Move playback menu to the new sysetm Jonathan Gordon2007-02-12
| | | | | | | | | | | | | (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
* unstatic the string buffer, fix the recording setting lang, change the Jonathan Gordon2007-02-08
| | | | | | | | 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
* OK, this was crazy overkill... the worst setting current Jonathan Gordon2007-02-08
| | | | | | | | (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
* Convert the sound menu to the new systemJonathan Gordon2007-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12230 a1c6a512-1295-4272-9138-f99709370657
* beginning of the new menu system. This commit shouldnt break anything, Jonathan Gordon2007-02-08
| | | | | | | | | but comming ones might.. report bugs in http://forums.rockbox.org/index.php?topic=8703.0 and more info at http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
* More static'ing, and a few fixes resulting from that.Jens Arnold2006-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
* dont allow the volume setting to wrapJonathan Gordon2006-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
* Somebody found a way to nest 6 menus deep. Congratulations. Fixes FS#5970Peter D'Hoye2006-09-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10962 a1c6a512-1295-4272-9138-f99709370657
* Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing2006-08-15
| | | | | | Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
* Committing FS#5182 - One button hold for Horizontal screen scrolling.Shachar Liberman2006-08-12
| | | | | | | =>hold RIGHT or LEFT button on a GUI based list to scroll horizontally. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10545 a1c6a512-1295-4272-9138-f99709370657
* added support remote support for the id3 infos screen (had to slightly ↵Kevin Ferrare2006-07-02
| | | | | | change the list engine to use it here as well), corrected a mistake in the french translation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657