aboutsummaryrefslogtreecommitdiff
path: root/src/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation.h')
-rw-r--r--src/animation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/animation.h b/src/animation.h
index a74bb60..108fbe2 100644
--- a/src/animation.h
+++ b/src/animation.h
@@ -23,6 +23,7 @@ typedef enum {
ACursorAnimation,
ALogoAnimation,
ARedFlashAnimation,
+ ASpinnerAnimation,
} AnimationType;
typedef struct {
@@ -39,10 +40,15 @@ typedef struct {
unsigned flash_count;
} RedFlashAnimation;
+typedef struct {
+ double rotation;
+} SpinnerAnimation;
+
typedef union {
CursorAnimation cursor_anim;
LogoAnimation logo_anim;
RedFlashAnimation redflash_anim;
+ SpinnerAnimation spinner_anim;
} Animation;
typedef struct {