On Sun, 15 May 2011 11:45:39 +0200 Atton Jonathan <[email protected]>
said:

trhere is no need to do that. you can set visible to 1 and 0 along with alpha
being 255 and 0 :) edje does the right thing :) u dont need the 3rd state.

> Hello,
> 
> I was talking with Cedric about a amelioration of Edje.
> 
> 
> *Add a keyword to tell to Edje:*
> *- when aplha = 0, set visible:0*
> *- when alpha > 0, set visible:1*
> 
> Currently if we which to hide a part with a animation we use:
> 
> part {
>     description {
>          name: "display";
>          visible: 1;
>          alpha: 255;
>     }
> 
>     description {
>          name: "hide";
>          visible: 1;
>          alpha: 0;
>     }
> 
>     description {
>          name: "hidden";
>          visible: 0;
>     }
> }
> 
> pgm{
>    name: "hide";
>    set: "hide";
>    after: "hide2";
> }
> 
> pgm{
>    name: "hide2";
>    set: "hidden";
> }
> 
> 
> 
> I see two problems:
> 
>    - lot of descriptions and programs
>    - lot of GUI are not optimized because we do not set visible:0 (enki for
>    example !)
> 
> 
> If we add a keyword we could have:
> 
> 
> part {
>     description {
>          name: "display";
>          link_alpha_visible: 1;
>          alpha: 255;
>     }
> 
>     description {
>          name: "hide";
>          inherit: "display";
>          alpha: 0;
>     }
> }
> 
> pgm{
>    name: "hide";
>    set: "hide";
> }
> 
> 
> 
> 
> -- 
> Regards.
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to