summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-11-16 13:36:25 +0000
committerPhil Jones <philj56@gmail.com>2022-11-16 13:36:25 +0000
commitca75d29bd2208ea7e2f5ccdb2b146953419be9b2 (patch)
treeaf56f7530f756a4d7ed96ca37a1d35bdceb83f7c /src/entry.h
parent25c0035ed0614ae334ae034ee90d7898c15e779f (diff)
Add placeholder text options.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h
index caf8c00..335cba2 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -58,6 +58,7 @@ struct entry {
uint32_t font_size;
char font_name[MAX_FONT_NAME_LENGTH];
char prompt_text[MAX_PROMPT_LENGTH];
+ char placeholder_text[MAX_PROMPT_LENGTH];
uint32_t prompt_padding;
uint32_t corner_radius;
uint32_t padding_top;
@@ -74,6 +75,7 @@ struct entry {
uint32_t outline_width;
struct color foreground_color;
struct color background_color;
+ struct color placeholder_color;
struct color selection_highlight_color;
struct color selection_foreground_color;
struct color selection_background_color;