diff options
author | James Magahern <james@magahern.com> | 2019-01-20 20:57:52 -0800 |
---|---|---|
committer | James Magahern <james@magahern.com> | 2019-01-20 20:58:13 -0800 |
commit | 4b8abf88387a1bf732afd5c1a6abc5b8b486341c (patch) | |
tree | a50c6c6a6bcc51769c5b74c164488cf0f2115ae6 /src/animation.h | |
parent | Red flash animation on bad password (diff) |
Spinner animation and tweaks to memory management
Diffstat (limited to 'src/animation.h')
-rw-r--r-- | src/animation.h | 6 |
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 { |