aboutsummaryrefslogtreecommitdiff
path: root/src/wrap.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/wrap.h
parentfb69111748d9d4eba92024799421ee2573418d15 (diff)
Draw from callbacks
Diffstat (limited to 'src/wrap.h')
-rw-r--r--src/wrap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wrap.h b/src/wrap.h
index 2d229ba..2f46233 100644
--- a/src/wrap.h
+++ b/src/wrap.h
@@ -38,7 +38,8 @@ enum wrap_box_type
WRAP_BOX_NOTHING,
WRAP_BOX_SENTINEL,
WRAP_BOX_PANGO,
- WRAP_BOX_IMAGE
+ WRAP_BOX_IMAGE,
+ WRAP_BOX_SURFACE
};
@@ -81,6 +82,9 @@ struct wrap_box
/* For type == WRAP_BOX_IMAGE */
char *filename;
+
+ /* For type == WRAP_BOX_SURFACE */
+ cairo_surface_t *surf;
};