From 89bd1cb350d03bbe312f6a1c94984e45540c5826 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sat, 19 Jan 2019 19:39:38 -0800 Subject: Authentication now works --- src/render.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render.h') diff --git a/src/render.h b/src/render.h index 5d387e6..902763d 100644 --- a/src/render.h +++ b/src/render.h @@ -6,6 +6,8 @@ #pragma once +#include "auth.h" + #include #include #include @@ -25,12 +27,17 @@ typedef struct { int canvas_width; int canvas_height; + bool input_allowed; bool cursor_animating; double cursor_opacity; double cursor_fade_direction; + bool is_authenticated; + const char *password_prompt; char *password_buffer; size_t password_buffer_len; + + struct auth_handle_t *auth_handle; } saver_state_t; // The purple sidebar -- cgit v1.3-2-g11bf