actor: Add delay to the easing state
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 15 Mar 2012 12:24:02 +0000 (12:24 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 15 Mar 2012 17:01:13 +0000 (17:01 +0000)
commit1511e588df3366034de9115741e23b5d43923ab2
treebfbd51d5dd68691ce1904df792a3298d7f4dc91d
parent303ebaea88778d8b184b2a63572d4a0eb323318a
actor: Add delay to the easing state

It should be possible to set up the delay of a transition, but since
we start the Transition instance before returning control to the caller,
we cannot use clutter_actor_get_transition() to do it without something
extra-awkward, like:

  transition = clutter_actor_get_transition (actor, "width");
  clutter_timeline_stop (transition);
  clutter_timeline_set_delay (transition, 1000);
  clutter_timeline_start (transition);

for each property involved. It's much easier to add a delay to the
easing state of an actor.
clutter/clutter-actor-private.h
clutter/clutter-actor.c
clutter/clutter-actor.h
clutter/clutter.symbols
doc/reference/clutter/clutter-sections.txt