aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-19 08:23:44 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-19 08:23:44 +0100
commit9fbe4d66565e6ab11c5022bcfe5ed0ddfb91dc7e (patch)
treeb95e39c462cc147b2f8e998df5f7010e73834d59 /libstorycode/slide.h
parent135cc1ef50930b86189be2303f68ab387ebf7f27 (diff)
Add lots of function skeletons
Diffstat (limited to 'libstorycode/slide.h')
-rw-r--r--libstorycode/slide.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/libstorycode/slide.h b/libstorycode/slide.h
index 0e1f005..2c0607f 100644
--- a/libstorycode/slide.h
+++ b/libstorycode/slide.h
@@ -30,8 +30,24 @@
typedef struct _slide Slide;
typedef struct _slideitem SlideItem;
+struct frame_geom
+{
+ double x;
+ double y;
+ double w;
+ double h;
+ /* FIXME: units */
+};
+
+
extern Slide *slide_new(void);
-extern void slide_free(Slide *n);
+extern void slide_free(Slide *s);
+
+extern int slide_add_prestitle(Slide *s, char *prestitle);
+extern int slide_add_image(Slide *s, char *filename, struct frame_geom geom);
+extern int slide_add_text(Slide *s, char *text, struct frame_geom geom);
+extern int slide_add_footer(Slide *s);
+extern int slide_add_slidetitle(Slide *s, char *slidetitle);
#endif /* SLIDE_H */