event: Add ClutterTouchEvent

The ClutterTouchEvent structure contains the data relative to a touch
event.
This commit is contained in:
Emmanuele Bassi
2012-03-19 13:47:19 +00:00
parent ab3582be1c
commit d15b828cc5
5 changed files with 179 additions and 1 deletions

View File

@ -2611,6 +2611,12 @@ _clutter_process_event_details (ClutterActor *stage,
break;
}
case CLUTTER_TOUCH_BEGIN:
case CLUTTER_TOUCH_UPDATE:
case CLUTTER_TOUCH_END:
case CLUTTER_TOUCH_CANCEL:
break;
case CLUTTER_STAGE_STATE:
/* fullscreen / focus - forward to stage */
event->any.source = stage;
@ -2619,6 +2625,9 @@ _clutter_process_event_details (ClutterActor *stage,
case CLUTTER_CLIENT_MESSAGE:
break;
case CLUTTER_EVENT_LAST:
break;
}
}