IO_METHOD(IoClutterActor, moveBy) { float dx = IoMessage_locals_floatArgAt_(m, locals, 0), dy = IoMessage_locals_floatArgAt_(m, locals, 1); clutter_actor_move_by(IOCACTOR(self), dx, dy); return self; }
static void draggable_rectangle_drag_motion (MxDraggable *draggable, gfloat delta_x, gfloat delta_y) { clutter_actor_move_by (CLUTTER_ACTOR (draggable), delta_x, delta_y); }
static void clutter_drag_action_real_drag_motion (ClutterDragAction *action, ClutterActor *actor, gfloat delta_x, gfloat delta_y) { ClutterActor *drag_handle; if (action->priv->drag_handle != NULL) drag_handle = action->priv->drag_handle; else drag_handle = actor; clutter_actor_move_by (drag_handle, delta_x, delta_y); }