aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-15 16:39:00 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-15 16:39:00 +0200
commita20ab237477fe774d69fa742d59a5659ede35b15 (patch)
treeaf76ecae23f44d2e85a24e01cf1194ae94901ac8 /src/frame.h
parenta4d11cfb752cb039aa382e18ba2b28601880d497 (diff)
Set spacing on callback paragraphs
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frame.h b/src/frame.h
index dece73c..ef98e34 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -139,12 +139,12 @@ extern void add_run(Paragraph *para, SCBlock *scblock, SCBlock *rscblock,
extern Paragraph *insert_paragraph(struct frame *fr, int pos);
-extern void add_callback_para(struct frame *fr, SCBlock *scblock,
- SCBlock *rscblock,
- double w, double h,
- SCCallbackDrawFunc draw_func,
- SCCallbackClickFunc click_func, void *bvp,
- void *vp);
+extern Paragraph *add_callback_para(struct frame *fr, SCBlock *scblock,
+ SCBlock *rscblock,
+ double w, double h,
+ SCCallbackDrawFunc draw_func,
+ SCCallbackClickFunc click_func, void *bvp,
+ void *vp);
extern void add_image_para(struct frame *fr, SCBlock *scblock,
SCBlock *rscblock, const char *filename,