diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-12-27 21:57:29 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-12-27 21:57:29 +0000 |
commit | a68d64edca4f67df49b9499272319cad93d38bbe (patch) | |
tree | e1f5084d006257713090bb7a2dc1f91976b91e7c /src/wrap.h | |
parent | fb69111748d9d4eba92024799421ee2573418d15 (diff) |
Draw from callbacks
Diffstat (limited to 'src/wrap.h')
-rw-r--r-- | src/wrap.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; }; |