summaryrefslogtreecommitdiff
path: root/apps/menu.c
AgeCommit message (Collapse)Author
2007-02-21woops, allow the user to quit menusJonathan Gordon
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 Gordon
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 Gordon
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 Gordon
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 Gordon
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 Feltzing
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 Gordon
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 Gordon
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 Gordon
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 Gordon
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 Gordon
(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 Gordon
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 Gordon
(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
2007-02-08Convert the sound menu to the new systemJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12230 a1c6a512-1295-4272-9138-f99709370657
2007-02-08beginning of the new menu system. This commit shouldnt break anything, Jonathan Gordon
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
2006-12-12More static'ing, and a few fixes resulting from that.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-11-06dont allow the volume setting to wrapJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
2006-09-16Somebody found a way to nest 6 menus deep. Congratulations. Fixes FS#5970Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10962 a1c6a512-1295-4272-9138-f99709370657
2006-08-15Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing
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
2006-08-12Committing FS#5182 - One button hold for Horizontal screen scrolling.Shachar Liberman
=>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
2006-07-02added support remote support for the id3 infos screen (had to slightly ↵Kevin Ferrare
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
2005-12-05kill gcc4 warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-11-16show/hide icons now works properly in playlist viewerKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7911 a1c6a512-1295-4272-9138-f99709370657
2005-11-09Fixed the icon for unknown file types on the archos Player, and the bug when ↵Kevin Ferrare
removing the last file on the screen in filetree, added some code for playlists integration with multi-screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
2005-11-04Fixed a bug in the multi-screen menus, the statusbar wasn't refreshed when ↵Kevin Ferrare
coming from some custom wps that erases it ; Initial support for options in the menus git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7747 a1c6a512-1295-4272-9138-f99709370657
2005-11-03Fixed a bug whith the multi-screen menus : when entering / leaving a menu, ↵Kevin Ferrare
the selected item was not voiced git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7739 a1c6a512-1295-4272-9138-f99709370657
2005-10-31Corrected a small bug about status bar not refreshing the clock in menus on ↵Kevin Ferrare
archos, added some H1x0 remote key bindings (thanks Stephan Wezel for the patch ! ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7698 a1c6a512-1295-4272-9138-f99709370657
2005-10-30A small visual bug fixed with menus when in some cases the status bar was ↵Kevin Ferrare
not redrawn git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7695 a1c6a512-1295-4272-9138-f99709370657
2005-10-30oops a little warning in menu.c, fixedKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7694 a1c6a512-1295-4272-9138-f99709370657
2005-10-30Partial menus support on remote (only browsing is working, changing option ↵Kevin Ferrare
isn't), corrected a bug in gui_list about scrollbar beeing displayed sometimes when it musn't git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7693 a1c6a512-1295-4272-9138-f99709370657
2005-10-08Adjust menu scrollbar height to the actual text height. Idea taken from ↵Jens Arnold
patch #1306243 by Stephan Wezel. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7598 a1c6a512-1295-4272-9138-f99709370657
2005-09-01On popular demand, the arrow cursor is reintroducedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7438 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Removed the line selector option, it is now always an inverse bar (except ↵Linus Nielsen Feltzing
for the Player/Studio of course) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7423 a1c6a512-1295-4272-9138-f99709370657
2005-08-24Icon code cleanup, optimisation & policeing. Removed unused icons. Applied ↵Jens Arnold
uniform icon naming scheme. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-07-064-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold
light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-06-28Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold
converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-24First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold
pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-23When exiting the context menu with the menu button, call the main menu. ↵Jens Arnold
Mainly useful on Ondio which can't have both main menu and context menu bound in wps. Holding MODE on Ondio will now bring up the wps context menu instead of the main menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6840 a1c6a512-1295-4272-9138-f99709370657
2005-06-12Make remote-control code more completeMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6696 a1c6a512-1295-4272-9138-f99709370657
2005-06-12Add remote control support to tree and menu. Move defines from wps.c to wps.hMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
2005-06-11center-scrolling: start scrolling when the cursor is at 2/3 of the screen. ↵Marcoen Hirschberg
There is still a bug when the fontsize changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6678 a1c6a512-1295-4272-9138-f99709370657
2005-05-17Don't swallow button events. It's unnecessary and maybe even confusing.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6486 a1c6a512-1295-4272-9138-f99709370657
2005-04-10FM preset menu: Set cursor to the current preset on enter. Added a generic ↵Jens Arnold
function to the menu system which allows for setting the position. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6264 a1c6a512-1295-4272-9138-f99709370657
2005-01-13Removed remnants of buttonbar code for units without recorder keypad.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5563 a1c6a512-1295-4272-9138-f99709370657
2005-01-13Patch #1016041 by Eric LassaugeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5561 a1c6a512-1295-4272-9138-f99709370657
2004-10-19Deleting the last menu item no longer gives a negative cursor positionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5307 a1c6a512-1295-4272-9138-f99709370657
2004-10-09Removed button bar for devices with no F buttons (Ondio)Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657
2004-10-05Don't exit menus on repeat.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5167 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 Const policed pointer arguments to functions, part 3Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657