diff options
author | James Magahern <james@magahern.com> | 2019-01-20 19:05:51 -0800 |
---|---|---|
committer | James Magahern <james@magahern.com> | 2019-01-20 19:05:51 -0800 |
commit | a6cc194e6e8a6df417c890589c54d1e6b1966875 (patch) | |
tree | fd6280196756fe14c2ea0dd7abe91b5b6dcf00be /src/render.h | |
parent | Fade out password (diff) |
Red flash animation on bad password
Diffstat (limited to 'src/render.h')
-rw-r--r-- | src/render.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h index 4520b3e..137470d 100644 --- a/src/render.h +++ b/src/render.h @@ -24,6 +24,8 @@ typedef struct { PangoLayout *pango_layout; PangoFontDescription *status_font; + double background_redshift; + RsvgHandle *logo_svg_handle; double logo_fill_progress; @@ -55,6 +57,9 @@ void schedule_animation(saver_state_t *state, animation_t anim); // Update all running animations void update_animations(saver_state_t *state); +// Background +void draw_background(saver_state_t *state); + // The purple sidebar void draw_logo(saver_state_t *state); |