2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>

* tests/test-scale.c: Improve test case for scaling (#684,
	Jaap A. Haitsma)
This commit is contained in:
Emmanuele Bassi 2008-01-14 13:13:23 +00:00
parent eba7612388
commit 71127caa65
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
* tests/test-scale.c: Improve test case for scaling (#684,
Jaap A. Haitsma)
2008-01-14 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-timeline.c (timeline_timeout_func): Fix

View File

@ -45,18 +45,19 @@ main (int argc, char *argv[])
clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);
clutter_actor_set_size (stage, 300, 300);
rect = clutter_rectangle_new_with_color(&rect_color);
rect = clutter_rectangle_new_with_color (&rect_color);
clutter_actor_set_size (rect, 100, 100);
clutter_actor_set_position (rect, 100, 100);
clutter_group_add (CLUTTER_GROUP(stage), rect);
clutter_group_add (CLUTTER_GROUP (stage), rect);
rect_color.alpha = 0xff;
rect = clutter_rectangle_new_with_color(&rect_color);
rect = clutter_rectangle_new_with_color (&rect_color);
clutter_actor_set_anchor_point_from_gravity (rect, CLUTTER_GRAVITY_CENTER);
clutter_actor_set_size (rect, 100, 100);
clutter_actor_set_position (rect, 100, 100);
clutter_actor_set_position (rect, 150, 150);
clutter_group_add (CLUTTER_GROUP(stage), rect);
clutter_group_add (CLUTTER_GROUP (stage), rect);
timeline = clutter_timeline_new (20, 30);
alpha = clutter_alpha_new_full (timeline,