aboutsummaryrefslogtreecommitdiff
path: root/src/animate.h
blob: 3f8d4a63f45c5596f243edbe315f0cc567cab6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef COMET_ANIMATE_H
#define COMET_ANIMATE_H

typedef struct {
    enum {
        ANIM_SHINE,
    } type;
	GSourceFunc handler;
} Animation;

double quadratic_bezier(double x, double a, double b, double c);

double cubic_bezier(double x, double a, double b, double c, double d);

Animation *animation_create();

void animation_destroy(Animation *anim);

#endif

// vim: ts=4 sw=4 et