aboutsummaryrefslogtreecommitdiff
path: root/src/animate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animate.h')
-rw-r--r--src/animate.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/animate.h b/src/animate.h
new file mode 100644
index 0000000..3f8d4a6
--- /dev/null
+++ b/src/animate.h
@@ -0,0 +1,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