Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_spinner.c Log Message: slow down the spinner =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spinner.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- ewl_spinner.c 17 Aug 2006 10:40:34 -0000 1.21 +++ ewl_spinner.c 9 Sep 2006 18:56:27 -0000 1.22 @@ -561,16 +561,13 @@ velocity = 1; else if (velocity > 10) velocity = 10; - /* * Move the value of the spinner based on the direction of it's motion * and the velocity setting. */ + dv = velocity * s->direction * 10.0 * r->step * dt*dt; - dv = velocity * s->direction - * (r->max_val - r->min_val) / r->step / 10 * dt * dt; - while (r->step < abs(dv - s->last_value - step)) { if (s->direction == 1) step += r->step; ------------------------------------------------------------------------- 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs