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>
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user