aboutsummaryrefslogtreecommitdiff
path: root/src/objects.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-05-24 08:24:36 +0200
committerThomas White <taw@bitwiz.org.uk>2011-05-24 08:24:36 +0200
commit7e9854982c560a11aa7fa0eee6aa2a9f9673a9d6 (patch)
treee84c910d21f4155a3e9e5190a05fea1d772beae3 /src/objects.h
parent13248acdefcaa88d88cb9ef493ab3e9602abc658 (diff)
Text insertion machinery
Diffstat (limited to 'src/objects.h')
-rw-r--r--src/objects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objects.h b/src/objects.h
index c220b00..e6e457e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -52,10 +52,14 @@ struct object
/* For type TEXT */
char *text;
+ size_t text_len;
+ int insertion_point;
};
extern struct object *add_text_object(struct slide *s, double x, double y);
+extern void insert_text(struct object *o, char *t);
+
extern void delete_object(struct object *o);