mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
make clutter_actor_get_transformed_point input relative to actor; feed actor depth into transform
This commit is contained in:
parent
71f2e05b9b
commit
d82c068faf
@ -1,3 +1,9 @@
|
||||
2007-06-01 Tomas Frydrych <tf@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.c:
|
||||
(clutter_actor_get_transformed_point):
|
||||
Make input again relative to the actor; feed depth into transform.
|
||||
|
||||
2007-06-01 Neil J. Patel <njp@o-hand.com>
|
||||
|
||||
* clutter/clutter-entry.c: (clutter_entry_class_init),
|
||||
|
@ -713,9 +713,9 @@ clutter_actor_get_transformed_point (ClutterActor *actor,
|
||||
|
||||
mtx_create (priv, &mtx[0], mtx_p);
|
||||
|
||||
*x_return = CLUTTER_UNITS_FROM_INT(x) - priv->coords.x1;
|
||||
*y_return = CLUTTER_UNITS_FROM_INT(y) - priv->coords.y1;
|
||||
*z_return = 0;
|
||||
*x_return = CLUTTER_UNITS_FROM_INT(x);
|
||||
*y_return = CLUTTER_UNITS_FROM_INT(y);
|
||||
*z_return = CLUTTER_INT_TO_FIXED (priv->z);
|
||||
|
||||
mtx_transform (&mtx[0], x_return, y_return, z_return);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user