~fginther/grail/grail-2.0.1.1-oneiric

« back to all changes in this revision

Viewing changes to src/gestures-drag.c

  • Committer: Francis Ginther
  • Date: 2012-08-22 18:35:11 UTC
  • mfrom: (20.2.19 upstream)
  • Revision ID: francis.ginther@canonical.com-20120822183511-yxwny2hixhyu2z42
* New upstream microrelease, bug fixes only
  - Rename project to simply 'grail' (LP: #1040218)
* Updated debian/watch file for project rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
static void set_props(const struct gesture_inserter *gin,
36
36
                      struct combo_model *s, const struct move_model *m,
37
 
                      const struct utouch_frame *frame)
 
37
                      const struct oif_frame *frame)
38
38
{
39
39
        if (m->single) {
40
40
                s->prop[GRAIL_PROP_DRAG_DX] = m->fm[FM_X].raw_delta;
54
54
static const int fm_mask = 0x03;
55
55
 
56
56
int gru_drag(struct grail *ge,
57
 
            const struct utouch_frame *frame)
 
57
            const struct oif_frame *frame)
58
58
{
59
59
        struct gesture_recognizer *gru = ge->gru;
60
60
        struct combo_model *state = &gru->drag;
89
89
}
90
90
 
91
91
int gru_windrag(struct grail *ge,
92
 
                const struct utouch_frame *frame)
 
92
                const struct oif_frame *frame)
93
93
{
94
94
        struct gesture_recognizer *gru = ge->gru;
95
95
        struct combo_model *state = &gru->windrag;