aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
index 5bc7016..27b917f 100644
--- a/src/render.h
+++ b/src/render.h
@@ -18,6 +18,7 @@
#define kMaxAnimations 32
#define kMaxPasswordLength 128
#define kMaxPromptLength 128
+#define kMaxPromptLength 128
#define kMaxTimers 16
typedef unsigned animation_key_t;
@@ -28,6 +29,7 @@ typedef enum {
LAYER_PROMPT = 1 << 1,
LAYER_LOGO = 1 << 2,
LAYER_PASSWORD = 1 << 3,
+ LAYER_DATE = 1 << 4,
} layer_type_t;
@@ -67,6 +69,8 @@ typedef struct {
RsvgHandle *spinner_svg_handle;
animation_key_t spinner_anim_key;
+ char date_prompt[kMaxPromptLength];
+
char password_prompt[kMaxPromptLength];
char password_buffer[kMaxPasswordLength];
double password_opacity;