From a352e79c37b7f35875473d8c9b517272f4f693e0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 13 Jan 2014 08:35:29 +0100 Subject: Handle font/colour changes and actually draw the lines --- src/sc_interp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/sc_interp.h') diff --git a/src/sc_interp.h b/src/sc_interp.h index ad59193..05504f0 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -27,6 +27,8 @@ #include #endif +#include + struct sc_font { @@ -40,12 +42,13 @@ struct sc_font typedef struct _scinterp SCInterpreter; -extern SCInterpreter *sc_interp_new(void); +extern SCInterpreter *sc_interp_new(PangoContext *pc); extern void sc_interp_destroy(SCInterpreter *scin); extern void sc_interp_save(SCInterpreter *scin); extern void sc_interp_restore(SCInterpreter *scin); extern int sc_interp_add_blocks(SCInterpreter *scin, const SCBlock *bl); +extern struct wrap_line *sc_interp_get_boxes(SCInterpreter *scin); #endif /* SC_INTERP_H */ -- cgit v1.2.3