From acbec489df38e182a8e284095ccd7a0f1d84112e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 3 Mar 2019 18:51:34 +0100 Subject: Styled narrative rendering --- libstorycode/narrative_priv.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libstorycode/narrative_priv.h') diff --git a/libstorycode/narrative_priv.h b/libstorycode/narrative_priv.h index c1695e3..a661e97 100644 --- a/libstorycode/narrative_priv.h +++ b/libstorycode/narrative_priv.h @@ -33,6 +33,7 @@ enum narrative_item_type { NARRATIVE_ITEM_TEXT, + NARRATIVE_ITEM_PRESTITLE, NARRATIVE_ITEM_SLIDE, NARRATIVE_ITEM_BP, }; @@ -41,6 +42,11 @@ enum narrative_item_type struct narrative_item { enum narrative_item_type type; + double h; + double space_l; + double space_r; + double space_t; /* Already included in "h" */ + double space_b; /* Already included in "h" */ /* For TEXT, SLIDETITLE, PRESTITLE */ char *text; @@ -58,7 +64,10 @@ struct _narrative int n_items; struct narrative_item *items; double w; - double total_h; + double space_l; + double space_r; + double space_t; + double space_b; }; -- cgit v1.2.3