diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-12 01:31:42 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-12 01:31:42 +0000 |
commit | 81dedee7d050e2b52dfe1a294dbd349c4fe79155 (patch) | |
tree | 23cd47d71b9f6aead2d3d83b0b0131a36f806709 /apps/recorder/albumart.h | |
parent | 49639257677ab98dc4730bebf1044ea1ca7591b0 (diff) | |
download | rockbox-81dedee7d050e2b52dfe1a294dbd349c4fe79155.tar.gz rockbox-81dedee7d050e2b52dfe1a294dbd349c4fe79155.zip |
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
Diffstat (limited to 'apps/recorder/albumart.h')
-rw-r--r-- | apps/recorder/albumart.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/albumart.h b/apps/recorder/albumart.h index 21ae50edb9..dcd106465b 100644 --- a/apps/recorder/albumart.h +++ b/apps/recorder/albumart.h | |||
@@ -31,8 +31,9 @@ | |||
31 | * Returns true if a bitmap was found, false otherwise */ | 31 | * Returns true if a bitmap was found, false otherwise */ |
32 | bool find_albumart(const struct mp3entry *id3, char *buf, int buflen); | 32 | bool find_albumart(const struct mp3entry *id3, char *buf, int buflen); |
33 | 33 | ||
34 | /* Draw the album art bitmap from the given handle ID onto the given WPS. */ | 34 | /* Draw the album art bitmap from the given handle ID onto the given WPS. |
35 | void draw_album_art(struct gui_wps *gwps, int handle_id); | 35 | Call with clear = true to clear the bitmap instead of drawing it. */ |
36 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear); | ||
36 | 37 | ||
37 | #endif /* HAVE_ALBUMART */ | 38 | #endif /* HAVE_ALBUMART */ |
38 | 39 | ||