1
0
Fork 0
mutter-performance-source/tests
Emmanuele Bassi 0f535537c2 2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c:
	(clutter_actor_set_property),
	(clutter_actor_get_property),
	(clutter_actor_class_init): Add the rotation-* properties,
	controlling the rotation angle and center on each axis. (#614)

	(parse_rotation_array), (parse_rotation),
	(clutter_actor_parse_custom_node),
	(clutter_actor_set_custom_property),
	(clutter_scriptable_iface_init): Add a new "rotation" custom
	property for expressing the rotation along each axis in a
	compact way:

	  "rotation" : [
	    { "x-axis" : [ <angle>, [ <y>, <z> ] ] },
	    { "y-axis" : [ <angle>, [ <x>, <z> ] ] },
	    { "z-axis" : [ <angle>, [ <x>, <y> ] ] }
	  ]

	(clutter_geometry_get_type),(clutter_vertex_get_type),
	(clutter_actor_box_get_type): Use the I_() macro instead of
	directly calling g_intern_static_string().
	
	* clutter/clutter-entry.c (clutter_entry_request_coords):
	* clutter/clutter-label.c (clutter_label_ensure_layout),
	(clutter_label_request_coords): Use CLUTTER_UNITS_FROM_DEVICE()
	instead of CLUTTER_UNITS_FROM_INT(), as "device" means "pixels".

	* clutter/clutter-private.h: Add the I_() macro for intern
	static strings.

	* tests/test-script.json: Test the newly added "rotation"
	custom property.
2007-12-10 11:01:10 +00:00
..
Makefile.am 2007-12-10 Tomas Frydrych <tf@openedhand.com> 2007-12-10 10:16:55 +00:00
redhand.png 2007-06-12 Matthew Allum <mallum@openedhand.com> 2007-06-12 10:36:28 +00:00
test-actors.c * clutter/clutter-actor.[ch]: (clutter_actor_set_rotationx), 2007-11-19 11:43:20 +00:00
test-behave.c 2007-11-23 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-23 11:23:19 +00:00
test-depth.c 2007-11-21 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-21 11:55:26 +00:00
test-effects.c 2007-11-23 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-23 11:23:19 +00:00
test-entry.c Fix various compiler warnings 2007-07-26 11:04:04 +00:00
test-events.c 2007-12-09 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-09 08:53:06 +00:00
test-fullscreen.c 2007-11-26 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-26 12:07:25 +00:00
test-grab.c 2007-11-19 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-19 16:30:56 +00:00
test-model.c 2007-11-29 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-29 15:01:21 +00:00
test-offscreen.c 2007-05-25 Matthew Allum <mallum@openedhand.com> 2007-05-25 10:56:09 +00:00
test-perspective.c Moved dots in test-perspective to 1px off each corner. 2007-06-28 08:24:45 +00:00
test-project.c * clutter/clutter-actor.[ch]: (clutter_actor_set_rotationx), 2007-11-19 11:43:20 +00:00
test-rotate.c 2007-11-19 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-19 21:14:16 +00:00
test-scale.c 2007-09-27 Matthew Allum <mallum@openedhand.com> 2007-09-27 22:30:58 +00:00
test-score.c 2007-12-06 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-06 09:07:12 +00:00
test-script.c 2007-11-15 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-15 15:24:43 +00:00
test-script.json 2007-12-10 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-10 11:01:10 +00:00
test-shader.c Rever accidental commit 2007-12-06 10:58:42 +00:00
test-text.c 2007-12-09 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-09 08:53:06 +00:00
test-textures.c 2007-07-30 Matthew Allum <mallum@openedhand.com> 2007-07-29 22:55:04 +00:00
test-threads.c 2007-10-16 Tomas Frydrych <tf@o-hand.com> 2007-10-16 08:34:16 +00:00
test-timeline.c 2007-11-15 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-15 17:03:55 +00:00
test-unproject.c 2007-12-06 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-06 09:07:12 +00:00
test-viewport.c 2007-12-10 Tomas Frydrych <tf@openedhand.com> 2007-12-10 10:13:31 +00:00