1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2007 Nicolas Pennequin
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
29 /* Look for albumart bitmap in the same dir as the track and in its parent dir.
30 * Stores the found filename in the buf parameter.
31 * Returns true if a bitmap was found, false otherwise */
32 bool find_albumart(const struct mp3entry
*id3
, char *buf
, int buflen
);
34 /* Draw the album art bitmap from the given handle ID onto the given WPS.
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
);
38 bool search_albumart_files(const struct mp3entry
*id3
, const char *size_string
,
39 char *buf
, int buflen
);
41 #endif /* HAVE_ALBUMART */
43 #endif /* _ALBUMART_H_ */