Commit graph

708 commits

Author SHA1 Message Date
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
Mats Lidell
616b93ddd5 Strange ifdef for SIMULATOR removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2107 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:21:01 +00:00
Robert Hak
0f6d09d7e5 added USE_GAMES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2106 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 05:47:38 +00:00
Robert Hak
1bcdb239c7 now use USE_GAMES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2105 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:41:17 +00:00
Robert Hak
d97423527f corrected for games define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2103 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:07:11 +00:00
Robert Hak
8b1085d4d1 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2102 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:05:36 +00:00
Robert Hak
e0248c5b5c didnt make use of HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2101 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:55:40 +00:00
Robert Hak
620bb0e3dd we didn't use LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2100 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:53:43 +00:00
Robert Hak
1b9109aba2 USE_SCREENSAVERS define added so that we can build w/o Screensavers for the recorders if we want
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2097 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:57:53 +00:00
Björn Stenberg
883adb5bfc Removed busy loops.
Replaced unnecessary snprintfs.
Added plenty of whitespace.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2096 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 12:49:01 +00:00
Björn Stenberg
d7339c4a94 Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 11:54:19 +00:00
Justin Heiner
1c00dd8212 whoops, got rid of player_progressbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2094 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:32:38 +00:00
Justin Heiner
4a72e643da Attempt at fixing reds in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2093 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:24:32 +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
51ca48ba0d Set lcd margins only if we return from main_menu().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2089 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 20:41:03 +00:00
Markus Braun
b8660c4120 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2088 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:52:33 +00:00
Markus Braun
4e4dfc0848 Fixed time display in statusbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2087 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 19:44:58 +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
77ef07c3f5 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2085 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 14:03:17 +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
Daniel Stenberg
99b69bf7d9 Psyco Dedman's player progress-bar fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2082 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:08:37 +00:00
Mats Lidell
62613fc376 id3->album is checked for null before use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2081 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:04:54 +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
Björn Stenberg
6131a3cc0d Moved display portions of wps.c into new file: wps-display.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2079 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:04:41 +00:00
Mats Lidell
648bbfa1ae Bad ifdef removed. Open handles simulator filesystem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2078 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 09:23:25 +00:00
Mats Lidell
ec0da2f1f8 Simulator reads wps config from file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2077 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 08:50:40 +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
87f53249b2 Added %pr to CUSTOM_WPS to display remaining time in song.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2072 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 03:08:02 +00:00
Justin Heiner
bd1ddf6d5a update to my update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2071 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 02:22:42 +00:00
Justin Heiner
0492d624b0 Another update to Zagor's commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2070 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 02:08:36 +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
Björn Stenberg
1c4f60f7cb Removed warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2068 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:58:55 +00:00
Björn Stenberg
b665c72fb4 Fixed player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2067 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:56:09 +00:00
Björn Stenberg
b847a7b296 Added status_draw() to set_playmode().
Moved rtc reading from icons.c code to status.c
Added boundary checks for time display values.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2066 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:39:31 +00:00
Björn Stenberg
87a4ed5731 Refactored. States are now handled in separate functions instead of using state variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2064 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 00:31:00 +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
Hardeep Sidhu
0227b96812 Don't resume when song is already paused and user selects previous
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2061 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 16:20:33 +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
Justin Heiner
7d808a83e4 Added basic handling of \r\n (ignores it) to the Custom WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2043 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 18:03:20 +00:00
Justin Heiner
a9b2208723 Centered the ROCKbox! logo in the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2042 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 18:01:55 +00:00
Markus Braun
b23823e8f2 Added a scrollbar with sizable knob for directory browsing etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2041 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:25:56 +00:00
Markus Braun
85e936b8a3 No longer use the *_PIXEL macros.
Added a scrollbar with sizable knob for directory browsing etc.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2040 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:24:59 +00:00
Markus Braun
257a2f890a Changed the lcd_drawrect() api.
No longer use the *_PIXEL macros.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2039 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:23:57 +00:00
Markus Braun
aad11165dc Changed the lcd_drawrect() api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2038 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 14:22:40 +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
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Linus Nielsen Feltzing
ccfef0480b First attempt to use the new playlist API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2024 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 10:21:32 +00:00
Daniel Stenberg
71a07bebe6 modified the playlist system slightly:
playlist_peek() returns info relative the current index
playlist_next() advances the index back or forth

