Nils Wallménius
b41e93ae63
Draw peakmeter scale marks in foreground color instead of inversed background color, fixes FS #6855
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12840 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 16:49:55 +00:00
Jonathan Gordon
dd40a2e2fc
Exit the preset context menu correctly after editing/deleting preset
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12829 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 07:57:36 +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
85a226d4e7
Rename some macros to account for the recently added M5 port. No code changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +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
Michael Sevakis
2c643b9f3e
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12806 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:59:36 +00:00
Michael Sevakis
a2ee6a6681
FM Radio mishmash: Make a quieter screen for the SWCODEC targets esp. for the benefit of x5; I wasn't sure if it was good to alter timeouts for HW codec. Simplify things and prepare for eventual scanning and tuning changes (which should help quiet x5 down even more). Make things behave themselves better in general. Enable SWCODEC FM Recording menu and screen for sim as a bonus.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12804 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:40:40 +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
67b3206709
Stop audio when entering the radio in the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12665 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 09:16:20 +00:00
Jonathan Gordon
e900a90e11
Accept FS#6750, allow recording to start automatically (If alarm wakeup
...
is set to recording)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12655 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 01:59:29 +00:00
Michael Sevakis
38be0e65d3
Refine the hack. Best I can do I think.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12637 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 08:19:00 +00:00
Michael Sevakis
82b26d2e5d
Add a stupid hack that seems to help size on everything. We'll see shortly for sure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12636 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 07:59:25 +00:00
Michael Sevakis
00af7c7b74
Fix warnings. Also fix an error that would occur compiling a logf build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12635 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 05:55:23 +00:00
Michael Sevakis
11e45a316f
Make keyboard character selection independent on main and remote LCDs. Insert position is still synchronized between displays however (made sense to me to keep that). Cleanup code to make it more readable (mostly for my benefit in working on it :). Hopefully Hangul will stay working too. Clean up some drawing (keep pages from invading text line) and use bitmap arrows for long text when font size allows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12634 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 05:43:04 +00:00
Michael Sevakis
9701954654
iRiver: Enable line input mode on keyboard. The cursor key combos can still be used when in picker mode. Much easier for moving the cursor around by many characters.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12617 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 02:07:17 +00:00
Nils Wallménius
0eb1443614
Enable Morse input mode in the virtual keyboard for gigabeat, use MENU+SELECT to switch between modes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12606 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 21:59:00 +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
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
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
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
Jonathan Gordon
4721deff01
fix red builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12502 a1c6a512-1295-4272-9138-f99709370657
2007-02-27 09:22:56 +00:00
Jonathan Gordon
9144be5253
returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit
...
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-27 09:16:47 +00:00
Jonathan Gordon
2816dc9c13
Convert the radio menus to the new system.
...
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-27 09:06:30 +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
Jens Arnold
c652218d14
Fix remaining CONFIG_TUNER checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +00:00
Jonathan Gordon
bd47d48c21
Do the CONFIG_LED define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:07:19 +00:00
Jonathan Gordon
ec73eb0be1
really fix red builds this time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12380 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 02:34:36 +00:00
Magnus Holmgren
2067fcc695
Fix most (all?) CONFIG_LED warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:22:37 +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
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
Martin Scarratt
3cf50c0007
Allow cursor changes in Morse Vkeyboard for targets that use line_edit mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12265 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 22:39:45 +00:00
Michael Sevakis
0f17532c9d
Revert the changes using global status for the screen states. It should wait for a more comprehensive plan to maximize benefit if any can be had.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12231 a1c6a512-1295-4272-9138-f99709370657
2007-02-08 10:36:49 +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
Michael Sevakis
eed62f1657
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12222 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 04:24:21 +00:00
Michael Sevakis
ff3bb3aa18
Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12221 a1c6a512-1295-4272-9138-f99709370657
2007-02-07 02:48:19 +00:00
Nils Wallménius
28a8894656
Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12214 a1c6a512-1295-4272-9138-f99709370657
2007-02-06 20:30:58 +00:00
Jens Arnold
6b0fdae0f6
Removed unused 'mode' parameter from mkdir() for consistency with creat().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12183 a1c6a512-1295-4272-9138-f99709370657
2007-02-03 10:28:55 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +00:00
Jonathan Gordon
228d62dd18
Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
...
saving.
Added car_adapter_mode to the nvram settings, so nvram settings will be reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
2007-01-24 02:19:22 +00:00
Jonathan Gordon
b2e50906a4
Settings are now stored in /.rockbox/config.cfg instead of the hidden sector. (FS #6557 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12093 a1c6a512-1295-4272-9138-f99709370657
2007-01-23 13:40:44 +00:00
Greg White
0262cba304
Align backdrop buffers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12003 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 03:29:32 +00:00
Nils Wallménius
8a71f1adfd
Enable Morse mode for virtual keyboard on h10 players and make it possible to enter line edit while in Morse mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11911 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 14:36:04 +00:00
Jonathan Gordon
568e18e9dd
Fix FS#6361. Allow the FM auto-scanning to be abort with the standard
...
quit button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11843 a1c6a512-1295-4272-9138-f99709370657
2006-12-26 22:01:27 +00:00
Jens Arnold
2597a13497
Next round of static'ing and related fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Martin Scarratt
8ab6ac7739
Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: Play(instead of long select) - accept & exit, Long menu - toggle morse mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 16:57:48 +00:00