summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow.c
AgeCommit message (Collapse)Author
2008-12-28Make sure pictureflow always uses the user font, both on colour and ↵Jens Arnold
greyscale targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
2008-12-28more pictureflow work:Andrew Mahone
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
2008-12-27FS#8335, with some changes discussed on IRC:Andrew Mahone
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
2008-12-27Add support for scaled bitmap loads, and for greylib display, toAndrew Mahone
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
2008-12-26Make scaler output truly pluggable, add an 8-bit greyscale output toAndrew Mahone
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
2008-12-14Yesterday's bugfix commit was buggy. Try again (FS#9634 by Thomas Martitz).Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19432 a1c6a512-1295-4272-9138-f99709370657
2008-12-12Bugfixes for Pictureflow (FS#9627 by Thomas Martitz):Jonas Häggqvist
- 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
2008-12-12Pictureflow:Jonas Häggqvist
- 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
2008-12-10Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis
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
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg
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
2008-11-03Makefile overhaul. All generated bitmaps are now explicitly in ↵Björn Stenberg
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
2008-09-17Fix a display bug with the tracklist in Picture Flow. Thanks to Thomas Schott.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18537 a1c6a512-1295-4272-9138-f99709370657
2008-09-08Some bug fixes for PictureFlow by Thomas Martitz: Mistitled zoom setting, ↵Nicolas Pennequin
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
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-06-24pictureflow update:Jonathan Gordon
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
2008-05-13Plugin parameters should be const.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-04-19Fixed cpu boost/unboost (in case of a plugin error, the cpu was unboosted ↵Bertrik Sikken
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
2008-03-26the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon
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
2008-01-10Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon
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
2007-12-16PictureFlow improvements:Nicolas Pennequin
* 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
2007-12-16Fix the crashes observed on the H10 5GB during the caching process. It was a ↵Nicolas Pennequin
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
2007-12-11PictureFlow fixes and improvements:Nicolas Pennequin
* 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
2007-12-11Fixed a few typos spotted on IRC.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15910 a1c6a512-1295-4272-9138-f99709370657
2007-12-11A couple fixes:Nicolas Pennequin
* 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
2007-12-10PictureFlow improvements by Jonas Hurrelmann:Nicolas Pennequin
* 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
2007-12-10Fix a file descriptor leakNicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15906 a1c6a512-1295-4272-9138-f99709370657
2007-12-10PictureFlow improvements:Nicolas Pennequin
* 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
2007-12-09Initial commit of the PictureFlow plugin, a nice visualization for album covers.Nicolas Pennequin
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