diff options
Diffstat (limited to 'src/grail-inserter.h')
| -rw-r--r-- | src/grail-inserter.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/grail-inserter.h b/src/grail-inserter.h index 9baecb7..3b8cd77 100644 --- a/src/grail-inserter.h +++ b/src/grail-inserter.h | |||
| @@ -23,8 +23,7 @@ | |||
| 23 | #ifndef _GRAIL_INSERTER_H | 23 | #ifndef _GRAIL_INSERTER_H |
| 24 | #define _GRAIL_INSERTER_H | 24 | #define _GRAIL_INSERTER_H |
| 25 | 25 | ||
| 26 | #include <grail-touch.h> | 26 | #include "grail-impl.h" |
| 27 | #include <grail.h> | ||
| 28 | #include "gebuf.h" | 27 | #include "gebuf.h" |
| 29 | 28 | ||
| 30 | #define DIM_EV_TYPE EV_CNT | 29 | #define DIM_EV_TYPE EV_CNT |
| @@ -69,27 +68,25 @@ static inline float gin_prop_y(const struct gesture_inserter *gin, float y) | |||
| 69 | } | 68 | } |
| 70 | 69 | ||
| 71 | int gin_add_contact_props(const struct gesture_inserter *gin, | 70 | int gin_add_contact_props(const struct gesture_inserter *gin, |
| 72 | grail_prop_t *prop, const struct touch_frame *frame); | 71 | grail_prop_t *prop, const struct utouch_frame *frame); |
| 73 | 72 | ||
| 74 | int gin_get_clients(struct grail *ge, | 73 | int gin_get_clients(struct grail *ge, |
| 75 | struct grail_client_info *info, int maxinfo, | 74 | struct grail_client_info *info, int maxinfo, |
| 76 | const grail_mask_t* types, int btypes, | 75 | const grail_mask_t* types, int btypes, |
| 77 | const grail_mask_t* span, int bspan, | 76 | const grail_mask_t* span, int bspan, |
| 78 | const struct touch_frame *frame); | 77 | const struct utouch_frame *frame); |
| 79 | void gin_send_event(struct grail *ge, struct slot_state *s, | 78 | void gin_send_event(struct grail *ge, struct slot_state *s, |
| 80 | const struct gesture_event *ev, | 79 | const struct gesture_event *ev, |
| 81 | const struct touch_frame *frame); | 80 | const struct utouch_frame *frame); |
| 82 | 81 | ||
| 83 | int gin_init(struct grail *ge); | 82 | int gin_init(struct grail *ge); |
| 84 | void gin_destroy(struct grail *ge); | 83 | void gin_destroy(struct grail *ge); |
| 85 | 84 | ||
| 86 | void gin_frame_begin(struct grail *ge, const struct touch_frame *frame); | 85 | void gin_frame_begin(struct grail *ge, const struct utouch_frame *frame); |
| 87 | void gin_frame_end(struct grail *ge, const struct touch_frame *frame); | 86 | void gin_frame_end(struct grail *ge, const struct utouch_frame *frame); |
| 88 | 87 | ||
| 89 | int gin_gid_begin_select(struct grail *ge, int type, int priority, | ||
| 90 | const grail_mask_t *span, int nspan); | ||
| 91 | int gin_gid_begin(struct grail *ge, int type, int priority, | 88 | int gin_gid_begin(struct grail *ge, int type, int priority, |
| 92 | const struct touch_frame *frame); | 89 | const struct utouch_frame *frame); |
| 93 | void gin_gid_discard(struct grail *ge, int gid); | 90 | void gin_gid_discard(struct grail *ge, int gid); |
| 94 | 91 | ||
| 95 | void gin_gid_event(struct grail *ge, int gid, | 92 | void gin_gid_event(struct grail *ge, int gid, |
