mutter/clutter
Neil Roberts a86b9834d3 [ClutterBehaviourRotate] Fix up some breakage from the cogl-float branch merge
The rotation angle calculated in clutter_behaviour_rotate_alpha_notify
gets applied to each actor using clutter_behaviour_actors_foreach. The
angle is a ClutterFixed value. Before the cogl float branch merge it
was stuffed into a gpointer using GPOINTER_TO_UINT. The pointer was
then converted back to a uint and cast to a ClutterFixed which worked
out fine even for negative numbers.

After the cogl-float merge the angle is effectively a gfloat. This
gets cast to a uint and stored in a pointer and converted back to a
float via a uint at the other end. However this fails for negative
numbers because a uint -> float conversion can't take advantage of
overflow to preserve the sign so you end up with a large number.

It also had the side effect that it only rotated in whole degrees.

This commit fixes the problem by just passing the ClutterFixed value
inside a closure struct instead of trying to stuff it into a pointer.
2009-02-18 18:30:58 +00:00
..
cogl [cogl-color.c] #include fix for the cogl_set_source_color prototype 2009-02-18 16:19:14 +00:00
eglnative [eglnative] Set the SYNC_MATRICES on stage realization 2009-01-16 22:13:44 +00:00
eglx Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
fruity
glx Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
json
osx
pango Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
sdl
win32 [win32] Track mouse leave messages 2009-02-16 12:46:37 +00:00
x11 [x11] Only update cached last event time if we have a real timestamp. 2009-02-18 16:56:39 +00:00
clutter-actor.c Allow rotation angle properties to be negative 2009-02-18 17:32:23 +00:00
clutter-actor.h Add Actor::create_pango_layout() 2009-02-02 12:07:28 +00:00
clutter-alpha.c
clutter-alpha.h
clutter-animatable.c
clutter-animatable.h
clutter-animation.c [animation] Do not bind construct-only properties 2009-02-16 11:02:20 +00:00
clutter-animation.h
clutter-backend.c
clutter-backend.h
clutter-behaviour-depth.c
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c
clutter-behaviour-ellipse.h
clutter-behaviour-opacity.c
clutter-behaviour-opacity.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-path.c
clutter-behaviour-path.h
clutter-behaviour-rotate.c [ClutterBehaviourRotate] Fix up some breakage from the cogl-float branch merge 2009-02-18 18:30:58 +00:00
clutter-behaviour-rotate.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-scale.c
clutter-behaviour-scale.h
clutter-behaviour.c
clutter-behaviour.h
clutter-bezier.c
clutter-bezier.h
clutter-binding-pool.c
clutter-binding-pool.h
clutter-cairo-texture.c
clutter-cairo-texture.h
clutter-child-meta.c
clutter-child-meta.h
clutter-clone.c [clutter-clone] Override the parent opacity to self not self->parent 2009-02-04 00:14:16 +00:00
clutter-clone.h
clutter-color.c
clutter-color.h
clutter-container.c
clutter-container.h
clutter-debug.h
clutter-deprecated.h Undeprecate clutter_actor_set_scale_with_gravity 2009-01-28 16:24:02 +00:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-event.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-feature.c
clutter-feature.h
clutter-fixed.c
clutter-fixed.h
clutter-frame-source.c
clutter-frame-source.h
clutter-group.c
clutter-group.h
clutter-id-pool.c
clutter-id-pool.h
clutter-interval.c
clutter-interval.h
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-list-model.c [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-list-model.h [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-main.c [Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function 2009-02-18 16:00:52 +00:00
clutter-main.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-marshal.list
clutter-media.c
clutter-media.h
clutter-model-private.h
clutter-model.c
clutter-model.h
clutter-path.c
clutter-path.h
clutter-private.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-rectangle.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
clutter-rectangle.h
clutter-score.c
clutter-score.h
clutter-script-parser.c
clutter-script-private.h
clutter-script.c
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-shader-types.c
clutter-shader-types.h
clutter-shader.c
clutter-shader.h
clutter-stage-manager.c
clutter-stage-manager.h
clutter-stage-window.c
clutter-stage-window.h
clutter-stage.c [Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function 2009-02-18 16:00:52 +00:00
clutter-stage.h
clutter-text.c [Cogl] cogl_clip_{set*,unset} renamed to cogl_clip_{push*,pop} 2009-02-18 16:00:51 +00:00
clutter-text.h [text] Rename :alignment to :line-alignment 2009-02-05 19:54:48 +00:00
clutter-texture.c [Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function 2009-02-18 16:00:52 +00:00
clutter-texture.h Removed unused conditional 2009-01-27 16:40:51 +00:00
clutter-timeline.c
clutter-timeline.h
clutter-timeout-pool.c
clutter-timeout-pool.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-types.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-units.c
clutter-units.h
clutter-util.c * clutter/clutter-texture.c: (texture_get_tile_pixbuf), 2008-02-12 17:17:52 +00:00
clutter-util.h
clutter-version.h.in
clutter.h Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
Makefile.am Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00