Commit graph

262 commits

Author SHA1 Message Date
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Linus Nielsen Feltzing
42f65b1c30 Now sets the poweroff timer when loading the settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2380 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 07:49:44 +00:00
Markus Braun
ba93850ee3 Fixed time/date setting for new font system.
Enbled time/date setting in simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2363 a1c6a512-1295-4272-9138-f99709370657
2002-09-21 14:21:31 +00:00
Linus Nielsen Feltzing
c3eb83c695 Removed F3 handling in the set_() functions. Now the function callback is not called on button timeouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2332 a1c6a512-1295-4272-9138-f99709370657
2002-09-19 09:00:25 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Linus Nielsen Feltzing
78ea93d869 Added play_selected option, and moved browse_current
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2322 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 10:12:16 +00:00
Eric Linenberg
8d47c5c329 Philipp's fix .eq loading patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2318 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 12:48:56 +00:00
Robert Hak
8e1a00ccb2 added Lee Marlow's get_option() wrap patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2293 a1c6a512-1295-4272-9138-f99709370657
2002-09-14 06:03:51 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Linus Nielsen Feltzing
75d77155dc Added function pointer argument to set_option(). This allows for instantaneous response from the AVC and Channels sound options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2253 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 05:31:12 +00:00
Linus Nielsen Feltzing
066a547288 Now saves channel config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2245 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:25:54 +00:00
Eric Linenberg
ecca123dd2 Hardeep's browse current file patch. When hitting stop while playing, you will be on the current song, also this is configurable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2239 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:25:39 +00:00
Justin Heiner
4bd90cc2ca Custom EQ files can now be loaded (*.eq). Docs coming soon :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2197 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:02:02 +00:00
Justin Heiner
c4207f1e34 Almost there with the loadable eq. still not ready to use yet though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2187 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 16:30:07 +00:00
Eric Linenberg
c5b645b795 Chris Pimlott's menu patch -- reorgainzes the menus
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2178 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:42:12 +00:00
Justin Heiner
e4a27617c0 The beginnings of loadable EQ's from the tree. Ifdef'd as CUSTOM_EQ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2177 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 01:20:10 +00:00
Eric Linenberg
7eb27113c5 Nate Nystrom's FF/RW min speed patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2161 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:38:37 +00:00
Björn Stenberg
26964fd957 Merged Magnus Holmgren's wps.config code.
Moved wps.config from root to /.rockbox dir.
Removed WPS display setting.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2111 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 19:50:45 +00:00
Justin Heiner
b5025a8c40 USB Related:
Consolidated some more of the USB code in the WPS.
    Have backlight turn offf when USB Connected.
menu.c:
    LINE_X was set wrong for player.
settings_menu.c / wps-display.c:
    Added 1 Line ID3+. Has progress bar & Kbps.
    Renamed some of the WPS options to be more readable.
wps.c / wps-display.c
    Fixed problem with FF/REW when 'Remaining Time' is on.
    Added %pb to the WPS mix. Player progress bar thingy.
    Thanks to whoever fixed my PLAYER_PROGRESS function :-)
    Changed how volume changes on player (works better now).
    General cleanup of Custom WPS code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2091 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 04:58:35 +00:00
