summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow.c (follow)
Commit message (Collapse)AuthorAge
...
* Make sure pictureflow always uses the user font, both on colour and ↵Jens Arnold2008-12-28
| | | | | | greyscale targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
* more pictureflow work:Andrew Mahone2008-12-28
| | | | | | | | | | | | | | | | | remove create_bmp entirely, storing scaled covers as-is in cache extend accuracy of fade_color and use it for reflection fading fix rendering issues while working on renderer, it is slower now but outside edge of cover no longer cuts off top of next cover if it would be exposed fix fsin to have real -1.0 - 1.0 range, and have correct zeroes adjust center margin option range again, now 0-80, since negative causes rendering glitches git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19603 a1c6a512-1295-4272-9138-f99709370657
* FS#8335, with some changes discussed on IRC:Andrew Mahone2008-12-27
| | | | | | | | | | | | Resize can be turned off (on by default). This will not look good if covers are larger than the desired size. Album title config: show at top or bottom, or hide. Center margin is actual distance, in pixels, between center slide and adjacent slides. Defaults are now set to show three slides to each side. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19599 a1c6a512-1295-4272-9138-f99709370657
* Add support for scaled bitmap loads, and for greylib display, toAndrew Mahone2008-12-27
| | | | | | pictureflow, as well as several small fixes in the areas modified. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19598 a1c6a512-1295-4272-9138-f99709370657
* Make scaler output truly pluggable, add an 8-bit greyscale output toAndrew Mahone2008-12-26
| | | | | | | pluginlib for use with greylib, and add source for a test scaled bmp viewer using greylib. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
* Yesterday's bugfix commit was buggy. Try again (FS#9634 by Thomas Martitz).Jonas Häggqvist2008-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19432 a1c6a512-1295-4272-9138-f99709370657
* Bugfixes for Pictureflow (FS#9627 by Thomas Martitz):Jonas Häggqvist2008-12-12
| | | | | | | | | | | - Get complete metadata for albums (closes FS#9606). - Explicitly remove existing cache before creating new one (closes FS#9135). - Resetting the selection variable upon re-entering tracklist mode (better fix for FS#8347). - Use the system-wide HAVE_SCROLLWHEEL define rather than the local SCROLLWHEEL. - Change a buffer to be of size MAX_PATH+1 rather than MAX_PATH. It's unclear whether this is needed or not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19408 a1c6a512-1295-4272-9138-f99709370657
* Pictureflow:Jonas Häggqvist2008-12-12
| | | | | | | | - Always initialise artist and albumartist to NULL to avoid segfaults and other nastiness (closes FS#9266). Ideally they should be set to their actual values (would fix FS#9606), but this fix at least avoids some problems. - Be a bit more precise in the error given when no albumart is found. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19404 a1c6a512-1295-4272-9138-f99709370657
* Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis2008-12-10
| | | | | | gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* Makefile overhaul. All generated bitmaps are now explicitly in ↵Björn Stenberg2008-11-03
| | | | | | OBJDIR/bitmaps and OBJDIR/pluginbitmaps, and plugins properly depend on their respective bitmap files. Fixes #6847. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18987 a1c6a512-1295-4272-9138-f99709370657
* Fix a display bug with the tracklist in Picture Flow. Thanks to Thomas Schott.Nicolas Pennequin2008-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18537 a1c6a512-1295-4272-9138-f99709370657
* Some bug fixes for PictureFlow by Thomas Martitz: Mistitled zoom setting, ↵Nicolas Pennequin2008-09-08
| | | | | | FPS setting not saved, FPS overlapping tracklist, tracklist not refreshing and tracklist missing one song git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18454 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* pictureflow update:Jonathan Gordon2008-06-24
| | | | | | | | | fix FS#8347 and FS#8425 - track order is incorrrect also: center the track list in the screen, and show the track number if its available git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17781 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Fixed cpu boost/unboost (in case of a plugin error, the cpu was unboosted ↵Bertrik Sikken2008-04-19
| | | | | | without being boosted earlier). Also fixed possible missing cleanup in case write_pfconfig fails. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17167 a1c6a512-1295-4272-9138-f99709370657
* the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon2008-03-26
| | | | | | be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon2008-01-10
| | | | | | make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
* PictureFlow improvements:Nicolas Pennequin2007-12-16
| | | | | | | | | | | | | * Track listing when selecting an album. Press select to go back to album view. Playing tracks from the list isn't implemented yet * Added a "zoom" setting Code changes: * Switched to a state machine approach * Some inlining and const changes * Various optimizations and cosmetic tweaks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15941 a1c6a512-1295-4272-9138-f99709370657
* Fix the crashes observed on the H10 5GB during the caching process. It was a ↵Nicolas Pennequin2007-12-16
| | | | | | classic case of out of bounds access after resizing, more visible on the H10 because it has a small screen size and we use the screen size as buffer size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15939 a1c6a512-1295-4272-9138-f99709370657
* PictureFlow fixes and improvements:Nicolas Pennequin2007-12-11
| | | | | | | | | | | | * Reduced popping effect (FS#8303) * Scale the empty slide to average album width * Introduced some visual settings * Fix FS#8298 but make the criteria a screen height of less than 100 px so that only the c200 gets 50x50 slides The scaling code is added as a lib function with a basic test plugin that's not compiled by default. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15913 a1c6a512-1295-4272-9138-f99709370657
* Fixed a few typos spotted on IRC.Jonas Häggqvist2007-12-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15910 a1c6a512-1295-4272-9138-f99709370657
* A couple fixes:Nicolas Pennequin2007-12-11
| | | | | | | * The menu was being drawn with the wrong colour if entered while the album name was being faded * Display an error message if no albums have been found (which indicates that the database isn't initialised) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15909 a1c6a512-1295-4272-9138-f99709370657
* PictureFlow improvements by Jonas Hurrelmann:Nicolas Pennequin2007-12-10
| | | | | | | * Scrolling and fading album titles * Better support for small displays git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15908 a1c6a512-1295-4272-9138-f99709370657
* Fix a file descriptor leakNicolas Pennequin2007-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15906 a1c6a512-1295-4272-9138-f99709370657
* PictureFlow improvements:Nicolas Pennequin2007-12-10
| | | | | | | | * Fix a keymap problem on the c200, hopefully won't affect other targets * Remove the 100x100 limitation (limit is now the screen size) * Add an option in the settings menu to clear the cache git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15905 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of the PictureFlow plugin, a nice visualization for album covers.Nicolas Pennequin2007-12-09
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me. On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657