aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 591dafd..16d272f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -641,3 +641,12 @@ void cursor_movev(struct frame *fr, int *cpara, int *cpos, int *ctrail,
signed int dir)
{
}
+
+
+void check_callback_click(struct frame *fr, int para)
+{
+ Paragraph *p = fr->paras[para];
+ if ( p->type == PARA_TYPE_CALLBACK ) {
+ p->click_func(0.0, 0.0, p->bvp, p->vp);
+ }
+}