aboutsummaryrefslogtreecommitdiff
path: root/src/animate.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-17 14:55:36 +0100
committerFederico Angelilli <code@fedang.net>2024-03-17 15:01:59 +0100
commitabacdaccb6a1ef55bd85b66e10caaa217458400b (patch)
tree029e80b94670150064b74880add4c44e318a0ca3 /src/animate.h
parent8419a503313f4e734465b726f897833e094c91b3 (diff)
Add group shrink animation
Diffstat (limited to 'src/animate.h')
-rw-r--r--src/animate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/animate.h b/src/animate.h
index b296723..d153cda 100644
--- a/src/animate.h
+++ b/src/animate.h
@@ -15,6 +15,8 @@ struct Animation {
enum {
ANIM_SHINE,
ANIM_PULSE,
+ ANIM_GROUP_SHRINK,
+ //ANIM_GROUP_GROW,
} type;
gint64 start;
gint64 duration;
@@ -36,6 +38,8 @@ Animation *animation_shine_create(gint64 duration);
Animation *animation_pulse_create(gint64 duration);
+Animation *animation_group_shrink_create(gint64 duration);
+
void animation_destroy(Animation *anim);
#endif