From 7b9ad07e9f69c0659bb6c7a38b3c54c55673c437 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 21 Jul 2007 19:30:25 +0000 Subject: STATUSHEIGHT define added and vars_init() prototype added --- src/vars.h | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/vars.h b/src/vars.h index 6b19f7e..0eaa170 100755 --- a/src/vars.h +++ b/src/vars.h @@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.12 2007/07/20 19:09:07 culot Exp $ */ +/* $calcurse: vars.h,v 1.13 2007/07/21 19:30:25 culot Exp $ */ /* * Calcurse - text-based organizer @@ -51,6 +51,8 @@ #define HOURINSEC 3600 #define MININSEC 60 +#define STATUSHEIGHT 2 + enum window_e { CALENDAR, APPOINTMENT, @@ -96,17 +98,19 @@ typedef struct { int y; /* y position */ } window_t; -extern int col, row; -extern bool colorize; -extern int days[12]; -extern char *monthnames[12]; -extern char *daynames[8]; -extern char path_dir[BUFSIZ]; -extern char path_todo[BUFSIZ]; -extern char path_apts[BUFSIZ]; -extern char path_conf[BUFSIZ]; -extern WINDOW *awin, *cwin, *twin, *swin; -extern struct pad_s *apad; -extern struct nbar_s *nbar; +extern int col, row; +extern bool colorize; +extern int days[12]; +extern char *monthnames[12]; +extern char *daynames[8]; +extern char path_dir[BUFSIZ]; +extern char path_todo[BUFSIZ]; +extern char path_apts[BUFSIZ]; +extern char path_conf[BUFSIZ]; +extern WINDOW *awin, *cwin, *twin, *swin; +extern struct pad_s *apad; +extern struct nbar_s *nbar; + +void vars_init(conf_t *conf); #endif /* CALCURSE_VARS_H */ -- cgit v1.2.3-70-g09d2