Bug 1121 - Setting anchor point doesn't work if set too early
* clutter/clutter-actor.c (clutter_actor_set_anchor_point_from_gravity) (clutter_actor_move_anchor_point_from_gravity): Add documentation to make it clear that the anchor point won't move when the actor is resized.
This commit is contained in:
parent
3fb00f9cdd
commit
ae8bab0bc8
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2008-09-17 Neil Roberts <neil@linux.intel.com>
|
||||||
|
|
||||||
|
Bug 1121 - Setting anchor point doesn't work if set too early
|
||||||
|
|
||||||
|
* clutter/clutter-actor.c
|
||||||
|
(clutter_actor_set_anchor_point_from_gravity)
|
||||||
|
(clutter_actor_move_anchor_point_from_gravity): Add documentation
|
||||||
|
to make it clear that the anchor point won't move when the actor
|
||||||
|
is resized.
|
||||||
|
|
||||||
2008-09-16 Neil Roberts <neil@linux.intel.com>
|
2008-09-16 Neil Roberts <neil@linux.intel.com>
|
||||||
|
|
||||||
Bug 1100 - WM_SIZE not handled correctly, user_resize and
|
Bug 1100 - WM_SIZE not handled correctly, user_resize and
|
||||||
|
@ -6264,6 +6264,12 @@ clutter_actor_get_anchor_pointu (ClutterActor *self,
|
|||||||
* actor postion so that its relative position within its parent remains
|
* actor postion so that its relative position within its parent remains
|
||||||
* unchanged.
|
* unchanged.
|
||||||
*
|
*
|
||||||
|
* Note that the anchor is still stored as a point and the gravity
|
||||||
|
* value is forgotten. For example, if you set the anchor point to
|
||||||
|
* %CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor,
|
||||||
|
* the anchor point will not move to the bottom right and will now be
|
||||||
|
* in the center of the actor.
|
||||||
|
*
|
||||||
* Since: 0.6
|
* Since: 0.6
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@ -6299,6 +6305,12 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
|
|||||||
* Sets an anchor point on the actor, based on the given gravity (this is a
|
* Sets an anchor point on the actor, based on the given gravity (this is a
|
||||||
* convenience function wrapping clutter_actor_set_anchor_point()).
|
* convenience function wrapping clutter_actor_set_anchor_point()).
|
||||||
*
|
*
|
||||||
|
* Note that the anchor is still stored as a point and the gravity
|
||||||
|
* value is forgotten. For example, if you set the anchor point to
|
||||||
|
* %CLUTTER_GRAVITY_SOUTH_EAST and later double the size of the actor,
|
||||||
|
* the anchor point will not move to the bottom right and will now be
|
||||||
|
* in the center of the actor.
|
||||||
|
*
|
||||||
* Since: 0.6
|
* Since: 0.6
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user