Re: Animation speed
Jozsef Kadlecsik (kadlec@blackhole.kfki.hu)
Fri, 22 May 1998 16:31:19 +0200 (MET DST)
> > Is it posibile to speed up the folder animation of the wharf. When I click
> > on a folder icon the rest of the icons take a while to move out of the
> > wharf.
> > I've tired setting the wharf animation speed to 0 in the wharf file.
> > Thank you in advance
> > Alan Kemp
> This speed is defined in configure.h as -
> #define ANIM_STEP 10
> #define ANIM_STEP_MAIN 10
> #define ANIM_DELAY 10
> once adjusted, recompile and voila, quicker wharf animation.
OK, however a folder is closed by half the speed than by which it is
opened. It is because in the source of Wharf.c the steps of opening are
delayed by
sleep_a_little(ANIM_DELAY/2);
while the steps of the closing are delayed by
sleep_a_little(ANIM_DELAY);
What is really strange for me is that if ANIM_DELAY replaced by
ANIM_DELAY/2 in CloseFolder and ANIM_DELAY is small (1), then the speed
is OK for both opening/closing, the motion however isn't: nice quick
folder opening, however black boxes ?? are closed instead of the icons.
And which is more confusing: closing is OK even in this case for the main
Wharf folder.
What's wrong?
Best regards,
Jozsef Kadlecsik
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary