diff options
Diffstat (limited to 'libstorycode/slide_priv.h')
-rw-r--r-- | libstorycode/slide_priv.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libstorycode/slide_priv.h b/libstorycode/slide_priv.h index 0d80663..75a2ac5 100644 --- a/libstorycode/slide_priv.h +++ b/libstorycode/slide_priv.h @@ -39,17 +39,25 @@ enum slide_item_type }; +struct slide_text_paragraph +{ + char *text; +#ifdef HAVE_PANGO + PangoLayout *layout; +#else + void *layout; +#endif +}; + + struct _slideitem { enum slide_item_type type; /* For TEXT, SLIDETITLE, PRESTITLE */ - char **paragraphs; int n_paras; + struct slide_text_paragraph *paras; enum alignment align; -#ifdef HAVE_PANGO - PangoLayout **layouts; -#endif /* For IMAGE */ char *filename; |