summaryrefslogtreecommitdiff
path: root/gui/glabel.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-21 22:31:52 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-21 22:31:52 -0300
commitc5d01642fa2ffc32c26434a1847b3e58aeea18d1 (patch)
tree54e38d2101631a5e2b331fd895603d3dd8b80006 /gui/glabel.c
parent513813be0325b7e29231c6a1e8c74758d1287eea (diff)
downloadeeshow-c5d01642fa2ffc32c26434a1847b3e58aeea18d1.tar.gz
eeshow-c5d01642fa2ffc32c26434a1847b3e58aeea18d1.tar.bz2
eeshow-c5d01642fa2ffc32c26434a1847b3e58aeea18d1.zip
eeshow/gui/: hover callback now indicates in which direction we left
Diffstat (limited to 'gui/glabel.c')
-rw-r--r--gui/glabel.c4
1 files changed, 2 insertions, 2 deletions
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;