If you set visible:0 you lost the animation :/

2011/5/15 Nicolas Aguirre <[email protected]>

> AFAIK There is no reason to add the hidden part. Setting alpha and visible
> to 0 in the same description is enough.
>
> Le 15 mai 2011 11:47, "Atton Jonathan" <[email protected]> a
> écrit :
>
> >
> > 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
>
>


-- 
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

Reply via email to