summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-21 19:30:25 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-21 19:30:25 +0000
commit7b9ad07e9f69c0659bb6c7a38b3c54c55673c437 (patch)
treef11857c8dfcbeca3a3256a1f0fa5add08a7c0a60 /src
parentf33034788ca35078a26f79899f39e935b1cc294e (diff)
downloadcalcurse-7b9ad07e9f69c0659bb6c7a38b3c54c55673c437.zip
STATUSHEIGHT define added and vars_init() prototype added
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vars.h30
1 files changed, 17 insertions, 13 deletions
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 */