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
083a6dbc4e
Auto-poweroff, by Lee Marlow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2374 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:42:48 +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
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
25316c5417
Added play_selected option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2323 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 10:13:09 +00:00
Hardeep Sidhu
8a1187e80a
Renamed "Browse Current" to "Follow Playlist"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2263 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 06:45:47 +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
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
Björn Stenberg
94afb54228
Renamed 'load default config' to 'reset settings'. Made it work on recorder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2225 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:28:46 +00:00
Justin Heiner
2f9b54b251
Added a 'Load Default Config' menu to the System menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2204 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 07:00:20 +00:00
Eric Linenberg
1257733b0a
let's see the speed of the scrolling as we set it (made string longer)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2180 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:51:43 +00:00
Eric Linenberg
90ca5cf42b
Scrolling now goes up to 30
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2179 a1c6a512-1295-4272-9138-f99709370657
2002-09-05 04:47:24 +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
Robert Hak
228ec424a0
lets make lines 80 chars shall we?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2164 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 04:02:46 +00:00
Eric Linenberg
632bc97ce2
Made menu easier to understand
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2162 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:41:26 +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
Justin Heiner
ba349223bf
wps-display.c
...
* Made 'Remaining Time' count correctly when doing FF/REW.
* Fixed bug in player_progressbar that caused Illegal Instruction
if the FF/Play went past the end of the song.
wps.c
* Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes.
It was causing tracks to not change unless button was pressed
numerous times quickly :-)
* For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL.
Since stop is also the key to turn the device off, we don't want
it to go to the dir browser unless the stop button is released.
settings_menu.c
* Changed the minimum disk spindown time to 3 seconds, due to
reported problems if set below that.
makefile.vc6
* Fixed the VC makefile to work with both Recorder & Player again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 01:51:09 +00:00
Björn Stenberg
abe11fd910
Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 15:58:47 +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
Justin Heiner
5bade50b6a
Fix for display of WPS settings in the menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2086 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 17:29:16 +00:00
Markus Braun
e6c7c841b9
Corrected bit masks for time setting menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2080 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:14:52 +00:00
Justin Heiner
9b62c23d8f
Got rid of the old WPS, and use Custom WPS as the method of WPS updating. Also working on a player progress bar (using a custom character). That is now able to be #included with -DPLAYER_PROGRESS in the apps/Makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2074 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 07:11:18 +00:00
Justin Heiner
7e11b62d19
Fixed a couple of problems with Zagor's commit, along with some of my own CUSTOM_WPS problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2069 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 01:34:56 +00:00
Heikki Hannikainen
a487ef2acd
With proportional fonts on the recorder, the scroll speed indicator in scroll
...
speed setting was not long enough to actually start scrolling 8-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2063 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 19:32:09 +00:00
Justin Heiner
8097ee6af1
Custom WPS update - works for recorder and player now. Also updated how the WPS refreshes the screen when using Custom WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2046 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 05:41:35 +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
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
Hardeep Sidhu
f8c87e6c50
When toggling shuffle from on to off while a playlist is playing, update the current playlist index to the new index of the current song
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1977 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 08:25:52 +00:00
Hardeep Sidhu
36c11657bf
Reduced max ffw/rew step size to 255s because we are storing the value in 1 byte
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1971 a1c6a512-1295-4272-9138-f99709370657
2002-08-25 05:14:54 +00:00
Björn Stenberg
26a50afc8a
global_settings are not for runtime state variables!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1967 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 11:13:35 +00:00
Justin Heiner
5301881adc
Update to the Custom WPS. Now actually works, can be fed any string, uses %xx instead of just %x, and more! It's #define'd out in settings.h - Needs to be enabled to use it. PLAYER ONLY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1963 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 06:57:24 +00:00
Daniel Stenberg
b285076925
Remade the menu system slightly. All functions invoked from menus now use
...
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.
Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Justin Heiner
d6a0f6ccd9
Fixed a problem with my #define CUSTOM_WPS - It didn't lower the menu items to 4 from 5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1936 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:19:47 +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
Justin Heiner
1a8f34bfa9
Changed CUSTOM_WPS to be a define-only feature until it is more complete. To include it, simply uncomment the #define CUSTOM_WPS line in wps.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1924 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 14:19:47 +00:00
Justin Heiner
b986a5c6b7
Added ability to have a Custom WPS Display on the Player. See the commited doc for the tag specification
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1903 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 02:24:14 +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
Justin Heiner
20955979ca
Added a 1 Line ID3 display for player that displays the PlaylistPos: Artist - Title on the first line and time on the 2nd line. NOTE: WPS Display saved settings will be loaded incorrectly on the player the first time. Rearranged the WPS Settings menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1793 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:26:07 +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
Markus Braun
b70d575343
removed entry for status bar
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1767 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:12 +00:00
Linus Nielsen Feltzing
3ed34a6227
New backlight settings with always-off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1766 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:56: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
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
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
Linus Nielsen Feltzing
517ea2fa18
API changes due to the RAM-based playlists
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1560 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 13:10:25 +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