From 1355bad2644230b9760e62333dc4a7b72c5fb1a9 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 19 Jul 2011 15:19:13 +0200 Subject: Declare foreground and background variables global Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 7ba4a9b..a0af508 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -611,7 +611,7 @@ char *calendar_get_pom (time_t); void custom_init_attr (void); void custom_apply_attr (WINDOW *, int); void custom_remove_attr (WINDOW *, int); -void custom_load_conf (struct conf *, int); +void custom_load_conf (struct conf *); void custom_config_bar (void); void custom_layout_config (void); void custom_sidebar_config (void); @@ -892,6 +892,7 @@ void press_any_key (void); extern int col, row; extern int resize; extern unsigned colorize; +extern int foreground, background; extern enum ui_mode ui_mode; extern int days[12]; extern char *monthnames[12]; -- cgit v1.2.3-54-g00ecf