(this breaks the build, mpeg fixes are pending)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2022 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 09:22:44 +00:00
Björn Stenberg
8ef71bafff Made LCD_PROPFONTS and LOADABLE_FONTS mutually exclusive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2020 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:42:43 +00:00
Linus Nielsen Feltzing
db22700d32 Added -DLCD_PROPFONTS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2019 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 06:14:16 +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
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Justin Heiner
415a2e76f5 Fixed a little problem coming out of the Player's ID3 info screen. You had to press menu twice to get to the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1991 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 06:32:53 +00:00
Justin Heiner
a7a46c70dd Update to CUSTOM_WPS. Now has an If/Else ability. Also updated the docs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1990 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 01:05: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
Linus Nielsen Feltzing
446828b2fb Removed the LEFT key from dbg_ports() to be able to debug the analog key levels even for the LEFT key
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1980 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 10:06:33 +00:00
Björn Stenberg
e67958ba86 Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 09:21:59 +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
Eric Linenberg
b0a3984c5a Philpp Petermann's game wormlet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1975 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:32:39 +00:00
Eric Linenberg
9a47cc4e7c Philpp Petermann's game wormlet: add to game menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1974 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:30:55 +00:00
Eric Linenberg
2bf41efe31 Philpp Petermann's tetris patch: save score after ending game
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1972 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 03:29:13 +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
Björn Stenberg
165f33467c Experimental code is not to be enabled by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1966 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 11:00:55 +00:00
Justin Heiner
bd510c2d2b Damned CR/LF again. I need to get a better editor than notepad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1964 a1c6a512-1295-4272-9138-f99709370657
2002-08-24 08:36:47 +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
Björn Stenberg
62847edbe7 Don't display wps until there is data to display (or we'll get the annoying 'end of song list' screen.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1961 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:49:32 +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
Björn Stenberg
3df58d30e1 Removed typedef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 20:04:31 +00:00
Daniel Stenberg
c1fe36f36f prevent the "end of (song) list" getting displayed if there's an mpeg
playing or pending to get played.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1956 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:27:17 +00:00
Daniel Stenberg
ab9a94e289 a menu warning fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1955 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:04:16 +00:00
Daniel Stenberg
49984facc1 properly remember DISK_CHANGE status and return that to menu parents,
also when coming back from the USB screen set back the status bar state
before redrawing the menu.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1953 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:57:00 +00:00
Linus Nielsen Feltzing
d7c85e434b Removed the secret features in dbg_ports()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1952 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:55:17 +00:00
Daniel Stenberg
a1935f3d45 it is madness having this a separate makefile
anyway, up-to-date


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1951 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:52:07 +00:00
Daniel Stenberg
cd8a9a043f Menu for menu functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1950 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:47:59 +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
Robert Hak
ad4a92eb87 stupid tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1947 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:37:40 +00:00
Robert Hak
f27fecb076 minor style fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1946 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:31:19 +00:00
Markus Braun
d58dab8dd8 restore was allwas true. Set it to false when last restore request was
handled.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1945 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 11:06:14 +00:00
Daniel Stenberg
e6261734a0 two fixes at once:
1. If the WPS is popped up but the mpeg thread can't play any song, we must
   make sure to update the screen to display the "end of playlist" thing.

2. When having reached the "end of playlist" state, pressing LEFT caused a
   crash (due to a NULL pointer being used).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1942 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 08:06:39 +00:00
