summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-09 10:14:36 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-09 10:14:36 -0300
commitc347365f64f302dcba1e356b1767b145c0a4f5e0 (patch)
tree1b6ec98778a5f08820f3f52198372a00824d3a45 /diff.h
parenta3e1a32a7a78490275fc3ac86331959e29e4b422 (diff)
downloadeeshow-c347365f64f302dcba1e356b1767b145c0a4f5e0.tar.gz
eeshow-c347365f64f302dcba1e356b1767b145c0a4f5e0.tar.bz2
eeshow-c347365f64f302dcba1e356b1767b145c0a4f5e0.zip
eeshow/diff.c (diff_to_canvas): draw pixel differences to canvas (WIP)
Offsets still aren't right.
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 22626b1..786fb70 100644
--- a/diff.h
+++ b/diff.h
@@ -14,9 +14,16 @@
#ifndef DIFF_H
#define DIFF_H
+#include <cairo/cairo.h>
+
#include "gfx.h"
+#include "cro.h"
extern const struct gfx_ops diff_ops;
+
+void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
+ struct cro_ctx *old, struct cro_ctx *new);
+
#endif /* !DIFF_H */