1
0
Fork 0
forked from len0rd/rockbox
Commit graph

1104 commits

Author SHA1 Message Date
Jens Arnold
f212e6cf5f Smaller & faster (on our targets) fixed point exp() with a multiplication.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10454 a1c6a512-1295-4272-9138-f99709370657
2006-08-04 07:02:34 +00:00
Antoine Cellerier
737e4768a1 Yet some more fixes (mostly for small archos screens).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10453 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:58:35 +00:00
Antoine Cellerier
50b6ea7b91 Change hearts and diamonds bitmaps for monochrome screens. Thanks to pixelma for the idea.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10452 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:55:18 +00:00
Daniel Stenberg
451f08ad4c repair x5 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10451 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:40:37 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Antoine Cellerier
364e892050 Remove some more useless code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10445 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:11:47 +00:00
Antoine Cellerier
312ccc2f2f Some graphics fixes for solitaire. (Numbers for hearts and diamonds still need to be colored red on color LCD screens)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10443 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 19:57:33 +00:00
Jens Arnold
89c81ce1fb Repair bufferend scrolling background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10434 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 15:13:57 +00:00
Jens Arnold
ce23f3d921 Greyscale targets: Fix empty display when returning from menu without action. Don't show remnants of old info during disk spinup when loading a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10426 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 06:51:27 +00:00
Antoine Cellerier
e3851828af Fix compile warning (and small diaply bug)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10423 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:33:34 +00:00
Antoine Cellerier
5e2a9a19cf Cleanup solitaire code a bit. A side effect is that it should now be possible to play on small LCD screens like the recorder's (which had become impossible since revision 1.20).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10422 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:17:21 +00:00
Antoine Cellerier
c00c94e1a4 Some more solitaire graphics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10421 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 22:14:59 +00:00
Jens Arnold
b4cb493135 Proper rounding...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10420 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 21:15:22 +00:00
Jens Arnold
fd9bd310a2 Slightly better precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10419 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:57:40 +00:00
Jens Arnold
344849cc22 Ooops, don't apply correction when it shouldn't be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:19:20 +00:00
Jens Arnold
628d20a610 Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 00:22:01 +00:00
Linus Nielsen Feltzing
73c283e969 Fix bug #5724 - Missing characters in text viewer, the number of characters in the line to display was calculated with a too wide character as reference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10395 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 17:48:38 +00:00
Shachar Liberman
5360df96ef accept patch FS#4761 - putting the player on hold will now pause games. this should be
fitted to pong and rockblox as well. credit Lukas Sabota for the initial work, and, my very
own first commit!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10365 a1c6a512-1295-4272-9138-f99709370657
2006-07-30 03:10:09 +00:00
Antoine Cellerier
68e56552fd Commit greyscale images again using binary mode this time. Also changed bitmap a bit to increase contrast
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10356 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 21:09:58 +00:00
Antoine Cellerier
b17702eebc Remove bitmap (i'll commit it again in binary mode). This will break some of the builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10355 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 20:59:05 +00:00
Jens Arnold
05ddd9a44e X5 remote LCD drawing. This will break target linking atm - lcd_remote_update[_rect]() are not yet implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10347 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 07:35:45 +00:00
Antoine Cellerier
2d4cfa8738 Star plugin (again): Apply http://www.rockbox.org/tracker/task/5493 (button help strings for all targets) and rework the help string for grey/color targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10345 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 22:28:48 +00:00
Antoine Cellerier
a322081e94 Add bitmaps for greyscale LCD targets for "star" game. Closes http://www.rockbox.org/tracker/task/5509
(bitmaps are a bit too large for ipod mini, but the game is still playable)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10344 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 22:04:07 +00:00
Antoine Cellerier
821a6c9169 Thou shall always test compilation before commiting. (fixes b&w LCD targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10343 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 21:23:55 +00:00
Antoine Cellerier
c577ec6790 Apply patch from http://www.rockbox.org/tracker/task/5569
Quote:
* Reduced the speed back to normal on colour targets (except 5G because it's LCD is slow)
* Added the ability to use the select button to navigate menus on iPod and irivers.
* Tried to fix the animation next to the menu. It's a little better but still very flakey.
* Adjusted the position of the ball and block indicator bitmap while playing the game, so they are not placed off the edge of the screen.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10342 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 21:08:52 +00:00
Antoine Cellerier
3e60bc4427 * fix "number of mines" display on some target (previously didn't work on iPod 5G). This closes http://www.rockbox.org/tracker/task/5701
* remove trailing spaces


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10341 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 20:53:57 +00:00
Linus Nielsen Feltzing
c849219370 Moved the X5 button driver to the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Mark Arigo
073d73be51 Fixes text viewer column advance when in wide mode using play+left/right button combo (bug #5685)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10327 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 20:49:53 +00:00
Antoine Cellerier
9013cb0f9e Fix compile warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10301 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 21:17:39 +00:00
Antoine Cellerier
a096c83689 Make the font browser a bit more usable on real targets. (The screen is only redrawn when scrolling is needed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10300 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 20:55:55 +00:00
Antoine Cellerier
ddbda01dc1 Take selected color into account when using the "text" tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10289 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 10:31:29 +00:00
Antoine Cellerier
9ab9b6e954 Fix file browser (which fixes file loading from menu). Looks like errno isn't set as expected when using opendir on real targets.
Btw, i forgot to give credit to Eli Sherer for the original rockpaint idea and code in my previous commit. Thanks :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10288 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 00:07:11 +00:00
Antoine Cellerier
f28c35effc Fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10269 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 22:31:59 +00:00
Antoine Cellerier
928c33c255 rockpaint.c: Paint plugin for color LCD targets. Features include: different tools (brush, bucket, cut/copy/paste, line, bezier curve, text, rectangles, ovals, linear and radial gradients), 18 color palette, RGBHSV color picker, BMP file loading and saving. This still needs some work (and maybe some, if not a lot, of cleaning up of the source code) but it works fine (tested on h3x0 and ipod5g sims and ipod5g real target).
viewers.config: add rockpaint to the list of available viewers for .bmp files


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10258 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 20:11:02 +00:00
Antoine Cellerier
36daf39e57 Rockpaint interface bitmaps:
* rockpaint.bmp : toolbar
 * rockpaint_hsvrgb.bmp : color picker legend


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10257 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 20:01:08 +00:00
Antoine Cellerier
2da8f69c95 Lib to save a bitmap struct to a bmp file. Only works/tested with color bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10254 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:44:44 +00:00
Antoine Cellerier
5e306b4c19 RGB <-> HSV colorspace conversion lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10253 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:40:17 +00:00
Jens Arnold
d59b2d0bf6 Tetrox colour background rework by Marianne Arnold: * Reworked brick walls. * Preview area black to match the in-game handling. * Fixed iPod G5 preview area size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10226 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 00:28:35 +00:00
Jens Arnold
393f31cc43 1bit and 2bit LCD drivers: Low-level bit handling optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10225 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 00:04:43 +00:00
Peter D'Hoye
ed00b17305 Add .jpe and .jpeg extensions to supported viewer extensions for the jpeg viewer. Patch FS#5676 by Nils Wallménius.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10224 a1c6a512-1295-4272-9138-f99709370657
2006-07-17 22:30:21 +00:00
Jens Arnold
11e229ffa6 Graphical improvements: * Brighter blocks and darker walls on greyscale targets. * Preview background is now black. * More natural corner 'lighting'. * Get rid of the splash() remains after unpausing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10218 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 22:19:52 +00:00
Peter D'Hoye
2076363fda Fix for uninitialized variable, caused crash when viewing a file that started with whitespace. Fixes FS#5658 with solution given by bugsubmitter (Mark Arigo). Viewer code still needs more work but at least won't crash on this anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10213 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 13:53:18 +00:00
Peter D'Hoye
ac13e52522 jpeg viewer: keep backlight on. Patch 5652 by Matthias Mohr plus some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10207 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 23:15:16 +00:00
Jonas Häggqvist
1d789eec71 Adjust vu_meter plugin for all screens. Patch by Robert Keevil. Slight code policing as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10204 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 20:07:08 +00:00
Antoine Cellerier
7ee850e432 * fix bug (when double clicking on a card on the remains' stack to
automatically move it to the corresponding final stack, if the move
worked, the cursor wasn't able to select a new card afterwards. - yeah,
this sounds a bit complicated)
 * remove trailing spaces/tabs

TODO: Fix/clean/rewrite the plugin. This whole code is a mess. It's
impossible to read and maintain.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10196 a1c6a512-1295-4272-9138-f99709370657
2006-07-11 21:38:27 +00:00
Antoine Cellerier
4ffff6fbad Apply patch number 3 from http://www.rockbox.org/tracker/task/5430
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10186 a1c6a512-1295-4272-9138-f99709370657
2006-07-08 13:19:23 +00:00
Kevin Ferrare
f77ac7a6a7 added support remote support for the id3 infos screen (had to slightly change the list engine to use it here as well), corrected a mistake in the french translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
2006-07-02 12:28:27 +00:00
Kevin Ferrare
0028b05f3e Added multi-screen API to the plugins API, made 'demystify plugin' use the remote display as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 10:14:27 +00:00
Martin Arver
d32149f6f2 Remove Rockblox as it is superseeded by Tetrox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10165 a1c6a512-1295-4272-9138-f99709370657
2006-07-01 09:39:30 +00:00
Jens Arnold
fcc23784fc Removed battery_test because it's superseded by battery_bench.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10162 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 23:23:01 +00:00