summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-05 15:26:16 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit8bbf06f8d0056ae30fdfaf260000e763fad2345c (patch)
treeb52bae6d7250a31755726ec4a96f33863d3f5f7c /include
parentd5f810a0d3e0013a76136750eaff825ceec099a2 (diff)
make event units public in the api
Add grail_get_units() to the api, so so that applications can extract the min/max coordinates used in the gesture events. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'include')
-rw-r--r--include/grail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grail.h b/include/grail.h
index a100b36..0fa4473 100644
--- a/include/grail.h
+++ b/include/grail.h
@@ -88,4 +88,7 @@ int grail_idle(struct grail *ge, int fd, int ms);
88int grail_pull(struct grail *ge, int fd); 88int grail_pull(struct grail *ge, int fd);
89void grail_close(struct grail *ge, int fd); 89void grail_close(struct grail *ge, int fd);
90 90
91void grail_get_units(struct grail_coord *min, struct grail_coord *max,
92 const struct grail *ge);
93
91#endif 94#endif