Markus Braun
000c2db035 Added scrollbar to tree view and menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2084 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:49:32 +00:00
Heikki Hannikainen
4b0e8b0b56 Added char rockboxdir[] containing the directory /.rockbox/ where we should
start storing wps config files, fonts and other data/config files.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2083 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:24:03 +00:00
Eric Linenberg
de14e53c66 update to the ff/rw options accelerate options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2045 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 04:50:39 +00:00
Eric Linenberg
65240761fb Nate Nystrom's ff/rw acceleration patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2044 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 19:34:07 +00:00
Linus Nielsen Feltzing
a0d098bdce Added REPEAT to UP/DOWN keys in the time/date setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2018 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:12:53 +00:00
Linus Nielsen Feltzing
6df3565f49 Corrected a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2017 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 05:34:28 +00:00
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Daniel Stenberg
053d904645 Bill Napier's patch slightly remodelled. This adds a setting called
"Show hidden files" that if enabled will show files with the hidden
attribute and/or starting with a dot in the dir browser. If the setting
is set to Off, files/dirs starting with a dot or that have the hidden
attribute set will be... yes, hidden.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1926 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:47:30 +00:00
Markus Braun
c7aaca4615 Make use of the fixed lcd_getstringsize() for prop fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1835 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:23:23 +00:00
Markus Braun
5e4c1d2ad8 enabled status bar in menus on recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1822 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:37:00 +00:00
Björn Stenberg
f210606c8f Expanded resume options: off/ask/on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1797 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 10:57:55 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Björn Stenberg
c9d98ca927 Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Markus Braun
e2a9fe1943 time/date setting works now with loadable and proportional fonts
code makeup


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1749 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 06:36:25 +00:00
Linus Nielsen Feltzing
b3bda03db0 Added Balance setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1744 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 21:30:06 +00:00
Björn Stenberg
0570497e3a Added fast forward and rewind (without sound). Patch by Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1741 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 19:23:34 +00:00
Björn Stenberg
65f3e98ce0 Update last_checksum
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1731 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 12:30:31 +00:00
Björn Stenberg
b3572afb5f Repaired RTC saving
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1719 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:33:23 +00:00
Björn Stenberg
fe604c5c63 Fixed typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1718 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:20:25 +00:00
Björn Stenberg
cd7691de22 Enabled saving settings to disk on player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1717 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 17:16:09 +00:00
Björn Stenberg
113fffaa86 Don't save settings on disk if it has no partition table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1712 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 13:21:55 +00:00
Linus Nielsen Feltzing
f6f3a1395e Incremented the config block version, to force default values for the LCD contrast setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1711 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 12:47:01 +00:00
Linus Nielsen Feltzing
638184f1a2 Added LCD contrast setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1710 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 11:10:11 +00:00
Markus Braun
2012acf0a8 changed display format for time/date setting menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1646 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 13:50:58 +00:00
Markus Braun
3181f68eff Added a time/date setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1645 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 12:38:45 +00:00
Björn Stenberg
ef1d4d2d17 Set loop setting true, since we always loop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1592 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 12:44:41 +00:00
Markus Braun
80be3c319e Moved rtc config bit for status bar from 0x12 to 0xe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1583 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:50:46 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Heikki Hannikainen
6eb4254dfa Added battery charger for the recorder and a power management debugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1547 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:52:51 +00:00
Linus Nielsen Feltzing
17cf49a8c4 Now updates the backlight timer and scroll speed after loading the settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1493 a1c6a512-1295-4272-9138-f99709370657
2002-07-30 07:56:16 +00:00
Linus Nielsen Feltzing
95c58003c3 Now handles key repeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1492 a1c6a512-1295-4272-9138-f99709370657
2002-07-30 07:50:53 +00:00
Linus Nielsen Feltzing
d0abfe86e0 Experimental disk save by Yves. #define SAVE_TO_DISK to try it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1484 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 16:09:44 +00:00
Linus Nielsen Feltzing
d731cdd0db Automatic Volume Control for Recorder by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1447 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 15:55:22 +00:00
Linus Nielsen Feltzing
1b210531e1 Removed the no longer needed hold setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1437 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 16:58:31 +00:00
Linus Nielsen Feltzing
6795ab3f40 set_bool() now handles key-up events better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1428 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 11:25:59 +00:00
Jerome Kuptz
ceef544fe0 primitive hold mode enabled for wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1413 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 06:21:35 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Linus Nielsen Feltzing
222ce15a29 Added newlines to a few DEBUGF()'s
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1353 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 18:55:15 +00:00
Björn Stenberg
6b25f79af0 Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).
Introduced debug menu (Heikki Hannikainen).
Cleaned up settings API.
Added scroll_speed init.
Moved dbg_ports() and dbg_rtc() from firmware/debug.c to apps/debug_menu.c
Made panic buffer static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1347 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:02:12 +00:00
Linus Nielsen Feltzing
a3a51eca66 API change for default sound settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1244 a1c6a512-1295-4272-9138-f99709370657
2002-06-28 11:54:47 +00:00
Björn Stenberg
24fdde0894 Added mp3/m3u filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1230 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 09:12:29 +00:00
Björn Stenberg
60b356ea25 Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:08:11 +00:00
Björn Stenberg
f80d8a704d Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1215 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:20:00 +00:00