Commit graph

137 commits

Author SHA1 Message Date
Robert Hak
73926ef5e5 %pn now allows for conditional checking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2698 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 09:34:48 +00:00
Robert Hak
f9d3d1cd91 added %pn (playlist name) to wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2651 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 11:49:15 +00:00
Mats Lidell
1305c88d18 Made code more like C89.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2582 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:39:36 +00:00
Mats Lidell
3c8aaec40a Player simulator should now handle progress bar (if there was progress
in the simulator.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2577 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:08:52 +00:00
Björn Stenberg
a0bf4f1744 Added progress meter to default player wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2560 a1c6a512-1295-4272-9138-f99709370657
2002-10-10 12:46:09 +00:00
Björn Stenberg
227253cfe4 'Reset settings' now also resets wps, font and language (although you have to reboot to get back to the old language).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2552 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 23:13:25 +00:00
Björn Stenberg
d4b884e7e0 'End of song list' message now displays for 1 second and then exits to file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2551 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 22:05:41 +00:00
Daniel Stenberg
d035a9b0bc the playlist variables are now all static, and the wps code use the new
playlist_amount() function to get amount of songs in the current list.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2549 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 13:42:59 +00:00
Linus Nielsen Feltzing
ecf7d95086 The wps_loaded flag was set too early
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2538 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 05:26:36 +00:00
Björn Stenberg
dea31222b8 Added persistence of last .wps, .fnt and .lng file played in /.rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2535 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 15:42:40 +00:00
Björn Stenberg
a6d0abb602 Repeat off/all/one toggle. By Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 08:48:20 +00:00
Björn Stenberg
8254249380 Don't keep trying to load a non-existing default.wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2444 a1c6a512-1295-4272-9138-f99709370657
2002-09-29 22:37:27 +00:00
Linus Nielsen Feltzing
34a1efc4a1 WPS loading only worked is WPS had been shown at least once before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2439 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 11:24:47 +00:00
Daniel Stenberg
f7c3ffa537 peakmeter is lcd-bitmap only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2438 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 10:18:48 +00:00
Linus Nielsen Feltzing
bb572c4412 Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2436 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:31:31 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Linus Nielsen Feltzing
f077710b86 New mpeg_status() function replaces mpeg_is_playing()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2379 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 07:49:16 +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
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
Björn Stenberg
25f0b3b777 Added support for %d4 to %d9 in the WPS format string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2226 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:34:10 +00:00
Björn Stenberg
11fbddb5b6 Removed hard-coded time display on recorder and added %pb progress bar tag instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2218 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:17:02 +00:00
Daniel Stenberg
88aeb7140c custom wps without an ending newline should still be OK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2173 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 14:17:41 +00:00
Robert Hak
8877c66498 minor line fix, line length > 80 chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2163 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:54:13 +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
0976b57c49 Fixed broken build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2134 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 13:32:31 +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
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
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
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
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
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
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