aboutsummaryrefslogtreecommitdiff
path: root/src/objects.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-10-03 15:11:14 +0200
committerThomas White <taw@bitwiz.org.uk>2011-10-03 15:11:14 +0200
commit7c04fa7edd76c6a06121a88b8a346d45917af0dc (patch)
treebfcf21d8f2941667c08eb76215a5dde89a4fb470 /src/objects.h
parentf4ff26c955729f8b068c64fff806216eb6e34bd4 (diff)
More fun with methods
Diffstat (limited to 'src/objects.h')
-rw-r--r--src/objects.h11
1 files changed, 1 insertions, 10 deletions
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);