From e9c10189e93fe53cff74ae8fa15d19b1c522d5e4 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 16 Oct 2009 19:14:41 +0000 Subject: Rework albumart buffering internally to allow for mutliple albumart sizes. Playback now has a few albumart slots. Anything (most importantly: skins) can obtain such a slot. The slot has fields for the size which is passed to bufopen then to image_load to buffer the albumart with the proper size. Currently there's 1 slot. We can increase it for remotes if we want. Custom statusbar will increase it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23209 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/wps_internals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/gui/skin_engine/wps_internals.h') diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 7a4fdddc7c..638fb0a081 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h @@ -255,6 +255,7 @@ struct wps_data struct skin_token_list *strings; #ifdef HAVE_ALBUMART struct skin_albumart *albumart; + int playback_aa_slot; #endif struct wps_token *tokens; /* Total number of tokens in the WPS. During WPS parsing, this is -- cgit v1.2.3