diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-10-16 19:14:41 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-16 19:14:41 +0000 |
commit | e9c10189e93fe53cff74ae8fa15d19b1c522d5e4 (patch) | |
tree | e3c39a41ff160194dfd9ce617893e0367a6fdcc8 /apps/gui/skin_engine/wps_internals.h | |
parent | a72ffe7bb533302dbf4e6c7c4f1e4bd4078d3ed6 (diff) | |
download | rockbox-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/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
255 | struct skin_token_list *strings; | 255 | struct skin_token_list *strings; |
256 | #ifdef HAVE_ALBUMART | 256 | #ifdef HAVE_ALBUMART |
257 | struct skin_albumart *albumart; | 257 | struct skin_albumart *albumart; |
258 | int playback_aa_slot; | ||
258 | #endif | 259 | #endif |
259 | struct wps_token *tokens; | 260 | struct wps_token *tokens; |
260 | /* Total number of tokens in the WPS. During WPS parsing, this is | 261 | /* Total number of tokens in the WPS. During WPS parsing, this is |