summaryrefslogtreecommitdiff
path: root/gfx/cro.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 13:25:39 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-27 00:21:57 -0300
commitd104b7518b9621f9547a3ca37bb87366a4e27fc4 (patch)
tree8ebad592ad74a5df82f3c575e62b61c45d219b68 /gfx/cro.h
parenta7c32bb7b4a447a9b94481c283de211c07ccc9a9 (diff)
downloadeeshow-d104b7518b9621f9547a3ca37bb87366a4e27fc4.tar.gz
eeshow-d104b7518b9621f9547a3ca37bb87366a4e27fc4.tar.bz2
eeshow-d104b7518b9621f9547a3ca37bb87366a4e27fc4.zip
gfx/diff.c: combine processing for GUI and non-interactive mode
This also removes the restriction that, in non-interactive mode, both sheets had to have exactly the same size.
Diffstat (limited to 'gfx/cro.h')
-rw-r--r--gfx/cro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/cro.h b/gfx/cro.h
index f52bd3d..fb9f32a 100644
--- a/gfx/cro.h
+++ b/gfx/cro.h
@@ -40,7 +40,7 @@ void cro_color_override(struct cro_ctx *cc, int color);
void cro_get_size(const struct cro_ctx *cc, int *w, int *h, int *x, int *y);
uint32_t *cro_img_end(struct cro_ctx *cc, int *w, int *h, int *stride);
-void cro_img_write(struct cro_ctx *cc, const char *name);
+void cro_img_write(cairo_surface_t *s, const char *name);
void cro_canvas_end(struct cro_ctx *cc, int *w, int *h, int *xmin, int *ymin);
void cro_canvas_prepare(cairo_t *cr);