Commit graph

3100 commits

Author SHA1 Message Date
Kjell Ericson
f7a4b2b0da Changed XPoint to "struct coordinate".
New lcd_update for the player simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2764 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:08:40 +00:00
Kjell Ericson
cacb758a47 New file font-player.c is added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2763 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:07:37 +00:00
Kjell Ericson
f9a912d850 Using the structures "rectangle" and "points" when drawing (Win32 doesn't have XPoint).
Added the funtion drawrectangles() that is used for the player simulation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2762 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:04:53 +00:00
Kjell Ericson
dbab14de1f Added command line parameter "--old_lcd" that will simulate the old LCD of
the player.
Made the screen a bit larger too.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2761 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:02:30 +00:00
Kjell Ericson
3262207223 Updated for better player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2760 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:00:19 +00:00
Kjell Ericson
3714f468c1 New height for teh player simulator. The default is pixels of 4x4 in order to
make it more readable and better icons.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2759 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 19:53:44 +00:00
Kjell Ericson
fd9f864de2 The player simulator now has it own font_init()-function. We shall therefor call it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2758 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 19:52:22 +00:00
Linus Nielsen Feltzing
18a7c78d60 Moved the volume_type and battery_type settings in RTC, since they interfered with the scroll speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2757 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 10:37:10 +00:00
Linus Nielsen Feltzing
c225790e26 Now clears the resume point at end-of-list. This fixes bug #627344.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2756 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 09:44:24 +00:00
Linus Nielsen Feltzing
1a2712072b Removed some unnecessary LCD updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2755 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 09:11:42 +00:00
Linus Nielsen Feltzing
c5e29938c4 Fast forward near the end of the last song in a playlist didn't activate the DMA if the remaining amount to play was below the watermark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2754 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 00:00:07 +00:00
Linus Nielsen Feltzing
a12eb3d892 The return code from wps_display() wasn't handled correctly. And keylock() didn't reset the locked icon when reaching the end of the playlist. This fixes bug #624938.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2753 a1c6a512-1295-4272-9138-f99709370657
2002-10-27 23:38:24 +00:00
Linus Nielsen Feltzing
c41322c591 Better skipping of leading garbage. Fixes bug #625868.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2752 a1c6a512-1295-4272-9138-f99709370657
2002-10-27 23:07:26 +00:00
Robert Hak
da407264c2 fixing a yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2751 a1c6a512-1295-4272-9138-f99709370657
2002-10-26 05:46:53 +00:00
Robert Hak
5a9e8929cd battery/volume status can be displayed numerically
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2750 a1c6a512-1295-4272-9138-f99709370657
2002-10-26 05:26:23 +00:00
Daniel Stenberg
061763b2a6 fixed the check for the release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2749 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 15:09:52 +00:00
Robert Hak
b351656491 fix on button detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2748 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:42:45 +00:00
Björn Stenberg
ab7c63814b 'fat' is now a ommand-line test tool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2747 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:34:53 +00:00
Björn Stenberg
7c62863fbe Fixed bug where first sector was skipped on reads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2746 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:05:30 +00:00
Björn Stenberg
f2b8aec35c Simplified USB question
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2745 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 20:23:16 +00:00
Björn Stenberg
89d57b122a Added USB handling. Fixed return value bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2744 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 20:13:40 +00:00
Felix Arends
b09e1c6ddd now supporting the credits.pl script and a language is pre-set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2743 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 18:49:50 +00:00
Björn Stenberg
46ddacf533 Fat32 write updates: Nixed some bugs. Basic file creation now works. Todo: Long filenames and extensive test cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2742 a1c6a512-1295-4272-9138-f99709370657
2002-10-22 15:06:08 +00:00
Kjell Ericson
a901c3a433 Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2741 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:46:10 +00:00
Kjell Ericson
efba78ba13 Added Kjell Ericson.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2740 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:36:06 +00:00
Kjell Ericson
08cbf69e0e Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2739 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:32:23 +00:00
Kjell Ericson
f179453524 The font for player-simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2738 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:28:09 +00:00
Kjell Ericson
e12e55e53a Fonts are only for recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2737 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:22:22 +00:00
Kjell Ericson
a52896878a Dubbled the size of player bitmap. The double height/width will be used to
make the icons in double resolution (and who wants to look at that old tiny
simulated player window anyway?)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2736 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:21:43 +00:00
Kjell Ericson
ccfa84853a Many functions have been changed.
The font will now be drawn in a more hardware-like style.
The "select arrow" is now looking bad, but will be fixed by Mats Lidell and
me later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2735 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:20:09 +00:00
Kjell Ericson
fe10eb3a9f Almost totaly rewritten.
Most icons are still missing, but will be redrawn in some days.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2734 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:17:47 +00:00
Kjell Ericson
d19b9edfa4 Added stubs that shall not be in the player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2733 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:16:14 +00:00
Kjell Ericson
d317ddb333 The font will be shown in another way in player-simulator so the sysfont.c
and font.c will be recorder-only.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2732 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:15:23 +00:00
Kjell Ericson
cfa206bfed Doubled the height/width for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2731 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:14:01 +00:00
Kjell Ericson
93b5f92c53 The window zooming is now depending on LCD_WIDTH and LCD_HEIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2730 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:12:55 +00:00
Markus Braun
bc254fe95f Added multiline scroll support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2729 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 13:14:25 +00:00
Daniel Stenberg
f45345edd9 ldebugf() is only present in SIMULATOR, we set LDEBUGF to be the normal
debugf() when not building simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2728 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 07:48:00 +00:00
Daniel Stenberg
aeb3d0dcef removed use of uninitialized variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2727 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 07:26:12 +00:00
Björn Stenberg
b7b48fea02 Snapshot of file writing code. Bugs remain. Only short names are supported yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2726 a1c6a512-1295-4272-9138-f99709370657
2002-10-20 22:50:58 +00:00
Robert Hak
1df1e51a03 stepping towards seperate levels file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2725 a1c6a512-1295-4272-9138-f99709370657
2002-10-19 12:06:16 +00:00
Robert Hak
b1ee36e6c8 create .rockbox on a mac
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2724 a1c6a512-1295-4272-9138-f99709370657
2002-10-19 04:51:44 +00:00
Robert Hak
ab0641ab56 windows .rockbox issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2723 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 15:59:24 +00:00
Felix Arends
57dcf0bb78 working win32sim makefile (for player)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2722 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 15:22:20 +00:00
Björn Stenberg
5cb429ec60 Added mpeg_set_pitch() stub to simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 14:03:11 +00:00
Mats Lidell
ac59dceeea Use lcd-player.c in simulator. (Not tested but better?!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2720 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:46:58 +00:00
Mats Lidell
f4f9997404 Use lcd-player.c in simulator. (Not tested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2719 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 13:27:55 +00:00
Björn Stenberg
0834d3f322 Pitch steps changed to 0.1% instead of 1%.
Holding down ON+RIGHT/LEFT increases/decreses pitch 2% while key is held down, then returns.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2718 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 12:05:15 +00:00
Mats Lidell
8ca78b6665 Undefined functions supplied for simulator in lcd-playersim.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2717 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:24:23 +00:00
Mats Lidell
073ca0a8bc Use lcd-player.c in simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2716 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:21:29 +00:00
Mats Lidell
786d2c3cb3 Rewritten based on lcd-player.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2715 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:48 +00:00