aboutsummaryrefslogtreecommitdiffstats
path: root/visualizer.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-04-24 15:45:52 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-04-24 15:45:52 +0300
commit444132edd056cd52a60e3551d1f6c1a07909c040 (patch)
tree92f6a79294d104053b7709a4d424d90f45afb10b /visualizer.h
parent0e0488623e8d8820a909a48a6c847866a65bf845 (diff)
downloadfirmware-444132edd056cd52a60e3551d1f6c1a07909c040.tar.gz
firmware-444132edd056cd52a60e3551d1f6c1a07909c040.tar.bz2
firmware-444132edd056cd52a60e3551d1f6c1a07909c040.zip
Add last and first update of frame for anims
Diffstat (limited to 'visualizer.h')
-rw-r--r--visualizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/visualizer.h b/visualizer.h
index 6a72fde1f..82d7a71d3 100644
--- a/visualizer.h
+++ b/visualizer.h
@@ -95,6 +95,8 @@ typedef struct keyframe_animation_t {
// keyframe update functions
int current_frame;
int time_left_in_frame;
+ bool first_update_of_frame;
+ bool last_update_of_frame;
bool need_update;
} keyframe_animation_t;