diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-09 23:07:59 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-09 23:07:59 +0000 |
commit | 781421afa2085b841b52f876d80f484f565c0755 (patch) | |
tree | e952fe4857a1ee3edb91642bfbb96c93947748b4 /apps/recorder/albumart.c | |
parent | a2c71fde1bdb1a62cf66ae0e3b9a864824930dd0 (diff) |
resize-on-load for bitmap files on 2bpp and color targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19374 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r-- | apps/recorder/albumart.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index 30a4e0c49f..babf63ef1c 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c @@ -297,3 +297,12 @@ void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) gwps->display->set_drawmode(DRMODE_SOLID); } } + +void get_albumart_size(struct bitmap *bmp) +{ + /* FIXME: What should we do with albumart on remote? */ + struct wps_data *data = gui_wps[0].data; + + bmp->width = data->albumart_max_width; + bmp->height = data->albumart_max_height; +} |