aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-12-26 18:41:41 +0100
committerThomas White <taw@bitwiz.org.uk>2015-12-26 18:41:41 +0100
commit7bc3dc12dd7eb45a8bd28fdf020bcfd802ad91f0 (patch)
tree7895c4f3a06a55dfcac883ec7bcf4090e08c1645 /src/sc_interp.h
parent79f3fdbb0b6e379c90eb3783d200e6d4249f4a3b (diff)
Open slide window on right slide
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r--src/sc_interp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h
index ec8fe06..e5f4d0a 100644
--- a/src/sc_interp.h
+++ b/src/sc_interp.h
@@ -37,6 +37,7 @@ typedef struct _sccallbacklist SCCallbackList;
typedef int (*SCCallbackBoxFunc)(SCInterpreter *scin, SCBlock *bl,
double *w, double *h, void **, void *);
typedef cairo_surface_t *(*SCCallbackDrawFunc)(int w, int h, void *, void *);
+typedef int (*SCCallbackClickFunc)(double x, double y, void *, void *);
extern SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang,
struct frame *top);
@@ -59,6 +60,7 @@ extern void sc_callback_list_free(SCCallbackList *cbl);
extern void sc_callback_list_add_callback(SCCallbackList *cbl, const char *name,
SCCallbackBoxFunc box_func,
SCCallbackDrawFunc draw_func,
+ SCCallbackClickFunc click_func,
void *vp);
extern void sc_interp_set_callbacks(SCInterpreter *scin, SCCallbackList *cbl);