Clean up clutter-timeline.h
Re-align everything to allow expansion, and move the only "protected" function to the clutter-master-clock.h private header.
This commit is contained in:
parent
aec65c9198
commit
bc2e4ac6c2
@ -36,7 +36,7 @@ typedef struct _ClutterMasterClock ClutterMasterClock;
|
|||||||
|
|
||||||
GType _clutter_master_clock_get_type (void) G_GNUC_CONST;
|
GType _clutter_master_clock_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
ClutterMasterClock *_clutter_master_clock_get_default (void);
|
ClutterMasterClock * _clutter_master_clock_get_default (void);
|
||||||
void _clutter_master_clock_add_timeline (ClutterMasterClock *master_clock,
|
void _clutter_master_clock_add_timeline (ClutterMasterClock *master_clock,
|
||||||
ClutterTimeline *timeline);
|
ClutterTimeline *timeline);
|
||||||
void _clutter_master_clock_remove_timeline (ClutterMasterClock *master_clock,
|
void _clutter_master_clock_remove_timeline (ClutterMasterClock *master_clock,
|
||||||
@ -45,6 +45,8 @@ void _clutter_master_clock_advance (ClutterMasterCl
|
|||||||
void _clutter_master_clock_start_running (ClutterMasterClock *master_clock);
|
void _clutter_master_clock_start_running (ClutterMasterClock *master_clock);
|
||||||
void _clutter_master_clock_ensure_next_iteration (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
|
G_END_DECLS
|
||||||
|
|
||||||
|
@ -96,8 +96,7 @@ struct _ClutterTimelineClass
|
|||||||
|
|
||||||
GType clutter_timeline_get_type (void) G_GNUC_CONST;
|
GType clutter_timeline_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
ClutterTimeline *clutter_timeline_new (guint msecs);
|
ClutterTimeline * clutter_timeline_new (guint msecs);
|
||||||
ClutterTimeline *clutter_timeline_clone (ClutterTimeline *timeline);
|
|
||||||
|
|
||||||
guint clutter_timeline_get_duration (ClutterTimeline *timeline);
|
guint clutter_timeline_get_duration (ClutterTimeline *timeline);
|
||||||
void clutter_timeline_set_duration (ClutterTimeline *timeline,
|
void clutter_timeline_set_duration (ClutterTimeline *timeline,
|
||||||
@ -126,7 +125,6 @@ void clutter_timeline_set_delay (ClutterTimeline *timeli
|
|||||||
guint msecs);
|
guint msecs);
|
||||||
guint clutter_timeline_get_delay (ClutterTimeline *timeline);
|
guint clutter_timeline_get_delay (ClutterTimeline *timeline);
|
||||||
guint clutter_timeline_get_delta (ClutterTimeline *timeline);
|
guint clutter_timeline_get_delta (ClutterTimeline *timeline);
|
||||||
|
|
||||||
void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline,
|
void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline,
|
||||||
const gchar *marker_name,
|
const gchar *marker_name,
|
||||||
guint msecs);
|
guint msecs);
|
||||||
@ -140,9 +138,7 @@ gboolean clutter_timeline_has_marker (ClutterTimeline *timeli
|
|||||||
void clutter_timeline_advance_to_marker (ClutterTimeline *timeline,
|
void clutter_timeline_advance_to_marker (ClutterTimeline *timeline,
|
||||||
const gchar *marker_name);
|
const gchar *marker_name);
|
||||||
|
|
||||||
/*< private >*/
|
ClutterTimeline * clutter_timeline_clone (ClutterTimeline *timeline);
|
||||||
void _clutter_timeline_do_tick (ClutterTimeline *timeline,
|
|
||||||
gint64 tick_time);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user