Daniel Stenberg
3625dedcce playlist_next() now returns NULL on excessive 'step' amounts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1940 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 07:33:35 +00:00
Justin Heiner
0a3589d129 OK, a (hopefully) successful attempt at getting rid of the yellows that I created by removing the other yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1938 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:45:39 +00:00
Justin Heiner
edf6b80547 Forgot to #ifdef something
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1937 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:26:22 +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
Justin Heiner
2630245cb9 Added NSauzede's patch to detect USB while in a Menu. It also adds the USB icon to the player while in USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1935 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:17:00 +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
a8e89fd693 when we want to stop the scroll and clear the screen, it is a lot better
to first pause the scroll (stop puts back text on screen) and then clear
the screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1931 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:45:22 +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
Daniel Stenberg
487662a67c fix file name pointer usage, clean the buffer faster, don't use extra
variable


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1921 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 07:12:45 +00:00
Justin Heiner
ad14c5b14e Flipped a line to make it work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1917 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:38:20 +00:00
Justin Heiner
6dd8b83507 Attempt at fixing reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1916 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 06:25:14 +00:00
Daniel Stenberg
11714aceab fixed compiler error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1914 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 05:30:07 +00:00
Justin Heiner
70a203341f Added conditional Title-Artist to appease PsycoXul :-) It's bound to %h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1913 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 04:03:57 +00:00
Justin Heiner
b10017e3e8 Added %% as an available tag to the Custom WPS. Displays % when used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1909 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 03:02:59 +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
Justin Heiner
7dcff6d98c Changed the previous patch to restart the same song if over 2 seconds to 3 seconds. That way you can hear a bit of the song before... well, it's just better this way *grin*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1902 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 23:24:26 +00:00
Björn Stenberg
0c2e9f21e3 Stays in pause mode after seek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1896 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:38:56 +00:00
Eric Linenberg
84cf9d446c Lee Marlow's patch to restart the same song if the back button is hit in the wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1895 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:34:01 +00:00
Daniel Stenberg
82340129a6 made the main menu have a USB selection when built for simulator so that
we can simulate the USB stuff at least basicly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1893 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:26:12 +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
Mats Lidell
fa54e94a7a Ignore recorder playmode states.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1880 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:51:24 +00:00
Markus Braun
a2feb8b4c8 Fix for fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1879 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:40:34 +00:00
Markus Braun
c6c848e91b Fixed wps usb bug. Before rockbox switched not to usb mode when cable was
pluged.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1870 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 11:08:49 +00:00
Mats Lidell
6866cef936 Added icons for charcell simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1857 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:43:31 +00:00
Robert Hak
e2580f6f11 lets point to the docs dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1849 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:25:16 +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
Markus Braun
6110c98234 Consolidated display restore code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1836 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 06:40:06 +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
a0300f5d7e corrected lcd margins for debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1831 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 22:13:20 +00:00
Markus Braun
11d208ca85 calculate the string width for numerical volume display and time display in
status bar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1828 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:32:08 +00:00
Markus Braun
861eac8aea corrected display of values when entering a setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1827 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:30:32 +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
faacfea055 faster redraw of time display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1825 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:00:44 +00:00
Markus Braun
59429dab9d Define instead of a number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1824 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:40:35 +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
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
65fb5f57dc status_draw() now uses lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1820 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:33:02 +00:00
Daniel Stenberg
ef3a3e7093 use the gcc option -ffreestanding: (quote from the gcc man page)
"A freestanding environment is one in which the standard library may not
exist, and program startup may not necessarily be at "main".  The most obvious
example is an OS kernel."


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1818 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 14:00:42 +00:00
Heikki Hannikainen
3c10db57c6 Use same updated method for delta calculation as powermgmt.c uses (maybe
it should go into a function after all).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1817 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:38:14 +00:00
Justin Heiner
97e4a8fbef Added draw_screen(id3) after volume change. Fixed bug in player WPS ID3 Info screen. It needed dont_go_to_menu = true and menu_button_is_down = false.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1816 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:10:43 +00:00
Heikki Hannikainen
bd32dee3b9 Use correct offset (0x14 instead of 0x18) when clearing the RTC user RAM space
when F2 is pressed in RTC RAM viewer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1815 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 08:43:03 +00:00
Daniel Stenberg
5e5f1e247b When shuffle is ENABLED. And you press PLAY in a dir, the selected song
is now the first song to get played. To do this, we first remember which
song that was selected, shuffle the list and then find the selected song
in the shuffled list and play that.

This will have some interesting side effects if the song ends up for example
last in the shuffled list when we consider not always doing repeat-all as
then it'll reach the end of the playlist after one song.

We could optionally put the selected song first in the playlist and then
shuffle all the rest, as that would possibly be closer to what people will
assume it will do.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1803 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:45:01 +00:00
Björn Stenberg
43bcd823b7 Pause now works again (I broke it with my mpeg_is_playing() fix...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1802 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:38:27 +00:00
Felix Arends
111597ba02 fixed missing APPSVERSION definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1800 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:02:34 +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
c0ea4a7d1d Added Smart(tm) ID3 displaying to the new 1 Line ID3. If no ID3 is available, it will display the filename instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1796 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:11:23 +00:00
Justin Heiner
eac3cfd8a7 More of the new 1 Line ID3 for the player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1794 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 07:27:04 +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
Justin Heiner
0d04073576 Minor change in display of previous volume display patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1792 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:41:36 +00:00
Justin Heiner
80743ff20c WPS in player now displays volume level while changing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1791 a1c6a512-1295-4272-9138-f99709370657
2002-08-17 00:23:36 +00:00
Justin Heiner
152c023f95 Fixed ID3 Scrolling problem (player) when FF/RW in ID3 display mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1790 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 23:41:10 +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
Daniel Stenberg
085e774675 reverted Felix Arends' mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1786 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:14:37 +00:00
Felix Arends
9ed9765bfe windows makefile for firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1784 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:08:50 +00:00
Daniel Stenberg
afc9b57c20 (while I remember this) The width padding is 4-byte aligned, nothing else...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1783 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:07:43 +00:00
Daniel Stenberg
a847271a24 removed code within #ifdef STANDALONE since it doesn't work and isn't ever
used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1773 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 06:12:20 +00:00
Mats Lidell
a5cc9c93cf menu+left/right was broken for volume change. Patch submitted by
Magnus Holmgren.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1772 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 05:16:51 +00:00
Björn Stenberg
662330eb5d Button release filter was a little too effective
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1770 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 16:55:46 +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
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