aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-26 22:34:25 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-26 22:34:25 +0200
commit1d2e905763d2c403e54850d61044065b238e16bc (patch)
tree29ab44993df243530f8b4005d8250a812498aa16 /src/frame.h
parente90d663864cb60067f90b964adc2686aba69e333 (diff)
Copy slide
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index 2941411..0ed7f88 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -115,7 +115,7 @@ extern void add_run(Paragraph *para, SCBlock *scblock, size_t offs_bytes,
size_t len_bytes, PangoFontDescription *fdesc,
double col[4]);
-extern void add_callback_para(struct frame *fr, SCBlock *scblock,
+extern void add_callback_para(struct frame *fr, SCBlock *scblock, SCBlock *mr,
double w, double h,
SCCallbackDrawFunc draw_func,
SCCallbackClickFunc click_func, void *bvp,
@@ -154,5 +154,6 @@ extern void delete_text_in_paragraph(Paragraph *para,
extern SCBlock *split_paragraph(struct frame *fr, int pn, size_t pos,
PangoContext *pc);
+extern SCBlock *block_at_cursor(struct frame *fr, int para, size_t pos);
#endif /* FRAME_H */