diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-10-17 15:15:01 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-10-17 15:15:01 +0200 |
commit | 51e1d39d8eaaf02f23ed0b83695e0294a23496bb (patch) | |
tree | 3f3ade4f139fc0f62917eeac35972794e4b25bb6 /src/sc_interp.h | |
parent | 2b2a139a94c932d50a5ad5a5ab91f997493e5b5a (diff) |
Pass stylesheet around
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r-- | src/sc_interp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h index 7b00aaa..b0bd689 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -41,6 +41,7 @@ typedef int (*SCCallbackClickFunc)(double x, double y, void *, void *); #include "frame.h" #include "imagestore.h" +#include "stylesheet.h" extern SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang, ImageStore *is, struct frame *top); @@ -49,8 +50,8 @@ 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, SCBlock *bl); -extern int sc_interp_add_block(SCInterpreter *scin, SCBlock *bl); +extern int sc_interp_add_blocks(SCInterpreter *scin, SCBlock *bl, Stylesheet *ss); +extern int sc_interp_add_block(SCInterpreter *scin, SCBlock *bl, Stylesheet *ss); extern void sc_interp_run_stylesheet(SCInterpreter *scin, SCBlock *bl); extern void sc_interp_run_style(SCInterpreter *scin, const char *sname); |