Commit graph

255 commits

Author SHA1 Message Date
Jonathan Gordon
a5c5bd3831 Add a setting to force the backlight to stay on (or act normally) when
in plugins.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12873 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 07:05:05 +00:00
Jonathan Gordon
e54d8e1388 Remove the exit_value variable.. set the MENU_FUNC_CHECK_RETVAL fla and
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-18 07:03:43 +00:00
Jonathan Gordon
daf66940b1 Unify the way functions are called from menus.
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-17 12:33:34 +00:00
Jens Arnold
2c7b127dd7 Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:47:03 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jonathan Gordon
b35c1d8d35 Change anywhere where do_menu()'s return value was checked and expected
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-15 04:42:10 +00:00
Jonathan Gordon
a5f7ef27f0 dont exit the recording screen after going into the rec settings unless
usb was attached


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12756 a1c6a512-1295-4272-9138-f99709370657
2007-03-14 01:31:01 +00:00
Jonathan Gordon
120016fd25 Convert the recording menu to the new API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12748 a1c6a512-1295-4272-9138-f99709370657
2007-03-13 11:48:47 +00:00
Steve Bavin
8137489e2b Lead user through database initialisation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12678 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 19:56:15 +00:00
Jonathan Gordon
16d5d1d8c0 Fix the yellow builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12663 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 08:56:20 +00:00
Jonathan Gordon
d0a7cf03e1 Only show the alarm wake up screen setting if there is at least 2
options


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12660 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 07:36:04 +00:00
Jonathan Gordon
9e554a87fc Fix alarm wake up. If the target has fm or recording (or both) an option is in the System menu to choose what to start when the alarm wakes up,
otherwise the WPS will start


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12654 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 01:16:25 +00:00
Jonathan Gordon
94eef3fbee fix beep and peak meter settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12576 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 00:44:34 +00:00
Jonathan Gordon
97090863a6 Allow settings to have a different title in the setting screen than they
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-03 14:23:03 +00:00
Jonathan Gordon
02a871780f Remove the need to double up the MENU macros in manu.h.
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-03 13:52:14 +00:00
Robert Kukla
ae08eeb4ff remove runtime detection of h1x0 series RTC MOD, but leave driver code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 00:11:20 +00:00
Steve Bavin
e618becf6a Include debug menu on simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12550 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 17:08:44 +00:00
Dave Chapman
fdaacd5ec6 Move Sleep Timer function from the settings into the System menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12549 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 13:58:56 +00:00
Marcoen Hirschberg
44c510e185 move database settings one level up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12539 a1c6a512-1295-4272-9138-f99709370657
2007-03-01 17:39:15 +00:00
Jonathan Gordon
91cb68a1fb Introducing the root menu!
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-03-01 11:14:46 +00:00
Thom Johansen
8fd6d658a1 Add wake on alarm support for Ipods. Rename HAVE_ALARM_MOD to HAVE_ALARM_RTC since it's not always a mod. Make Ipod PCF driver keep other flags in OOCC1 that have been set instead of overwriting them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12522 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 21:55:11 +00:00
Robert Kukla
50b5ee4781 FS#6419 - driver for H1x0 series RTC Mod with runtime detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12520 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 13:20:36 +00:00
Robert Kukla
ab6f95d533 fix "hide radio menu if no tuner is detected"; wrong constant was used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12513 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 23:33:01 +00:00
Jonathan Gordon
8ca99d3288 Code Police: Remove tabs throught apps/ . Hopefully no actual code
change


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 11:09:09 +00:00
Thom Johansen
a7fabf0741 Add software based bass/treble controls for targets which have no such functionality in hardware (currently only X5). They can also be used on any other SWCODEC target by adding #define HAVE_SW_TONE_CONTROLS in the relevant config-*.h file. Also remove some now unneeded zero checks when using get_replaygain_int(). Comments on sound quality are welcome as some parameters can still be fine-tuned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12489 a1c6a512-1295-4272-9138-f99709370657
2007-02-26 00:41:26 +00:00
Michael Sevakis
d4e904bf35 SWCODEC: Dsp speed optimizations. Changes for more modularity. Removal of some usless stuff. Some assembly routines for Coldfire with speed in mind over size for the outputs but the channel modes remain compact. Miscellaneous coldfire asm updates to accomodate the changes. Codec API structure version has to increase so do a full update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12472 a1c6a512-1295-4272-9138-f99709370657
2007-02-24 17:06:36 +00:00
Jonathan Gordon
8a4549d531 save config.cfg after resetting settings (from the menu)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12434 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 13:37:36 +00:00
Linus Nielsen Feltzing
417bc74f83 Don't enable low latency mode in the Crossfeed submenu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12428 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 10:52:49 +00:00
Jens Arnold
8d7a364063 Fix 64 bit warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12424 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 06:45:11 +00:00
Jonathan Gordon
dd5297dd71 Fix the order in the sleep timer screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12411 a1c6a512-1295-4272-9138-f99709370657
2007-02-20 10:33:30 +00:00
Jonathan Gordon
a3ce8e1670 remove \t
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12402 a1c6a512-1295-4272-9138-f99709370657
2007-02-19 04:28:56 +00:00
Jonathan Gordon
2801a87d54 Convert the EQ menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12398 a1c6a512-1295-4272-9138-f99709370657
2007-02-19 02:14:51 +00:00
Jonathan Gordon
f98c27f60f Give the file view menu a nice icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12397 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 23:51:36 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Jonathan Gordon
9a6f419775 CONFIG_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Jonathan Gordon
8ff3a653bd Explicilty set CONFIG_ defines to 0 which are not used.. because doing
#if defined(BLAA) && BLAA == something defeats the point of Wundef


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12378 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:04:47 +00:00
Jonathan Gordon
1ebdd5babd this wasnt meant to be commited
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12352 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 14:39:02 +00:00
Jonathan Gordon
40a253d464 Convert the Display menu to the new system.
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-17 14:02:48 +00:00
Jonathan Gordon
5dd08e17e9 fix payer build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12348 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:59:30 +00:00
Jonathan Gordon
5c156414ca fix margin problem in "view runtime" and "rockbox info" screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12347 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:54:16 +00:00
Jens Arnold
1f1da8e4ae Fix 64 bit warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12319 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 21:07:10 +00:00
Magnus Holmgren
51e885d597 Fix simulator builds with logf enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12316 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 17:30:22 +00:00
Jonathan Gordon
fd14fa2051 Change the sleep timer icon to make it look like a setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12315 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 14:36:09 +00:00
Jonathan Gordon
75bf31fc0e fix builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12312 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 04:49:11 +00:00
Jonathan Gordon
e56f8e9f63 Move the info and manage settings menus to the new system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12311 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 04:41:37 +00:00
Nicolas Pennequin
9f4bd8712f Cuesheet support by Jonathan Gordon and me (FS #6460).
Everytime an audio file is loaded, a cue file with the same name is searched for. A setting 
allows to disable this (default is off). Cuesheet files can also be viewed in the file browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12304 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 14:40:24 +00:00
Jonathan Gordon
5599d6806d Icons in the menus. Thanks midkay for them.
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-14 06:58:30 +00:00
Jonathan Gordon
cd2d62c690 Move the General Settings menu (excluding the display submenu) to the
new system.
Drops another 1200bytes off the recorder build


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12295 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 07:50:47 +00:00
Jonathan Gordon
4e73b537c3 Fix the keywords on some recently added files.
Remove apps/recording_settings_menu.c which should never have been 
commited


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12293 a1c6a512-1295-4272-9138-f99709370657
2007-02-13 00:32:17 +00:00
Jonathan Gordon
fb62831faa * Move playback menu to the new sysetm
(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-12 14:22:35 +00:00
Jonathan Gordon
e84ff179cb Move the playlist menu to the new system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12268 a1c6a512-1295-4272-9138-f99709370657
2007-02-11 07:32:58 +00:00
Michael Sevakis
deb8363751 Testing svn_autoprops by readding one of the files with missing Ids.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12234 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 15:17:06 +00:00
Jonathan Gordon
9bb864b82a unstatic the string buffer, fix the recording setting lang, change the
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-08 11:12:22 +00:00
Jonathan Gordon
fe3cfcc9b2 Convert the sound menu to the new system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12230 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:28:42 +00:00
Jonathan Gordon
4718a1e752 beginning of the new menu system. This commit shouldnt break anything,
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
2007-02-08 04:33:41 +00:00