diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-02-20 22:14:46 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-02-20 23:06:28 +0000 |
commit | 65a024af9256b9d01c12a7ca2775a291ce6fa7ab (patch) | |
tree | e94c1024b1efeabce8b40c2b698d9d4829f39fef /clutter/clutter-timeline.h | |
parent | a8c68c78d8bc7aa6dd82930f2570a451fc6bff3e (diff) | |
download | clutter-65a024af9256b9d01c12a7ca2775a291ce6fa7ab.tar.gz |
timeline: Add progress-based marker API
Being able to set a marker at a normalized point on a timeline, instead
of using a specific time, is a nice fit with the current Timeline class
API.
https://bugzilla.gnome.org/show_bug.cgi?id=694319
Diffstat (limited to 'clutter/clutter-timeline.h')
-rw-r--r-- | clutter/clutter-timeline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clutter/clutter-timeline.h b/clutter/clutter-timeline.h index a1a2dc65c..c31f8df2e 100644 --- a/clutter/clutter-timeline.h +++ b/clutter/clutter-timeline.h @@ -148,6 +148,10 @@ void clutter_timeline_set_delay guint msecs); guint clutter_timeline_get_delay (ClutterTimeline *timeline); guint clutter_timeline_get_delta (ClutterTimeline *timeline); +CLUTTER_AVAILABLE_IN_1_14 +void clutter_timeline_add_marker (ClutterTimeline *timeline, + const gchar *marker_name, + gdouble progress); void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline, const gchar *marker_name, guint msecs); |