forked from len0rd/rockbox
Various album art improvements:
* Make the album art display tag static instead of dynamic, making it be drawn less often, which is good. * Add the possibility of clearing the album art bitmap instead of drawing it, and use this abaility when the display tag is inside a conditional construct. * Add the album art display tag to wps_debug.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4963925767
commit
81dedee7d0
6 changed files with 43 additions and 11 deletions
|
|
@ -31,8 +31,9 @@
|
|||
* Returns true if a bitmap was found, false otherwise */
|
||||
bool find_albumart(const struct mp3entry *id3, char *buf, int buflen);
|
||||
|
||||
/* Draw the album art bitmap from the given handle ID onto the given WPS. */
|
||||
void draw_album_art(struct gui_wps *gwps, int handle_id);
|
||||
/* Draw the album art bitmap from the given handle ID onto the given WPS.
|
||||
Call with clear = true to clear the bitmap instead of drawing it. */
|
||||
void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear);
|
||||
|
||||
#endif /* HAVE_ALBUMART */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue