path: root/gui/aoi.h
diff options
authorWerner Almesberger <>2016-08-18 02:13:55 -0300
committerWerner Almesberger <>2016-08-18 02:13:55 -0300
commitd4cf39e51eccf03a4deabe3a11fa4f5cbf573189 (patch)
tree0a1d7d932df060036fd9194ab228ef8524b56537 /gui/aoi.h
parent70e965bcd24eec04d798f896ae13218f2d39a38a (diff)
eeshow/aoi.c, aoi.h: remove dragging support (now in input.c)
The crazy detour through aoi.c and over.c is no longer needed.
Diffstat (limited to 'gui/aoi.h')
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/aoi.h b/gui/aoi.h
index b804b1b..959762f 100644
--- a/gui/aoi.h
+++ b/gui/aoi.h
@@ -22,7 +22,6 @@ struct aoi {
bool (*hover)(void *user, bool on);
void (*click)(void *user);
- void (*drag)(void *user, int dx, int dy);
void *user;
struct aoi *next;
@@ -33,9 +32,7 @@ struct aoi *aoi_add(struct aoi **aois, const struct aoi *cfg);
void aoi_update(struct aoi *aoi, const struct aoi *cfg);
bool aoi_hover(const struct aoi *aois, int x, int y);
-bool aoi_move(const struct aoi *aois, int x, int y);
-bool aoi_down(const struct aoi *aois, int x, int y);
-bool aoi_up(const struct aoi *aois, int x, int y);
+bool aoi_click(const struct aoi *aois, int x, int y);
void aoi_remove(struct aoi **aois, const struct aoi *aoi);
void aoi_dehover(void);