aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-17 23:04:20 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-17 23:04:20 +0100
commit135cc1ef50930b86189be2303f68ab387ebf7f27 (patch)
tree862b828c73c44e0f5ed77ce035db855da15083f8 /libstorycode/slide.c
parent6a31d8c2ba70c1a5342bc827091a2076e65fb2e0 (diff)
WIP on parser
Diffstat (limited to 'libstorycode/slide.c')
-rw-r--r--libstorycode/slide.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libstorycode/slide.c b/libstorycode/slide.c
index 28a4ee3..3246713 100644
--- a/libstorycode/slide.c
+++ b/libstorycode/slide.c
@@ -30,6 +30,22 @@
#include "slide.h"
+enum slide_item_type
+{
+ SLIDE_ITEM_TEXT,
+};
+
+
+struct slide_item
+{
+ enum slide_item_type type;
+
+ /* For SLIDE_ITEM_TEXT */
+ char **paragraphs;
+ int n_paras;
+};
+
+
struct _slide
{
int n_items;