Fix segfault setting MenuFace pixmap style for menus.
[fvwm.git] / modules / FvwmAnimate / FvwmAnimate.h
bloba91e2950ab30a8fa43bb4753942d41fc65d89285
1 /* -*-c-*- */
2 #ifndef _ANIMATE_H_
3 #define _ANIMATE_H_
5 /* Animation granularity. How many iterations use for the animation. */
6 #define ANIM_ITERATIONS 12
8 /* delay for each iteration of the animation in ms */
9 #define ANIM_DELAY 1
11 /* delay for each iteration of the close animation in ms */
12 #define ANIM_DELAY2 20
14 /* distance to spin frame around, 1.0 is one revolution.
15 with large values you should up ANIM_ITERATIONS as well */
16 #define ANIM_TWIST 0.5
18 /* default line width */
19 #define ANIM_WIDTH 0
21 /* default time */
22 #define ANIM_TIME 0
24 struct ASAnimate {
25 char *color;
26 char *pixmap;
27 int iterations;
28 int delay;
29 float twist;
30 int width;
31 void (*resize)(int, int, int, int, int, int, int, int);
32 clock_t time;
35 extern struct ASAnimate Animate;
37 #endif /* _ANIMATE_H_ */