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.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to