Commit graph

122 commits

Author SHA1 Message Date
Hardeep Sidhu
c2c8d1cd1e Fixed follow playlist bug when current track was in root directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2315 a1c6a512-1295-4272-9138-f99709370657
2002-09-17 07:42:21 +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
Hardeep Sidhu
ddfa4cb0e5 Go to current song (instead of root) when exiting wps after resume and browse current enabled. Also, if current file is at end of directory listing, show more files on the screen when exiting wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2247 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 17:32:15 +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
Robert Hak
91e2694d7c Bjorn (Fisher)'s patch to skip the FAT volume ID being shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2194 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 04:59:23 +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
Björn Stenberg
0ad2010865 Added dir filter toggle (mp3/m3u) to F2 quick-set screen.
Added UpArrow and DownArrow icons.
Simplified dir reload handling in tree.c


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2158 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 20:47:23 +00:00
Justin Heiner
4498b5e9a3 Changed Player Tree-Icon display to not show any icon for unknown files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2155 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 16:37:12 +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
c521ed128d Added Randy Wood's ROLO
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:44:08 +00:00
Linus Nielsen Feltzing
c3a1bd2fce Smarter handling of custom chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2147 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:39:30 +00:00
Linus Nielsen Feltzing
10452d285b Now we have file type icons on the player, thanks to Justin Heiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2144 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 07:53:51 +00:00
Björn Stenberg
1a682bedad Renamed "wps.config" to "default.wps".
Added *.wps loading from dir browser.
Added ugly 'wps' icon. :-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2131 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:46:32 +00:00
Björn Stenberg
40d866bd9e Fixed build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2113 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 20:08:08 +00:00
Björn Stenberg
407bfb04f1 Added repeat for ENTER and EXIT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2108 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:49:56 +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
Dave Chapman
4368a7378a syntax error fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2036 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:03:55 +00:00
Dave Chapman
8d12946d03 allow mp2 and mpa as valid file extensions and rename TREE_ATTR_MP3 to TREE_ATTR_MPA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2035 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 13:58:19 +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
Björn Stenberg
f1bf9e7286 Now doesn't try to play non-mp3/m3u files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1960 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:15:51 +00:00
Daniel Stenberg
aa458aa9d8 MENU_DISK_CHANGED is the new value for telling disk content might have
changed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1949 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:41:25 +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
Daniel Stenberg
634551ffeb statusbar bug fix when going to the menu from the dir browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1933 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 22:53:12 +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
Daniel Stenberg
01bc8e682a play_list() is now modified to accept a playlist index that is either
meant in the unshuffled list or in the shuffled. There's an extra
parameter giving that info (which of course only makes sense when
shuffle is enabled).

This should make resume work with play-all-dir in shuffled mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1889 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 15:08:01 +00:00
Daniel Stenberg
a816e4624a store the correct index in the resume info when we fire up a single song in a
directory


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1838 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 08:13:58 +00:00
Björn Stenberg
1b05752a3f Always remove double-height when resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1826 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:27:36 +00:00
Markus Braun
c41dcb9ae9 Now using lcd margins instead of a line offset for displaying status bar.
Needed to support fonts smaller than 8 pixels.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1823 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:39:55 +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
7113ec01b3 Fixed bad resume_index in dirs with both folders and files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1789 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:23:57 +00:00
Björn Stenberg
52dc182b81 Fixed double-height problem and broken fwd/rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1788 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:06:50 +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
cb6bafd1f2 F3 now toggles global_settings.statusbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1768 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:32 +00:00
Linus Nielsen Feltzing
5917e8157a Now we can have up to 400 files in a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1761 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:28:52 +00:00
Björn Stenberg
f385e36a05 Getting a few pixels more filename display width by using a smaller cursor icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1723 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:55:08 +00:00
Björn Stenberg
e33d66a3ac Tell user when limits are reached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1692 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 22:52:19 +00:00
Björn Stenberg
6752ee445b Added remote vol up/down as next/prev navigation keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1688 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 18:28:51 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
c960330ebf Fixed indexing bug in build_playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1622 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 19:03:14 +00:00
Björn Stenberg
079b2d1865 Moved globals back into dirbrowse() now that dirlist hack is gone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1612 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:06:38 +00:00
Björn Stenberg
75864367e2 Removed peek_next_track()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1611 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:05:17 +00:00
Linus Nielsen Feltzing
e10fc4c86c Now adjusts if the cursor goes off-screen on status bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1609 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 10:46:10 +00:00
Linus Nielsen Feltzing
1e02e98d4a Compensates the starting position for non-mp3 files in the playlist build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1606 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 06:42:02 +00:00
Björn Stenberg
c1d9b15607 Removing scroll acceleration for the release (don't worry, I've saved the patch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1603 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 20:51:37 +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
8abcf1bd20 Changed playlist API again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1575 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 06:04:24 +00:00
Daniel Stenberg
5c507e94f0 C99 code breaks compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1571 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:38:14 +00:00
Eric Linenberg
9b7de87653 rushed it. missed one little bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1569 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:24:20 +00:00