summaryrefslogtreecommitdiff
path: root/gui/aoi.h
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/aoi.h
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/aoi.h')
-rw-r--r--gui/aoi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/aoi.h b/gui/aoi.h
index 6ac9889..fb3a833 100644
--- a/gui/aoi.h
+++ b/gui/aoi.h
@@ -20,7 +20,7 @@ struct aoi {
int x, y, w, h; /* activation box, eeschema coordinates */
/* points to hovered aoi, or NULL */
- bool (*hover)(void *user, bool on);
+ bool (*hover)(void *user, bool on, int dx, int dy);
void (*click)(void *user);
void *user;