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

@ -746,6 +746,8 @@ clutter_timeline_set_progress_mode
clutter_timeline_get_progress_mode
ClutterTimelineProgressFunc
clutter_timeline_set_progress_func
clutter_timeline_get_duration_hint
clutter_timeline_get_current_repeat
clutter_timeline_set_loop
clutter_timeline_get_loop