From f2bfe89481217625f74224289947f7bcd839c55f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 1 Mar 2019 23:28:27 +0100 Subject: Debug narrative rendering machinery --- libstorycode/narrative_priv.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libstorycode/narrative_priv.h') 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; }; -- cgit v1.2.3