1 #ifndef _ANIMATE_H_
2 #define _ANIMATE_H_
3 
4 /* Animation granularity. How many iterations use for the animation.  */
5 #define ANIM_ITERATIONS 12
6 
7 /* delay for each iteration of the animation in ms */
8 #define ANIM_DELAY      1
9 
10 /* delay for each iteration of the close animation in ms */
11 #define ANIM_DELAY2     20
12 
13 /* distance to spin frame around, 1.0 is one revolution.
14    with large values you should up ANIM_ITERATIONS as well */
15 #define ANIM_TWIST      0.5
16 
17 /* default line width */
18 #define ANIM_WIDTH      0
19 
20 void AnimateResizeTwist(int, int, int, int, int, int, int, int);
21 void AnimateResizeZoom(int, int, int, int, int, int, int, int);
22 
23 struct ASAnimate
24 {
25     char *color;
26     int iterations;
27     int delay;
28     float twist;
29     int width;
30     void (*resize)(int, int, int, int, int, int, int, int);
31 };
32 
33 extern struct ASAnimate Animate;
34 
35 #endif /* _ANIMATE_H_ */
36