summaryrefslogtreecommitdiff
path: root/apps/gui/wps.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-10-16 19:14:41 +0000
committerThomas Martitz <kugel@rockbox.org>2009-10-16 19:14:41 +0000
commite9c10189e93fe53cff74ae8fa15d19b1c522d5e4 (patch)
treee3c39a41ff160194dfd9ce617893e0367a6fdcc8 /apps/gui/wps.h
parenta72ffe7bb533302dbf4e6c7c4f1e4bd4078d3ed6 (diff)
downloadrockbox-e9c10189e93fe53cff74ae8fa15d19b1c522d5e4.tar.gz
rockbox-e9c10189e93fe53cff74ae8fa15d19b1c522d5e4.zip
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
Diffstat (limited to 'apps/gui/wps.h')
-rw-r--r--apps/gui/wps.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/gui/wps.h b/apps/gui/wps.h
index 6affcee698..8c6de9e2fc 100644
--- a/apps/gui/wps.h
+++ b/apps/gui/wps.h
@@ -38,16 +38,6 @@ void display_keylock_text(bool locked);
38 38
39bool is_wps_fading(void); 39bool is_wps_fading(void);
40 40
41
42#ifdef HAVE_ALBUMART
43/*
44 * Returns true if at least one of the gui_wps screens has an album art
45 * tag in its wps structure and writes the width and height into the passed
46 * pointers
47 */
48bool wps_uses_albumart(int*, int*);
49#endif
50
51#ifdef IPOD_ACCESSORY_PROTOCOL 41#ifdef IPOD_ACCESSORY_PROTOCOL
52/* return length of the current ff or rewin action, IAP needs this */ 42/* return length of the current ff or rewin action, IAP needs this */
53int wps_get_ff_rewind_count(void); 43int wps_get_ff_rewind_count(void);