From d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Tue, 5 Sep 2017 09:29:17 +0200 Subject: Make the day heading position configurable The date at the top of the appointments list may be positioned either to the left, in the middle or to the right. Default is to the right. Can be configured from the general options menu. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/calcurse.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 133b6b9..2707305 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -249,6 +249,12 @@ enum win { NBWINS }; +enum pos { + LEFT, + CENTER, + RIGHT +}; + /* General configuration variables. */ struct conf { unsigned auto_save; @@ -265,6 +271,7 @@ struct conf { const char *mergetool; char output_datefmt[BUFSIZ]; /* format for displaying date */ int input_datefmt; /* format for reading date */ + enum pos heading_pos; /* left/center/right for heading in appts panel */ char day_heading[BUFSIZ]; /* format for displaying heading in appts panel */ }; -- cgit v1.2.3-54-g00ecf