On Sun, May 15, 2011 at 11:45 AM, Atton Jonathan <[email protected]> wrote: > 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"; > }
It's easy to add. Really only a few line of code. But before adding that I would like the feed back of others to. -- Cedric BAIL ------------------------------------------------------------------------------ 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
