~fginther/grail/grail-2.0.1.1-oneiric

« back to all changes in this revision

Viewing changes to src/gestures-rotate.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:
36
36
 
37
37
static void set_props(const struct gesture_inserter *gin,
38
38
                      struct combo_model *s, const struct move_model *m,
39
 
                      const struct utouch_frame *frame)
 
39
                      const struct oif_frame *frame)
40
40
{
41
41
        s->prop[GRAIL_PROP_ROTATE_DA] = m->fm[FM_A].action_delta;
42
42
        s->prop[GRAIL_PROP_ROTATE_VA] = m->fm[FM_A].velocity;
48
48
}
49
49
 
50
50
int gru_rotate(struct grail *ge,
51
 
               const struct utouch_frame *frame)
 
51
               const struct oif_frame *frame)
52
52
{
53
53
        struct gesture_recognizer *gru = ge->gru;
54
54
        struct combo_model *state = &gru->rotate;
84
84
}
85
85
 
86
86
int gru_winrotate(struct grail *ge,
87
 
                  const struct utouch_frame *frame)
 
87
                  const struct oif_frame *frame)
88
88
{
89
89
        struct gesture_recognizer *gru = ge->gru;
90
90
        struct combo_model *state = &gru->winrotate;