aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorJames Magahern <james@magahern.com>2019-01-19 19:39:38 -0800
committerJames Magahern <james@magahern.com>2019-01-19 19:39:54 -0800
commit89bd1cb350d03bbe312f6a1c94984e45540c5826 (patch)
tree833e03f40343aa5143daa1475cfe5905db428b7c /src/render.h
parentStart working on accept anim (diff)
Authentication now works
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h7
1 files changed, 7 insertions, 0 deletions
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 <cairo/cairo.h>
#include <cairo-xlib.h>
#include <librsvg/rsvg.h>
@@ -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