[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Edje: Image transitions



On Sun, 21 May 2006 22:33:39 +0200 Sevcsik András <sevcsik@citromail.hu>
babbled:

> Hi everyone.
> 
> How can I add image transitions to my edc?

you need 2 images and fade the one on top in/out. evas doesn't do crossfade -
and thus edje doesn't either.

> Heres my programs{} section:
> 
> 	programs {
> 		program {
> 			name, "statusimg_in";
> 			signal, "mouse,in";
> 			source, "statusimg_bg";
> 			action, STATE_SET "mouseover" 0.0; // This
> 				// changes to mouseover image
> 			target, "statusimg_bg";
> 			after, "statusimg_stop";
> 		}
> 		program {
> 			name, "statusimg_out";
> 			signal, "mouse,out";
> 			source, "statusimg_bg";
> 			action, STATE_SET "default" 0.0; // This
> 				// changes to default image
> 			target, "statusimg_bg";
> 			after, "statusimg_stop";
> 		}
> 		program {
> 			name, "statusimg_stop";
> 			signal, "";
> 			action, ACTION_STOP;
> 			target, "statusimg_in";
> 			target, "statusimg_out";
> 		}
> 	}
> 
> If I add a line "transition, LINEAR, 1" or something else, it waits 1
> second, and then changes the image. I want a nice and slow alpha
> transition :)
> 
> Btw, transitions work beautifully, when I change positon/size.
> 
> Thanks for the help,
> 	Sevcsik
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)