aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-03-28 17:03:01 +0200
committerThomas White <taw@bitwiz.org.uk>2016-03-28 17:03:01 +0200
commit3087709f11b05b943c20436c9c64a09e09223208 (patch)
tree7e0efd326aa4f06685724b04ab836ba606a9bbbd /src/sc_interp.h
parenteb4c2a335c5b6c0b534330021effc7f3efbf1dc4 (diff)
Basic renderer using PangoLayouts
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r--src/sc_interp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h
index e5f4d0a..54e2233 100644
--- a/src/sc_interp.h
+++ b/src/sc_interp.h
@@ -1,7 +1,7 @@
/*
* sc_interp.h
*
- * Copyright © 2014-2015 Thomas White <taw@bitwiz.org.uk>
+ * Copyright © 2014-2016 Thomas White <taw@bitwiz.org.uk>
*
* This file is part of Colloquium.
*
@@ -29,7 +29,7 @@
#include <pango/pangocairo.h>
-#include "frame.h"
+struct frame;
struct presentation;
typedef struct _scinterp SCInterpreter;
@@ -39,6 +39,8 @@ typedef int (*SCCallbackBoxFunc)(SCInterpreter *scin, SCBlock *bl,
typedef cairo_surface_t *(*SCCallbackDrawFunc)(int w, int h, void *, void *);
typedef int (*SCCallbackClickFunc)(double x, double y, void *, void *);
+#include "frame.h"
+
extern SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang,
struct frame *top);
extern void sc_interp_destroy(SCInterpreter *scin);