summaryrefslogtreecommitdiff
path: root/src/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects.h')
-rw-r--r--src/effects.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/effects.h b/src/effects.h
index 867f6c0..9b05744 100644
--- a/src/effects.h
+++ b/src/effects.h
@@ -25,16 +25,12 @@
#include "util.h"
#include "screen.h"
-#define META_MINIMIZE_ANIMATION_STEPS 16
-#define META_MINIMIZE_ANIMATION_DELAY 20
-
-#define META_SHADE_ANIMATION_STEPS 7
-#define META_SHADE_ANIMATION_DELAY 15
+#define META_MINIMIZE_ANIMATION_LENGTH 0.3
+#define META_SHADE_ANIMATION_LENGTH 0.15
void meta_effects_draw_box_animation (MetaScreen *screen,
MetaRectangle *initial_rect,
MetaRectangle *destination_rect,
- int steps,
- int delay);
+ double seconds_duration);
#endif /* META_EFFECTS_H */