summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-19 15:19:13 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-21 17:56:39 +0200
commit1355bad2644230b9760e62333dc4a7b72c5fb1a9 (patch)
treeb60aa2d7bada81b42977e38d5415cf081b0f1ad0 /src/calcurse.h
parente5dee68dcf318b58a3339250ae63fa5f26cdf790 (diff)
downloadcalcurse-1355bad2644230b9760e62333dc4a7b72c5fb1a9.zip
Declare foreground and background variables global
Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 2 insertions, 1 deletions
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];