Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/entice
Dir : e17/apps/entice/data/themes/default/embryo
Modified Files:
globals.edc
Log Message:
embryo
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/entice/data/themes/default/embryo/globals.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- globals.edc 24 Apr 2004 18:22:03 -0000 1.1
+++ globals.edc 27 Apr 2004 04:49:18 -0000 1.2
@@ -1,4 +1,26 @@
script {
public mouse_x;
public mouse_y;
+ public preview_state;
+ public preview_animate(val, Float: pos) {
+ new Float:x = 0.0;
+ new Float:y = 0.0;
+ if(val == 0) {
+ x = sin(3.14 * pos);
+ y = cos(1.57 * pos);
+ }
+ else if(val == 1){
+ x = sin(3.14 * pos);
+ y = 1 - cos(1.57 * pos);
+ }
+ else if(val == 2){
+ x = 1 - sin(3.14 * pos);
+ y = cos(1.57 * pos);
+ }
+ else if(val == 3){
+ x = 1 - sin(3.14 * pos);
+ y = 1 - cos(1.57 * pos);
+ }
+ set_drag(PART:"entice.preview", x, y);
+ }
}
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs