diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-10-01 20:51:22 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-10-01 20:51:22 +0200 |
commit | 9a5060c094813d908d4c9ef7b8631916939bb53d (patch) | |
tree | 06dbcf835efc3be3e32ce9c72a604ace1a52a6be /src/objects.h | |
parent | e705f42069f505bb8111a1fd7d8534ab3cacd5b8 (diff) |
Use function pointers for object rendering and overlays
Diffstat (limited to 'src/objects.h')
-rw-r--r-- | src/objects.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objects.h b/src/objects.h index d7eb706..e0c70bc 100644 --- a/src/objects.h +++ b/src/objects.h @@ -51,6 +51,9 @@ struct object int empty; + void (*render_object)(cairo_t *cr, struct object *o); + void (*draw_editing_overlay)(cairo_t *cr, struct object *o); + /* For type TEXT */ char *text; size_t text_len; |