2007-09-27 21:38:38 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <clutter/clutter.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main (int argc, char **argv)
|
|
|
|
{
|
|
|
|
ClutterScore *score;
|
|
|
|
ClutterTimeline *timeline_1;
|
|
|
|
ClutterTimeline *timeline_2;
|
|
|
|
ClutterTimeline *timeline_3;
|
2007-10-17 23:03:38 +00:00
|
|
|
ClutterTimeline *timeline_4;
|
2007-09-27 21:38:38 +00:00
|
|
|
|
|
|
|
clutter_init (&argc, &argv);
|
|
|
|
|
|
|
|
timeline_1 = clutter_timeline_new (10, 120);
|
|
|
|
timeline_2 = clutter_timeline_clone (timeline_1);
|
|
|
|
timeline_3 = clutter_timeline_clone (timeline_1);
|
2007-10-17 23:03:38 +00:00
|
|
|
timeline_4 = clutter_timeline_clone (timeline_1);
|
2007-09-27 21:38:38 +00:00
|
|
|
|
|
|
|
score = clutter_score_new();
|
|
|
|
clutter_score_add (score, timeline_1);
|
|
|
|
clutter_score_append (score, timeline_1, timeline_2);
|
2007-10-17 23:03:38 +00:00
|
|
|
clutter_score_append (score, timeline_1, timeline_3);
|
|
|
|
clutter_score_append (score, timeline_3, timeline_4);
|
|
|
|
|
2007-09-27 21:38:38 +00:00
|
|
|
clutter_score_start (score);
|
|
|
|
|
|
|
|
clutter_main ();
|
|
|
|
|
|
|
|
g_object_unref (score);
|
|
|
|
g_object_unref (timeline_1);
|
|
|
|
g_object_unref (timeline_2);
|
|
|
|
g_object_unref (timeline_3);
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|