From 81dedee7d050e2b52dfe1a294dbd349c4fe79155 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Mon, 12 Nov 2007 01:31:42 +0000 Subject: 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 --- apps/gui/wps_debug.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/gui/wps_debug.c') diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index 58e6ab4..883626d 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c @@ -214,6 +214,15 @@ static void dump_wps_tokens(struct wps_data *data) break; #endif +#ifdef HAVE_ALBUMART + case WPS_TOKEN_ALBUMART_DISPLAY: + snprintf(buf, sizeof(buf), "album art display at x=%d, y=%d, " + "maxwidth=%d, maxheight=%d", data->albumart_x, + data->albumart_y, data->albumart_max_width, + data->albumart_max_height); + break; +#endif + #ifdef HAVE_LCD_BITMAP case WPS_TOKEN_IMAGE_BACKDROP: snprintf(buf, sizeof(buf), "backdrop image"); -- cgit v1.1