On Thu, 2010-09-02 at 15:51 +0100, Emmanuele Bassi wrote:
> On Thu, 2010-09-02 at 16:18 +0200, Amos Brocco wrote:
> 
> > This is a simple example that shows what I'm trying to do:
> 
> >     clutter_actor_set_opacity (actor, 255);  /* Reset opacity back to full 
> > opaque */
> 
> no: this will make the Rectangle fully opaque *with respect to its
> color*, which is half opaque:
> 
> >         ClutterColor actor_color = { 0, 255, 0, 128 };
> >         ClutterActor *rect clutter_rectangle_new_with_color(&actor_color);
> 
> if you want to have the Rectangle fully opaque then set the alpha
> component of the color to be 255 and set the actor's opacity to be 128.

Even if you do this, using "signal::completed" with
clutter_actor_animate() doesn't reset the opacity to 255; but
"signal-after::completed" does; e.g. try this code: 

http://paste2.org/p/973077

Is this the expected behaviour?

Elliot

-- 
Elliot Smith
Intel Open Source Technology Centre

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to