4
#define ANIMATION_ABI 20091205
6
#include <core/pluginclasshandler.h>
7
#include <opengl/fragment.h>
14
WindowEventUnminimize,
34
AnimDirectionDown = 0,
41
#define LAST_ANIM_DIRECTION 5
43
class PrivateAnimScreen;
44
class PrivateAnimWindow;
49
typedef AnimEffectInfo * AnimEffect;
51
#define RAND_FLOAT() ((float)rand() / RAND_MAX)
53
#define sigmoid(fx) (1.0f/(1.0f+exp(-5.0f*2*((fx)-0.5))))
54
#define sigmoid2(fx, s) (1.0f/(1.0f+exp(-(s)*2*((fx)-0.5))))
56
#define NUM_OPTIONS(s) (sizeof ((s)->opt) / sizeof (CompOption))
58
#include "extensionplugin.h"
59
#include "animeffect.h"
61
#include "persistent.h"
65
#include "transform.h"
67
#include "partialwindow.h"
68
#include "gridtransform.h"
73
// ratio of perceived length of animation compared to real duration
74
// to make it appear to have the same speed with other animation effects