summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/imageviewer.h
diff options
context:
space:
mode:
authorRoman Artiukhin <bahusdrive@gmail.com>2024-10-14 21:33:40 +0300
committerChristian Soffke <christian.soffke@gmail.com>2024-10-28 12:46:51 -0400
commit55a5bfe7409677a26437651798abbc6d87b56089 (patch)
tree7ab7d96f52ee15257b174e75f15abae1f09b74cf /apps/plugins/imageviewer/imageviewer.h
parentc1bcebd9986b1e2120fd05ead67754d444dae7d3 (diff)
downloadrockbox-55a5bfe7409677a26437651798abbc6d87b56089.tar.gz
rockbox-55a5bfe7409677a26437651798abbc6d87b56089.zip
View Album Art from WPS context menu
Add ability to imageviewer to view current track embedded/folder album art Add "View Album Art" WPS context menu item Change-Id: I49caebd38e5e3e2910d418bbeaa5e51da0e6bd93
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.h')
-rw-r--r--apps/plugins/imageviewer/imageviewer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h
index 44e56c0696..79691f747e 100644
--- a/apps/plugins/imageviewer/imageviewer.h
+++ b/apps/plugins/imageviewer/imageviewer.h
@@ -126,7 +126,7 @@ struct image_decoder {
126 * size of buf after load image. it is used to calculate min downscale. 126 * size of buf after load image. it is used to calculate min downscale.
127 * return PLUGIN_ERROR for error. ui will skip to next image. */ 127 * return PLUGIN_ERROR for error. ui will skip to next image. */
128 int (*load_image)(char *filename, struct image_info *info, 128 int (*load_image)(char *filename, struct image_info *info,
129 unsigned char *buf, ssize_t *buf_size); 129 unsigned char *buf, ssize_t *buf_size, int offset, int filesize);
130 /* downscale loaded image by ds. use the buffer passed to load_image to 130 /* downscale loaded image by ds. use the buffer passed to load_image to
131 * reszie image and/or store resized image. 131 * reszie image and/or store resized image.
132 * return PLUGIN_ERROR for error. ui will skip to next image. */ 132 * return PLUGIN_ERROR for error. ui will skip to next image. */