87 |
char *cfg_look_infobar_timestamp; |
char *cfg_look_infobar_timestamp; |
88 |
int cfg_look_infobar_seconds; |
int cfg_look_infobar_seconds; |
89 |
int cfg_look_infobar_delay_highlight; |
int cfg_look_infobar_delay_highlight; |
90 |
|
int cfg_look_hotlist_names_count; |
91 |
|
int cfg_look_hotlist_names_level; |
92 |
|
int cfg_look_hotlist_names_length; |
93 |
|
|
94 |
t_config_option weechat_options_look[] = |
t_config_option weechat_options_look[] = |
95 |
{ { "look_set_title", N_("set title for window (terminal for Curses GUI) with name & version"), |
{ { "look_set_title", N_("set title for window (terminal for Curses GUI) with name & version"), |
150 |
"right", cfg_look_nicklist_position_values, &cfg_look_nicklist_position, NULL, config_change_buffers }, |
"right", cfg_look_nicklist_position_values, &cfg_look_nicklist_position, NULL, config_change_buffers }, |
151 |
{ "look_nicklist_min_size", N_("min size for nicklist"), |
{ "look_nicklist_min_size", N_("min size for nicklist"), |
152 |
N_("min size for nicklist (width or height, depending on look_nicklist_position " |
N_("min size for nicklist (width or height, depending on look_nicklist_position " |
153 |
"(0 = no min size))"), |
"(0 = no min size))"), |
154 |
OPTION_TYPE_INT, 0, 100, 0, |
OPTION_TYPE_INT, 0, 100, 0, |
155 |
NULL, NULL, &cfg_look_nicklist_min_size, NULL, config_change_buffers }, |
NULL, NULL, &cfg_look_nicklist_min_size, NULL, config_change_buffers }, |
156 |
{ "look_nicklist_max_size", N_("max size for nicklist"), |
{ "look_nicklist_max_size", N_("max size for nicklist"), |
157 |
N_("max size for nicklist (width or height, depending on look_nicklist_position " |
N_("max size for nicklist (width or height, depending on look_nicklist_position " |
158 |
"(0 = no max size; if min == max and > 0, then size is fixed))"), |
"(0 = no max size; if min == max and > 0, then size is fixed))"), |
159 |
OPTION_TYPE_INT, 0, 100, 0, |
OPTION_TYPE_INT, 0, 100, 0, |
160 |
NULL, NULL, &cfg_look_nicklist_max_size, NULL, config_change_buffers }, |
NULL, NULL, &cfg_look_nicklist_max_size, NULL, config_change_buffers }, |
161 |
{ "look_no_nickname", N_("text to display instead of nick when not connected"), |
{ "look_no_nickname", N_("text to display instead of nick when not connected"), |
188 |
NULL, NULL, &cfg_look_infobar_seconds, NULL, config_change_buffer_content }, |
NULL, NULL, &cfg_look_infobar_seconds, NULL, config_change_buffer_content }, |
189 |
{ "look_infobar_delay_highlight", N_("delay (in seconds) for highlight messages in infobar"), |
{ "look_infobar_delay_highlight", N_("delay (in seconds) for highlight messages in infobar"), |
190 |
N_("delay (in seconds) for highlight messages in infobar " |
N_("delay (in seconds) for highlight messages in infobar " |
191 |
"(0 = disable highlight notifications in infobar)"), |
"(0 = disable highlight notifications in infobar)"), |
192 |
OPTION_TYPE_INT, 0, INT_MAX, 7, |
OPTION_TYPE_INT, 0, INT_MAX, 7, |
193 |
NULL, NULL, &cfg_look_infobar_delay_highlight, NULL, config_change_noop }, |
NULL, NULL, &cfg_look_infobar_delay_highlight, NULL, config_change_noop }, |
194 |
|
{ "look_hotlist_names_count", N_("max number of names in hotlist"), |
195 |
|
N_("max number of names in hotlist (0 = no name displayed, only buffer numbers)"), |
196 |
|
OPTION_TYPE_INT, 0, 32, 3, |
197 |
|
NULL, NULL, &cfg_look_hotlist_names_count, NULL, config_change_buffer_content }, |
198 |
|
{ "look_hotlist_names_level", N_("level for displaying names in hotlist"), |
199 |
|
N_("level for displaying names in hotlist (combination of: 1=join/part, 2=message, " |
200 |
|
"4=private, 8=highlight, for example: 12=private+highlight)"), |
201 |
|
OPTION_TYPE_INT, 1, 15, 12, |
202 |
|
NULL, NULL, &cfg_look_hotlist_names_level, NULL, config_change_buffer_content }, |
203 |
|
{ "look_hotlist_names_length", N_("max length of names in hotlist"), |
204 |
|
N_("max length of names in hotlist (0 = no limit)"), |
205 |
|
OPTION_TYPE_INT, 0, 32, 0, |
206 |
|
NULL, NULL, &cfg_look_hotlist_names_length, NULL, config_change_buffer_content }, |
207 |
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } |
{ NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } |
208 |
}; |
}; |
209 |
|
|