From c5d01642fa2ffc32c26434a1847b3e58aeea18d1 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 21 Aug 2016 22:31:52 -0300 Subject: eeshow/gui/: hover callback now indicates in which direction we left --- gui/glabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/glabel.c') diff --git a/gui/glabel.c b/gui/glabel.c index 83936da..8d7586b 100644 --- a/gui/glabel.c +++ b/gui/glabel.c @@ -132,7 +132,7 @@ static void add_dest_overlay(struct gui_ctx *ctx, const char *label, } -static bool pop_hover(void *user, bool on) +static bool pop_hover(void *user, bool on, int dx, int dy) { struct gui_ctx *ctx = user; @@ -184,7 +184,7 @@ static void add_dest_frame(struct gui_ctx *ctx) } -static bool hover_glabel(void *user, bool on) +static bool hover_glabel(void *user, bool on, int dx, int dy) { struct glabel_aoi_ctx *aoi_ctx = user; struct gui_ctx *ctx = aoi_ctx->sheet->ctx; -- cgit v1.2.1