Commit graph

601 commits

Author SHA1 Message Date
Hardeep Sidhu
6cb7b15be8 Plugins should not require cygwin to run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3804 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 03:52:11 +00:00
Hardeep Sidhu
8dd3a822c7 Fixed simulator warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3798 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 23:43:29 +00:00
Hardeep Sidhu
730986a898 Fixed simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3797 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 23:39:05 +00:00
Hardeep Sidhu
9e4262081b Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Hardeep Sidhu
b76dca2df5 X11/Cygwin simulator doesn't require libdl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3788 a1c6a512-1295-4272-9138-f99709370657
2003-06-30 03:43:07 +00:00
Hardeep Sidhu
a26427aba8 Changed win32 simulator to use plugin.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3785 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 23:44:53 +00:00
Hardeep Sidhu
dd5d3f652f Changed win32 simulator to use plugin.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3784 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 23:38:03 +00:00
Hardeep Sidhu
b421750102 Plugins now work with win32 simulator (.rock files are built as dll's)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3781 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 21:57:31 +00:00
Hardeep Sidhu
3f9fdafc69 Disable plugin loading on win32 simulator for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3772 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 17:22:22 +00:00
Björn Stenberg
117be9e6e4 Simulators must link with libdl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3771 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 17:06:16 +00:00
Björn Stenberg
3f54121fde Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3770 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:43:15 +00:00
Hardeep Sidhu
4872bfee5f When reading a dir, only set the attribute information we care about in the dirent structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3754 a1c6a512-1295-4272-9138-f99709370657
2003-06-18 04:48:40 +00:00
Hardeep Sidhu
dedc8cee86 Fixed cygwin+mingw compile time error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3751 a1c6a512-1295-4272-9138-f99709370657
2003-06-14 18:56:33 +00:00
Hardeep Sidhu
ec6a6925ef Fixed compile time error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3742 a1c6a512-1295-4272-9138-f99709370657
2003-06-11 05:13:53 +00:00
Kjell Ericson
ffefc5d5e1 A bit faster update of Player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3730 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 08:29:21 +00:00
Hardeep Sidhu
c516064fc3 Mingw doesn't like io.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3712 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 03:55:32 +00:00
Hardeep Sidhu
71197f1d02 Include proper io headers to insure that proper file arguments are used. Also mapped flush to appropriate win32 call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3711 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 01:59:32 +00:00
Hardeep Sidhu
23d1cdd4de Last change broke the mingw32 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3710 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 01:46:24 +00:00
Hardeep Sidhu
e7d028e2fd Default file mode should be O_BINARY to be consistent with rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3708 a1c6a512-1295-4272-9138-f99709370657
2003-05-30 00:29:50 +00:00
Jörg Hohensohn
52c4c82b5c buffer.c added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3676 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 07:38:06 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00
Linus Nielsen Feltzing
ce9294476e Added misc.c to the sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3650 a1c6a512-1295-4272-9138-f99709370657
2003-05-04 09:31:44 +00:00
Daniel Stenberg
8670474079 compile and link with sprintf.c always, since we now have a special
fprintf() version


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3639 a1c6a512-1295-4272-9138-f99709370657
2003-05-02 12:17:22 +00:00
Daniel Stenberg
f97cdc9cd5 remove warnings, make it build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3617 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 14:05:43 +00:00
Daniel Stenberg
ab3868ac1d use size_t instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3613 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:43:10 +00:00
Daniel Stenberg
004f690405 use the rockbox versions of the sprintf* and friends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3611 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:36:14 +00:00
Daniel Stenberg
eae511030c Now supports key-repeat in the simulator!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3594 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:49:57 +00:00
Daniel Stenberg
4ccffb6589 remove debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3593 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:49:24 +00:00
Jörg Hohensohn
c6fb565dd9 most of UI sim patch 708460 from Magnus Holmgren, except the bitmap removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3571 a1c6a512-1295-4272-9138-f99709370657
2003-04-19 13:15:33 +00:00
Jörg Hohensohn
20402c6375 include rockbox.dsp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3538 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 23:10:10 +00:00
Jörg Hohensohn
780595b6c4 new project file for MSVC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3526 a1c6a512-1295-4272-9138-f99709370657
2003-04-10 20:30:35 +00:00
Daniel Stenberg
7b9a36eeff make the win32 sim build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3478 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 21:45:13 +00:00
Linus Nielsen Feltzing
e98bad5b38 Added the filesize() function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 00:39:57 +00:00
Daniel Stenberg
3c6bb5c040 added strtok_r() proto to build warning-free on mingw
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3471 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:48:08 +00:00
Daniel Stenberg
1450f4a9b5 don't set NOCYGWIN unconditionally! ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3470 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 21:47:43 +00:00
Daniel Stenberg
ebef8e9bee removed libmad leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3459 a1c6a512-1295-4272-9138-f99709370657
2003-03-17 19:04:04 +00:00
Björn Stenberg
61a4cce656 Added onplay.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3437 a1c6a512-1295-4272-9138-f99709370657
2003-03-12 20:23:07 +00:00
Linus Nielsen Feltzing
a039091187 New ID3 and MP3 stream parser, plus not-yet-ready Xing header generation code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3410 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 14:55:31 +00:00
Daniel Stenberg
11d9ecbc10 killed a warning
properly indented some code


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3389 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:59:36 +00:00
Daniel Stenberg
9b628edc49 Henrik Backe modified the check for cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3387 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:49:29 +00:00
Daniel Stenberg
7d2f8e7063 Set a mode that makes sense as the Rockbox code doesn't use modes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3386 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:48:34 +00:00
Daniel Stenberg
ed87c774f8 Henrik Backe's patch to end files with newlines to prevent compiler
warnings.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3385 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:47:26 +00:00
Daniel Stenberg
a5bfaa9e98 Henrik Backe's fixes to enable this to build using cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3384 a1c6a512-1295-4272-9138-f99709370657
2003-03-05 22:45:14 +00:00
Daniel Stenberg
3aeb55f385 no one ever uses libmad, remove it from our CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3382 a1c6a512-1295-4272-9138-f99709370657
2003-03-04 15:52:56 +00:00
Björn Stenberg
e15b8f4414 Red build pill
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3359 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:44:26 +00:00
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
4953375219 non-cygwin builds need the sprintf.c file
remove credits.raw in the clean target


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3294 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 22:06:41 +00:00
Daniel Stenberg
3a25735aa1 Henrik Backe's fixes to enable the simulator to build with cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3293 a1c6a512-1295-4272-9138-f99709370657
2003-02-19 14:20:16 +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
2a9cb93831 fake the firmware's file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3270 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:37 +00:00
Daniel Stenberg
353da9ba48 don't build ctype
don't use firmware/include in the include path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3269 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:02:12 +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
Felix Arends
2362fa918e remove warnings from mingw build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3265 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 23:12:55 +00:00
Felix Arends
e3403ecd9f this fixes the win32 simulator compilation
the simulator does not use the firmare\include path, instead it uses standard header files
those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 20:51:10 +00:00
Björn Stenberg
c4d8d970f6 The power-saving SLEEP patch by Simon Elén.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +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
3d84988597 use the new paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3223 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 10:21:50 +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
e35bbe3e2d updated path to kernel.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3216 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:45:39 +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
Felix Arends
95d229e0f6 new kernel.h file (was not found inside include path before),
applied Daniel's changes to the x11 simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3211 a1c6a512-1295-4272-9138-f99709370657
2003-02-05 17:48:55 +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
Felix Arends
65702adc0c working makefile for win32 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3195 a1c6a512-1295-4272-9138-f99709370657
2003-01-30 15:53:17 +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
Daniel Stenberg
a9b04beba4 get_time() for sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3172 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:40:02 +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
Daniel Stenberg
8c5e3f833b added stub functions for the rename
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3126 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 16:50:36 +00:00
Daniel Stenberg
37b0c075cf keyboard.c was missing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3125 a1c6a512-1295-4272-9138-f99709370657
2003-01-17 15:52:10 +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
Linus Nielsen Feltzing
f1f7b6150a ...and the usual simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2940 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:16:23 +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
f4704d50c1 Attempt to fix the win32 simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2920 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 23:08:14 +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
Daniel Stenberg
5a7548afba Added dummy fat_size() to make it link
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2838 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 19:38:01 +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
740dc63186 somewhat kludgey work-around to prevent the <io.h>'s version of the mkdir()
proto to ruin our compile


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2804 a1c6a512-1295-4272-9138-f99709370657
2002-11-04 22:33:00 +00:00
Kjell Ericson
54d5e2cb27 Added a 5 pixel border around the content. Looks better (that's all).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2800 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 13:38:21 +00:00
Kjell Ericson
b3e41c711b Changed the battery icon so it doesn't clear the inner part of the icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2798 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 08:10:33 +00:00
Mats Lidell
0d79fa127d Icons created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2792 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:34:07 +00:00
Mats Lidell
097bd10680 Adjusted position of second icon line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2791 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 17:33:41 +00:00
Daniel Stenberg
26507c1bf2 add 'errno' here, since it makes the mingw32 build work fine again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2787 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 08:05:47 +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
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
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
Mats Lidell
d5fd94d693 Player simulator stuff for patterns added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2580 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:12:00 +00:00
Mats Lidell
36e935f1b7 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2579 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:10:52 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Mats Lidell
645250065b Added icons for repeat and repeat 1.
Moved icons on the first status row around a little. (Subject to
change when the real fonts are there but looks better now.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2512 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:59:54 +00:00
Mats Lidell
90d7b78793 Added icons for repeat and repeat 1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2511 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:57:07 +00:00
Mats Lidell
f7310b7eb1 Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2510 a1c6a512-1295-4272-9138-f99709370657
2002-10-05 23:56: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
c43b36c70c backlight when charging now is for players and simulators too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2466 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 11:12:57 +00:00
Daniel Stenberg
b95fe1afc6 Mark A. Hillebrand's patch that offers a new setting that if enabled, keeps
the backlight on all the time while the charger is connected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 10:59:36 +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