diff options
author | Phil Jones <philj56@gmail.com> | 2022-06-21 12:22:06 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-06-21 12:22:06 +0100 |
commit | 54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 (patch) | |
tree | 1f6074e47a2e0477b697bbcec2c52128bd652657 /src/entry.h | |
parent | c0cd4cdf78886040528b16fad084a14165a16384 (diff) |
Add various command line arguments.
There are too many really to use single-character args, so the next step
should be a config file.
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/entry.h b/src/entry.h index 95cab5d..f450daa 100644 --- a/src/entry.h +++ b/src/entry.h @@ -36,18 +36,21 @@ struct entry { struct history history; /* Options */ + bool horizontal; + uint32_t num_results; uint32_t font_size; const char *font_name; + const char *prompt_text; + uint32_t corner_radius; uint32_t padding; - uint32_t num_characters; - uint32_t num_lines; + int32_t result_padding; struct color foreground_color; struct color background_color; struct { struct color color; struct color outline_color; - int32_t width; - int32_t outline_width; + uint32_t width; + uint32_t outline_width; } border; }; |