timeline: Add more state accessors

It should be possible to ask a timeline what is its duration, taking
into account eventual repeats, and which repeat is the one currently
in progress.

These two functions allow writing animations that depend on the current
state of another timeline.
This commit is contained in:
Emmanuele Bassi
2012-03-15 13:50:28 +00:00
parent 1511e588df
commit 388f818f41
4 changed files with 63 additions and 0 deletions

View File

@@ -1287,9 +1287,11 @@ clutter_timeline_new
clutter_timeline_clone
clutter_timeline_direction_get_type
clutter_timeline_get_auto_reverse
clutter_timeline_get_current_repeat
clutter_timeline_get_delay
clutter_timeline_get_delta
clutter_timeline_get_direction
clutter_timeline_get_duration_hint
clutter_timeline_get_duration
clutter_timeline_get_elapsed_time
clutter_timeline_get_loop