diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-01 18:22:26 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-01 18:22:26 +0100 |
commit | 9222a7b109bf5c20ac60466cfc293dc462989bdf (patch) | |
tree | e9ddc3fb3cdc238083e1252deafb7f928b837192 /src/gui/gui-buffer.h | |
parent | cdbffe40da5f4fb23494b0464eea74ad1619a82b (diff) | |
download | weechat-9222a7b109bf5c20ac60466cfc293dc462989bdf.zip |
Added group support for nicklist, fixed some bugs in plugins API and IRC plugin
Added group support for nicklist (with subgroups).
Partial changes in IRC protocol functions (new arguments with argv and argv_eol).
Fixed some bugs:
- nicklist in plugins API
- problem in main loop with select() when SIGWINCH is received (terminal resize)
- bug in string explode function
- bug in infobar countdown.
Diffstat (limited to 'src/gui/gui-buffer.h')
-rw-r--r-- | src/gui/gui-buffer.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/gui-buffer.h b/src/gui/gui-buffer.h index 7ffb52e0e..a79fac3d7 100644 --- a/src/gui/gui-buffer.h +++ b/src/gui/gui-buffer.h @@ -73,15 +73,16 @@ struct t_gui_buffer struct t_gui_line *last_read_line; /* last read line before jump */ int lines_count; /* number of lines in the buffer */ int prefix_max_length; /* length for prefix align */ - int chat_refresh_needed; /* if refresh is needed (printf) */ + int chat_refresh_needed; /* refresh for chat is needed ? */ /* nicklist */ int nicklist; /* = 1 if nicklist is enabled */ - int nick_case_sensitive; /* nicks are case sensitive ? */ - struct t_gui_nick *nicks; /* pointer to nicks for nicklist */ - struct t_gui_nick *last_nick; /* last nick in nicklist */ - int nick_max_length; /* max length for a nick */ - int nicks_count; /* number of nicks on buffer */ + int nicklist_case_sensitive; /* nicks are case sensitive ? */ + struct t_gui_nick_group *nicklist_root; /* pointer to groups root */ + int nicklist_max_length; /* max length for a nick */ + int nicklist_display_groups; /* display groups ? */ + int nicklist_visible_count; /* number of nicks/groups to display */ + int nicklist_refresh_needed; /* refresh for nicklist is needed ? */ /* inupt */ int input; /* = 1 if input is enabled */ @@ -139,8 +140,8 @@ extern void gui_buffer_set_category (struct t_gui_buffer *buffer, extern void gui_buffer_set_name (struct t_gui_buffer *buffer, char *name); extern void gui_buffer_set_title (struct t_gui_buffer *buffer, char *new_title); extern void gui_buffer_set_nicklist (struct t_gui_buffer *buffer, int nicklist); -extern void gui_buffer_set_nick_case_sensitive (struct t_gui_buffer * buffer, - int nick_case_sensitive); +extern void gui_buffer_set_nicklist_case_sensitive (struct t_gui_buffer * buffer, + int case_sensitive); extern void gui_buffer_set_nick (struct t_gui_buffer *buffer, char *new_nick); extern void gui_buffer_set (struct t_gui_buffer *buffer, char *property, char *value); |