aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-12 19:55:39 +0100
committerThomas White <taw@physics.org>2018-03-12 19:55:39 +0100
commit8164766c66c8d9149a7741e5625aef9d9fdac854 (patch)
tree5bc07c96024509ddf91728126f79977a53c16d81 /src/frame.h
parentc7a86a47001baca65c87d0f060f9a57af8537cf2 (diff)
Add rscblocks for image and callback paragraphs
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index f3e1538..af2e9fd 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -143,13 +143,14 @@ 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 void add_image_para(struct frame *fr, SCBlock *scblock,
- const char *filename,
+ SCBlock *rscblock, const char *filename,
ImageStore *is, double w, double h, int editable);
extern void wrap_paragraph(Paragraph *para, PangoContext *pc, double w,
@@ -204,6 +205,7 @@ extern void merge_paragraphs(struct frame *fr, int para);
extern enum para_type para_type(Paragraph *para);
extern SCBlock *para_scblock(Paragraph *para);
+extern SCBlock *para_rscblock(Paragraph *para);
extern int para_debug_num_runs(Paragraph *para);
extern int para_debug_run_info(Paragraph *para, int i, SCBlock **scblock,