summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-01-18 18:59:34 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-01-18 18:59:34 +0000
commit10f0236ea9dbc515422a3a6adb8ff31d3324d8bc (patch)
treee3ff742ce69c1309840d9a5603f2bd6b93eb5c6e /src/common/weeconfig.c
parent6d7afb96c1dab3004f28de0b92b2e6c27e72419b (diff)
downloadweechat-10f0236ea9dbc515422a3a6adb8ff31d3324d8bc.zip
Added info bar
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r--src/common/weeconfig.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index 8932a1417..8dde9f24a 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -73,6 +73,7 @@ int cfg_look_nickmode;
int cfg_look_nickmode_empty;
char *cfg_look_no_nickname;
char *cfg_look_completor;
+int cfg_look_infobar;
t_config_option weechat_options_look[] =
{ { "look_set_title", N_("set title for terminal window (curses GUI) with name & version"),
@@ -137,6 +138,10 @@ t_config_option weechat_options_look[] =
N_("the string inserted after nick completion"),
OPTION_TYPE_STRING, 0, 0, 0,
":", NULL, NULL, &cfg_look_completor, NULL },
+ { "look_infobar", N_("enable info bar"),
+ N_("enable info bar"),
+ OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE,
+ NULL, NULL, &cfg_look_infobar, NULL, NULL },
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL }
};
@@ -161,6 +166,8 @@ int cfg_col_status_data_msg;
int cfg_col_status_data_other;
int cfg_col_status_more;
int cfg_col_status_bg;
+int cfg_col_infobar;
+int cfg_col_infobar_bg;
int cfg_col_input;
int cfg_col_input_channel;
int cfg_col_input_nick;
@@ -256,6 +263,16 @@ t_config_option weechat_options_colors[] =
N_("background for status window"),
OPTION_TYPE_COLOR, 0, 0, 0,
"blue", NULL, &cfg_col_status_bg, NULL, NULL },
+
+ /* infobar window */
+ { "col_infobar", N_("color for info bar text"),
+ N_("color for info bar text"),
+ OPTION_TYPE_COLOR, 0, 0, 0,
+ "gray", NULL, &cfg_col_infobar, NULL, NULL },
+ { "col_infobar_bg", N_("background for info bar window"),
+ N_("background for info bar window"),
+ OPTION_TYPE_COLOR, 0, 0, 0,
+ "blue", NULL, &cfg_col_infobar_bg, NULL, NULL },
/* input window */
{ "col_input", N_("color for input text"),