aboutsummaryrefslogtreecommitdiff
path: root/src/shape.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-12-27 21:57:29 +0000
committerThomas White <taw@bitwiz.org.uk>2014-12-27 21:57:29 +0000
commita68d64edca4f67df49b9499272319cad93d38bbe (patch)
treee1f5084d006257713090bb7a2dc1f91976b91e7c /src/shape.h
parentfb69111748d9d4eba92024799421ee2573418d15 (diff)
Draw from callbacks
Diffstat (limited to 'src/shape.h')
-rw-r--r--src/shape.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shape.h b/src/shape.h
index 43356e0..e2a3e67 100644
--- a/src/shape.h
+++ b/src/shape.h
@@ -38,6 +38,9 @@ extern int split_words(struct wrap_line *boxes, PangoContext *pc,
extern void add_image_box(struct wrap_line *line, const char *filename,
int w, int h, int editable);
+extern void add_surface_box(struct wrap_line *line, cairo_surface_t *surf,
+ double w, double h);
+
extern void reshape_box(struct wrap_box *box);
#endif /* SHAPE_H */