/usr/include/compiz/animation/animation.h is in compiz-dev 1:0.9.13.1+18.04.20180302-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | #ifndef _ANIMATION_H
#define _ANIMATION_H
#define ANIMATION_ABI 20091205
#include <core/core.h>
#include <core/pluginclasshandler.h>
typedef enum
{
WindowEventOpen = 0,
WindowEventClose,
WindowEventMinimize,
WindowEventUnminimize,
WindowEventShade,
WindowEventUnshade,
WindowEventFocus,
WindowEventNum,
WindowEventNone
} WindowEvent;
typedef enum
{
AnimEventOpen = 0,
AnimEventClose,
AnimEventMinimize,
AnimEventUnminimize,
AnimEventShade,
AnimEventFocus,
AnimEventNum
} AnimEvent;
typedef enum
{
AnimDirectionDown = 0,
AnimDirectionUp,
AnimDirectionLeft,
AnimDirectionRight,
AnimDirectionRandom,
AnimDirectionAuto
} AnimDirection;
extern const unsigned short LAST_ANIM_DIRECTION;
class PrivateAnimScreen;
class PrivateAnimWindow;
class Animation;
class AnimWindow;
class AnimEffectInfo;
typedef AnimEffectInfo * AnimEffect;
#define RAND_FLOAT() ((float)rand() / RAND_MAX)
#define sigmoid(fx) (1.0f/(1.0f+exp(-5.0f*2*((fx)-0.5))))
#define sigmoid2(fx, s) (1.0f/(1.0f+exp(-(s)*2*((fx)-0.5))))
#define NUM_OPTIONS(s) (sizeof ((s)->opt) / sizeof (CompOption))
#include "extensionplugin.h"
#include "animeffect.h"
#include "point3d.h"
#include "persistent.h"
#include "grid.h"
#include "screen.h"
#include "window.h"
#include "transform.h"
#include "fade.h"
#include "partialwindow.h"
#include "gridtransform.h"
#include "zoom.h"
#include "multi.h"
// ratio of perceived length of animation compared to real duration
// to make it appear to have the same speed with other animation effects
#endif
|