aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-23 10:22:26 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-23 10:22:26 +0100
commita716de927edbe4aaeb2025c6f11d988ca3ee05b9 (patch)
tree0e97faf9371c6cf320509324fc38ea4ec95e247f /libstorycode/slide_priv.h
parente38820b6adb2be0dafabd517026fd7f8571107b2 (diff)
Unformatted text rendering
Diffstat (limited to 'libstorycode/slide_priv.h')
-rw-r--r--libstorycode/slide_priv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libstorycode/slide_priv.h b/libstorycode/slide_priv.h
index 65d2459..fb535ba 100644
--- a/libstorycode/slide_priv.h
+++ b/libstorycode/slide_priv.h
@@ -23,6 +23,12 @@
#ifndef SLIDE_PRIV_H
#define SLIDE_PRIV_H
+#ifdef HAVE_PANGO
+#include <pango/pangocairo.h>
+#endif
+
+#include "storycode.h"
+
enum slide_item_type
{
SLIDE_ITEM_TEXT,
@@ -40,6 +46,10 @@ struct slide_item
/* For TEXT */
char **paragraphs;
int n_paras;
+ enum alignment align;
+#ifdef HAVE_PANGO
+ PangoLayout **layouts;
+#endif
/* For IMAGE */
char *filename;