summaryrefslogtreecommitdiff
path: root/apps/menu.h
AgeCommit message (Collapse)Author
2010-01-26Accept the last patch FS#10797 with a few changes by me (fixing side effects ↵Thomas Martitz
and adding the new backdrop_hide() to the multi screen api). It changes the hide_bars parameter to mean hide_theme. This makes plugins show the menu backdrop in their backdrop so that they don't look like crap if you have an sbs and look more integrated. I've test about all plugins and all work fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24335 a1c6a512-1295-4272-9138-f99709370657
2009-03-10Fix redraw sequence when exiting a setting menu, so splashes work properly - ↵Steve Bavin
see FS#9994. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20281 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-04-23option_screen() now accepts a viewportJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17223 a1c6a512-1295-4272-9138-f99709370657
2008-03-26the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon
be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Add a voice callback to dynamic menus, along side the text_callback.Stéphane Doyon
From FS#7563. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15042 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Update some comments in menu.h to be hopefully more helpful.Jonathan Gordon
Fix all the wrong usage of rb->do_menu() (my fault, sorry) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Move the old api out of the core and into the plugin lib.Jonathan Gordon
ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
2007-05-01clean up and fix comments. no actual code changeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13297 a1c6a512-1295-4272-9138-f99709370657
2007-04-30Convert onplay.c to the new manu API. only plugins are still using the old ↵Jonathan Gordon
API now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13294 a1c6a512-1295-4272-9138-f99709370657
2007-04-08Give all menus using the old API a nice title and icons (except plugins)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13068 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 Gordon
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 Gordon
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 the exit_value variable.. set the MENU_FUNC_CHECK_RETVAL fla and Jonathan Gordon
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 Gordon
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-17Unify the way functions are called from menus.Jonathan Gordon
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-07Make the old menu aPI use the new API. Both are avialable to core and Jonathan Gordon
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-03Allow settings to have a different title in the setting screen than they Jonathan Gordon
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 Gordon
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-01Introducing the root menu!Jonathan Gordon
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-27Code Police: Remove tabs throught apps/ . Hopefully no actual code Jonathan Gordon
change git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 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-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-11Comment the macros a bit, no actual code changeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12271 a1c6a512-1295-4272-9138-f99709370657
2007-02-10fix typo which causes the macro to cause compile errorsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12257 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-11-10Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-08-03Barry Wardell's keymappings for H10Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-05-17iAudio X5: Allow joystick SELECT in menusLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9952 a1c6a512-1295-4272-9138-f99709370657
2006-02-24first gigabeat commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24Button driver for iAudio X5Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Use the iPod 4G button mappings for the iPod 3G as well (at least for now)Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8591 a1c6a512-1295-4272-9138-f99709370657
2006-02-02iPod: Fix some button-mapping bugs and inconsistenciesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8531 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2005-12-19Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman
identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-11-12iPod: Add placeholder button definitions - these need reviewing when the ↵Dave Chapman
button usage for the iPod is decided git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7830 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-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-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-06-29Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 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-18Button adjustments for H1x0: added mode button for leaving menus and ↵Jens Arnold
cancelling settings, removed unnecessary soft keylock from wps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6743 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-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-23Added button definitions for gmini build. Prettified formatting.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5638 a1c6a512-1295-4272-9138-f99709370657
2004-11-19Added iRiver button codesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
2004-10-04Moved most actions off of button release events.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5164 a1c6a512-1295-4272-9138-f99709370657