diff --git a/clutter/clutter-master-clock.h b/clutter/clutter-master-clock.h index 60026e38c..75213af30 100644 --- a/clutter/clutter-master-clock.h +++ b/clutter/clutter-master-clock.h @@ -36,15 +36,17 @@ typedef struct _ClutterMasterClock ClutterMasterClock; GType _clutter_master_clock_get_type (void) G_GNUC_CONST; -ClutterMasterClock *_clutter_master_clock_get_default (void); -void _clutter_master_clock_add_timeline (ClutterMasterClock *master_clock, - ClutterTimeline *timeline); -void _clutter_master_clock_remove_timeline (ClutterMasterClock *master_clock, - ClutterTimeline *timeline); -void _clutter_master_clock_advance (ClutterMasterClock *master_clock); -void _clutter_master_clock_start_running (ClutterMasterClock *master_clock); -void _clutter_master_clock_ensure_next_iteration (ClutterMasterClock *master_clock); +ClutterMasterClock * _clutter_master_clock_get_default (void); +void _clutter_master_clock_add_timeline (ClutterMasterClock *master_clock, + ClutterTimeline *timeline); +void _clutter_master_clock_remove_timeline (ClutterMasterClock *master_clock, + ClutterTimeline *timeline); +void _clutter_master_clock_advance (ClutterMasterClock *master_clock); +void _clutter_master_clock_start_running (ClutterMasterClock *master_clock); +void _clutter_master_clock_ensure_next_iteration (ClutterMasterClock *master_clock); +void _clutter_timeline_do_tick (ClutterTimeline *timeline, + gint64 tick_time); G_END_DECLS diff --git a/clutter/clutter-timeline.h b/clutter/clutter-timeline.h index ce642f3e1..b0272de15 100644 --- a/clutter/clutter-timeline.h +++ b/clutter/clutter-timeline.h @@ -96,53 +96,49 @@ struct _ClutterTimelineClass GType clutter_timeline_get_type (void) G_GNUC_CONST; -ClutterTimeline *clutter_timeline_new (guint msecs); -ClutterTimeline *clutter_timeline_clone (ClutterTimeline *timeline); +ClutterTimeline * clutter_timeline_new (guint msecs); -guint clutter_timeline_get_duration (ClutterTimeline *timeline); -void clutter_timeline_set_duration (ClutterTimeline *timeline, - guint msecs); -ClutterTimelineDirection clutter_timeline_get_direction (ClutterTimeline *timeline); -void clutter_timeline_set_direction (ClutterTimeline *timeline, - ClutterTimelineDirection direction); -void clutter_timeline_start (ClutterTimeline *timeline); -void clutter_timeline_pause (ClutterTimeline *timeline); -void clutter_timeline_stop (ClutterTimeline *timeline); -void clutter_timeline_set_loop (ClutterTimeline *timeline, - gboolean loop); -gboolean clutter_timeline_get_loop (ClutterTimeline *timeline); -void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline, - gboolean reverse); -gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline); -void clutter_timeline_rewind (ClutterTimeline *timeline); -void clutter_timeline_skip (ClutterTimeline *timeline, - guint msecs); -void clutter_timeline_advance (ClutterTimeline *timeline, - guint msecs); -guint clutter_timeline_get_elapsed_time (ClutterTimeline *timeline); -gdouble clutter_timeline_get_progress (ClutterTimeline *timeline); -gboolean clutter_timeline_is_playing (ClutterTimeline *timeline); -void clutter_timeline_set_delay (ClutterTimeline *timeline, - guint msecs); -guint clutter_timeline_get_delay (ClutterTimeline *timeline); -guint clutter_timeline_get_delta (ClutterTimeline *timeline); +guint clutter_timeline_get_duration (ClutterTimeline *timeline); +void clutter_timeline_set_duration (ClutterTimeline *timeline, + guint msecs); +ClutterTimelineDirection clutter_timeline_get_direction (ClutterTimeline *timeline); +void clutter_timeline_set_direction (ClutterTimeline *timeline, + ClutterTimelineDirection direction); +void clutter_timeline_start (ClutterTimeline *timeline); +void clutter_timeline_pause (ClutterTimeline *timeline); +void clutter_timeline_stop (ClutterTimeline *timeline); +void clutter_timeline_set_loop (ClutterTimeline *timeline, + gboolean loop); +gboolean clutter_timeline_get_loop (ClutterTimeline *timeline); +void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline, + gboolean reverse); +gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline); +void clutter_timeline_rewind (ClutterTimeline *timeline); +void clutter_timeline_skip (ClutterTimeline *timeline, + guint msecs); +void clutter_timeline_advance (ClutterTimeline *timeline, + guint msecs); +guint clutter_timeline_get_elapsed_time (ClutterTimeline *timeline); +gdouble clutter_timeline_get_progress (ClutterTimeline *timeline); +gboolean clutter_timeline_is_playing (ClutterTimeline *timeline); +void clutter_timeline_set_delay (ClutterTimeline *timeline, + guint msecs); +guint clutter_timeline_get_delay (ClutterTimeline *timeline); +guint clutter_timeline_get_delta (ClutterTimeline *timeline); +void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline, + const gchar *marker_name, + guint msecs); +void clutter_timeline_remove_marker (ClutterTimeline *timeline, + const gchar *marker_name); +gchar ** clutter_timeline_list_markers (ClutterTimeline *timeline, + gint msecs, + gsize *n_markers) G_GNUC_MALLOC; +gboolean clutter_timeline_has_marker (ClutterTimeline *timeline, + const gchar *marker_name); +void clutter_timeline_advance_to_marker (ClutterTimeline *timeline, + const gchar *marker_name); -void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline, - const gchar *marker_name, - guint msecs); -void clutter_timeline_remove_marker (ClutterTimeline *timeline, - const gchar *marker_name); -gchar ** clutter_timeline_list_markers (ClutterTimeline *timeline, - gint msecs, - gsize *n_markers) G_GNUC_MALLOC; -gboolean clutter_timeline_has_marker (ClutterTimeline *timeline, - const gchar *marker_name); -void clutter_timeline_advance_to_marker (ClutterTimeline *timeline, - const gchar *marker_name); - -/*< private >*/ -void _clutter_timeline_do_tick (ClutterTimeline *timeline, - gint64 tick_time); +ClutterTimeline * clutter_timeline_clone (ClutterTimeline *timeline); G_END_DECLS