diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:51:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:52:22 +0100 |
commit | acbec489df38e182a8e284095ccd7a0f1d84112e (patch) | |
tree | 1ad22572be6294ae761a2ecba7dea37c26f0b969 /libstorycode/narrative_priv.h | |
parent | f2bfe89481217625f74224289947f7bcd839c55f (diff) |
Styled narrative rendering
Diffstat (limited to 'libstorycode/narrative_priv.h')
-rw-r--r-- | libstorycode/narrative_priv.h | 11 |
1 files changed, 10 insertions, 1 deletions
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; }; |