From 7c04fa7edd76c6a06121a88b8a346d45917af0dc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 3 Oct 2011 15:11:14 +0200 Subject: More fun with methods --- src/objects.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/objects.h') diff --git a/src/objects.h b/src/objects.h index e0c70bc..96212ff 100644 --- a/src/objects.h +++ b/src/objects.h @@ -52,18 +52,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; - int insertion_point; - PangoLayout *layout; - PangoFontDescription *fontdesc; + void (*delete_object)(struct object *o); }; -extern struct object *new_object(enum objtype t, struct style *sty); -extern void free_object(struct object *o); extern struct object *add_image_object(struct slide *s, double x, double y, const char *filename, double width, double height); -- cgit v1.2.3