Commit graph

414 commits

Author SHA1 Message Date
Daniel Stenberg
864cff709f added printf() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2778 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 13:20:12 +00:00
Kjell Ericson
dae8deaf1f The lcd_clear_display() didn't work.
Added some debug-stuff.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2772 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 10:43:30 +00:00
Kjell Ericson
8857d47b5a A try to fix a compilation error for the Win32 recorder simulator. (not tested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2767 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:45:37 +00:00
Kjell Ericson
fe026b944d Definitions of "struct coordinate" and "struct rectangle" and definitions
of the drawing functions needed for the simulators.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2766 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:18:17 +00:00
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
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
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
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
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
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
Mats Lidell
a99c565d72 Moved lcd player code to lcd-playersim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2714 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:20:14 +00:00
Mats Lidell
d4efbada61 Player don't use dynamic fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2713 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:19:10 +00:00
Kjell Ericson
feae991575 Changed Logf to printf while debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2708 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:42:47 +00:00
Kjell Ericson
65de9c9167 Moved volume-icon a bit. More examine will be done later in order to look at
the other icons. They seem to be too large for a real player screen.
The problem of the flickering screen is residing here somewhere...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2707 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:40:57 +00:00
Kjell Ericson
fdb7b41771 The simulated version shall not have a BITMAP_LCD any more (fucked up the screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2706 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:38:32 +00:00
Kjell Ericson
5fddbf488a Drawing the same kind of frame for both recorder and player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2705 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:37:15 +00:00
Mats Lidell
c4a09adf29 Scroll works for wps and menus. Still much cleanup to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2704 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 15:15:04 +00:00
Felix Arends
1e95013f3c what did that #ifdef do there?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2690 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:54:37 +00:00
Felix Arends
61a32e9ea3 we dont need this file any longer!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2687 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:45:38 +00:00
Felix Arends
879fabdb1d finally up-to-date: the win32 simulator (at least for the recorder)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2685 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 16:26:09 +00:00
Kjell Ericson
fae212043b Using expose-event instead of resizerequest-event in order to be able to
zoom the window.
Note that when you shrink the window, you must make it a bit larger again in
order to get it redrawn.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2676 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:44:43 +00:00
Kjell Ericson
c54ff705a0 First attempt to adjust the drawing routines to be able to zoom the window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2675 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:43:13 +00:00
Kjell Ericson
c72a17742b Updated version to 0.2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2674 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:41:25 +00:00
Mats Lidell
ac2b1b9a89 Icons were flipped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2666 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 13:25:07 +00:00
Daniel Stenberg
87b66a8895 less crap makes better code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2659 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:44:56 +00:00
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Daniel Stenberg
6e0a75c596 better rtc_read() simulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2657 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:24:09 +00:00
Daniel Stenberg
28e10a9849 set the DOCSDIR variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2648 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 08:09:47 +00:00
Daniel Stenberg
b3438e8b68 added a silly stub for oscillograph to remove an #ifdef in the actual code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2642 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:58:16 +00:00
Daniel Stenberg
0ab96fdf70 make credits.c use the generated list of names properly as already done
in apps/Makefile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2641 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:51:25 +00:00
Daniel Stenberg
de5578a0f8 Added cube.c to build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2628 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:19:08 +00:00
Daniel Stenberg
5fcce4da58 Now the X11 simulator sets the BUTTON_REL bit properly and thus generates
button release events, much in the same way the actual target behaves.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2606 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 08:09:29 +00:00
Daniel Stenberg
ea60436cd8 slow down the button check function, this makes the cube look sane in the
simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2605 a1c6a512-1295-4272-9138-f99709370657
2002-10-13 14:16:44 +00:00
Daniel Stenberg
752c8ecdc0 removed showtext.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2600 a1c6a512-1295-4272-9138-f99709370657
2002-10-12 13:31:22 +00:00
Daniel Stenberg
5d3515f366 set HAVE_RTC when building Recorder simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2589 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 20:17:08 +00:00
Daniel Stenberg
d4d3a5df94 rtc_read() and rtc_write() added, and if we now set HAVE_RTC when building
the recorder simulator, we get a clock in the status bar! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2586 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 18:48:22 +00:00