On Sun, 15 May 2011 12:46:15 +0200 Atton Jonathan <jonathan.at...@gmail.com>
said:

correct. edje's logic is this:

if visible goes from 0 to 1 it shows at the START of the anim. if it goes from
1 to 0 .. it hides at the END of the anim. :)

> or we set visible:0 at the end of the animation ?
> 
> 2011/5/15 Atton Jonathan <jonathan.at...@gmail.com>
> 
> > If you set visible:0 you lost the animation :/
> >
> >
> > 2011/5/15 Nicolas Aguirre <aguirre.nico...@gmail.com>
> >
> >> 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" <jonathan.at...@gmail.com> 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
> >> > enlightenment-devel@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >>
> >
> >
> > --
> > Regards.
> >
> 
> 
> 
> -- 
> 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
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to