diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-02-14 21:21:14 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-02-14 21:21:14 +0100 |
commit | 8ebf31b8a43e4f8fbc2bffd45013ffb50a51440e (patch) | |
tree | 7fe6b8d25b74bf77c463b47a51cb3da929863e5c /src/shape.h | |
parent | 86f4ccb39fd02d25c98201e56dfdc2f105ee0c75 (diff) |
Rationalise box handling (needs debugging)
Diffstat (limited to 'src/shape.h')
-rw-r--r-- | src/shape.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shape.h b/src/shape.h index b9a5191..43775a3 100644 --- a/src/shape.h +++ b/src/shape.h @@ -33,14 +33,14 @@ extern void shape_box(struct wrap_box *box); -extern int split_words(struct wrap_line *boxes, PangoContext *pc, +extern int split_words(struct boxvec *boxes, PangoContext *pc, SCBlock *bl, PangoLanguage *lang, int editable, SCInterpreter *scin); -extern void add_image_box(struct wrap_line *line, const char *filename, +extern void add_image_box(struct boxvec *line, const char *filename, int w, int h, int editable); -extern void add_callback_box(struct wrap_line *line, double w, double h, +extern void add_callback_box(struct boxvec *boxes, double w, double h, SCCallbackDrawFunc draw_func, SCCallbackClickFunc click_func, void *bvp, void *vp); |