From 61534576781c256c6e06944dd471e79b582518ce Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 15 Sep 2006 15:37:45 +0000 Subject: nbar_s structure created to store notify-bar settings --- src/vars.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/vars.h') diff --git a/src/vars.h b/src/vars.h index 12dc6a6..92cee1a 100755 --- a/src/vars.h +++ b/src/vars.h @@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.3 2006/09/11 13:12:32 culot Exp $ */ +/* $calcurse: vars.h,v 1.4 2006/09/15 15:37:45 culot Exp $ */ /* * Calcurse - text-based organizer @@ -28,6 +28,7 @@ #define CALCURSE_VARS_H #include +#include #include #define DIR_NAME ".calcurse" @@ -57,6 +58,14 @@ struct pad_s { WINDOW *ptrwin; /* pointer to the pad window */ }; +struct nbar_s { + int show; /* display or hide the notify-bar */ + int cntdwn; /* warn when time left before next app < cntdwn */ + char *datefmt; /* format for displaying date */ + char *timefmt; /* format for displaying time */ + pthread_mutex_t mutex; +}; + extern int col, row; extern bool colorize; extern int days[12]; @@ -68,5 +77,6 @@ extern char path_apts[MAX_LENGTH]; extern char path_conf[MAX_LENGTH]; extern WINDOW *awin, *cwin, *twin, *swin; extern struct pad_s *apad; +extern struct nbar_s *nbar; #endif /* CALCURSE_VARS_H */ -- cgit v1.2.3-54-g00ecf