summaryrefslogtreecommitdiffstats
path: root/apps/recorder/albumart.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r--apps/recorder/albumart.c9
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;
+}