diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-08-05 15:26:16 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-05 22:48:38 +0200 |
| commit | 8bbf06f8d0056ae30fdfaf260000e763fad2345c (patch) | |
| tree | b52bae6d7250a31755726ec4a96f33863d3f5f7c /src/grail-gestures.h | |
| parent | d5f810a0d3e0013a76136750eaff825ceec099a2 (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 'src/grail-gestures.h')
| -rw-r--r-- | src/grail-gestures.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/grail-gestures.h b/src/grail-gestures.h index 57204ad..663d357 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h | |||
| @@ -43,8 +43,7 @@ struct move_model { | |||
| 43 | grail_time_t time; | 43 | grail_time_t time; |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| 46 | void gru_init_motion(struct grail *ge, | 46 | void gru_init_motion(struct grail *ge); |
| 47 | const struct touch_dev_caps *caps); | ||
| 48 | void gru_motion(struct grail *ge, | 47 | void gru_motion(struct grail *ge, |
| 49 | const struct touch_frame *frame); | 48 | const struct touch_frame *frame); |
| 50 | void gru_event(struct grail *ge, int gid, | 49 | void gru_event(struct grail *ge, int gid, |
