Commit graph

183 commits

Author SHA1 Message Date
Björn Stenberg
0d5ea771c8 Fix red sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3358 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:20:14 +00:00
Daniel Stenberg
a865102010 fix to not use the redefined calls within the redefined calls themselves,
as Mike Holden reported


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3275 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 17:41:10 +00:00
Daniel Stenberg
a62fd981b2 added the missing write()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3268 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:52:18 +00:00
Daniel Stenberg
603975b4a2 this compiles better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3267 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:50:17 +00:00
Daniel Stenberg
f22ac91142 fixes the warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3225 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:31:28 +00:00
Daniel Stenberg
83131fa6e7 use new path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3220 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:10:17 +00:00
Daniel Stenberg
ae26233817 build and work with the new include path(s)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3214 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:42:57 +00:00
Daniel Stenberg
f8ee440c9e include the original kernel.h from the new location
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3210 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 11:58:20 +00:00
Björn Stenberg
2ba4fedd64 Added close() and proper creat() to x11 emulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3179 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 23:14:41 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
4bea14d6bf Printing keyboard shortcuts at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3139 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 08:46:14 +00:00
Kjell Ericson
0ca9ccbe63 Default window zoom for Recorder simulator is 2.
You can change window zoom with the command line flags "--player_zoom" and "--recorder_zoom". Or you can set the environment variable RECORDER_ZOOM or PLAYER_ZOOM.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3131 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 09:39:38 +00:00
Björn Stenberg
7d80ba0131 Added rename() to simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3090 a1c6a512-1295-4272-9138-f99709370657
2003-01-15 11:38:03 +00:00
Kjell Ericson
1cb806110a Implementing Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3055 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:03:07 +00:00
Kjell Ericson
ea3d4d5a00 Implementing Rocklatin for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3054 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:02:27 +00:00
Björn Stenberg
c78e1b07fe The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding down PLAY on it while playing other music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 00:55:00 +00:00
Björn Stenberg
c8cb6ffcc0 Added virtual keyboard for text input, loosely based on John Wood's code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2928 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 15:04:43 +00:00
Linus Nielsen Feltzing
4a66327583 Some simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2919 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 22:49:48 +00:00
Björn Stenberg
6fb512aba5 Added disk space to Info menu item. (Players press + to see it.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 11:32:26 +00:00
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
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
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
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
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
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
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
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
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
Mats Lidell
2aab7cc4b5 Player simulator uses lcd-playersim for display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2581 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:13:03 +00:00
Daniel Stenberg
badee43656 Frédéric Dang Ngoc pointed out a bug in the lcd_update_rect() for X11.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2495 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 07:41:33 +00:00
Björn Stenberg
0e6088fc9c Changed .eq file format to simple 'setting: value' model.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2478 a1c6a512-1295-4272-9138-f99709370657
2002-10-02 16:33:26 +00:00
Daniel Stenberg
58deeff5be viewer added to the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2453 a1c6a512-1295-4272-9138-f99709370657
2002-09-30 19:06:29 +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
Daniel Stenberg
a738726bb5 build the language stuff correctly and an improved clean target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2416 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 14:11:47 +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
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00