aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/narrative_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-01 23:28:27 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-01 23:28:27 +0100
commitf2bfe89481217625f74224289947f7bcd839c55f (patch)
tree3765c509ea18462d4beef835db6f48ce38adb5d2 /libstorycode/narrative_priv.h
parent6cfd53611912442ba7f89fc5cbdb9f8c8a90c85b (diff)
Debug narrative rendering machinery
Diffstat (limited to 'libstorycode/narrative_priv.h')
-rw-r--r--libstorycode/narrative_priv.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/libstorycode/narrative_priv.h b/libstorycode/narrative_priv.h
index 059b015..c1695e3 100644
--- a/libstorycode/narrative_priv.h
+++ b/libstorycode/narrative_priv.h
@@ -43,18 +43,13 @@ struct narrative_item
enum narrative_item_type type;
/* For TEXT, SLIDETITLE, PRESTITLE */
- char **paragraphs;
- int n_paras;
+ char *text;
enum alignment align;
#ifdef HAVE_PANGO
- PangoLayout **layouts;
+ PangoLayout *layout;
+#else
+ void *layout;
#endif
-
- /* For IMAGE */
- char *filename;
-
- /* For TEXT and IMAGE */
- struct frame_geom geom;
};