aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
authorache <ache@ache.one>2022-11-06 22:48:23 +0100
committerache <ache@ache.one>2022-11-06 22:48:23 +0100
commit2f5efc821ba09d39d5f316bca32cbb71330c7315 (patch)
tree279f678e2378a82e7f15cf3d0d4689d33ce6431a /src/render.h
parentLocale set (diff)
Show date
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;