From 54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 21 Jun 2022 12:22:06 +0100 Subject: Add various command line arguments. There are too many really to use single-character args, so the next step should be a config file. --- src/entry.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/entry.h') 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; }; -- cgit v1.2.3