diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-09-05 09:29:17 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-08 21:08:53 +0200 |
commit | d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da (patch) | |
tree | e57836c1d8f3847baaa90538f758475950914709 /src/calcurse.h | |
parent | 172efd71798a00469658b0f0e6fc730bac6fa5fe (diff) | |
download | calcurse-d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da.tar.gz calcurse-d20f9a5d2e5b9903f7412cdec9e1bf28a94d02da.zip |
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 <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ }; |