layout-manager: Add a new animation API
authorBastian Winkler <buz@netbuz.org>
Thu, 24 May 2012 13:45:07 +0000 (15:45 +0200)
committerBastian Winkler <buz@netbuz.org>
Mon, 28 May 2012 17:37:10 +0000 (19:37 +0200)
commit7f6b17bc504ca508554a5e2075af59125682e531
tree21b51e8397600edf0d20440fb288d02185c5d009
parent734720ef0f849b1e31b01d3d376dfeb3b310ca5f
layout-manager: Add a new animation API

It's similar to to the implicit animation API of ClutterActor and
compatible to deprecated API of ClutterBoxLayout and
ClutterTableLayout.

It adds :use-animations, :easing-mode, :easing-duration and
:easing-delay properties to control animations when allocation of a
child has changed. Layout manager implementers should call

use_animations = clutter_layout_manager_get_easing_state (manager,
                                                          &mode,
                                                          &duration,
                                                          &delay);

from the allocate() virtual function to access these values.

https://bugzilla.gnome.org/show_bug.cgi?id=676827
clutter/clutter-layout-manager.c
clutter/clutter-layout-manager.h
clutter/clutter.symbols
doc/reference/clutter/clutter-sections.txt