diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-27 02:40:11 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-27 02:40:11 +0000 |
commit | 3686d92cb5aa0676601f2e8ee6a2cea74e215bbd (patch) | |
tree | ea32bbf47f3d7944fcaa30d2294b27eab28d5e74 /src/gui/gui.h | |
parent | 64c33a829541791298486504e2c1ec451cf49508 (diff) | |
download | weechat-3686d92cb5aa0676601f2e8ee6a2cea74e215bbd.zip |
Added DCC CHAT (send & recv)
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 7c7ddbc6e..6885ecf3d 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -86,13 +86,16 @@ #define MSG_TYPE_NOLOG 64 #define gui_printf_color(buffer, color, fmt, argz...) \ - gui_printf_color_type(buffer, MSG_TYPE_INFO, color, fmt, ##argz) + gui_printf_type_color(buffer, MSG_TYPE_INFO, color, fmt, ##argz) + +#define gui_printf_type(buffer, type, fmt, argz...) \ + gui_printf_type_color(buffer, type, -1, fmt, ##argz) #define gui_printf(buffer, fmt, argz...) \ - gui_printf_color_type(buffer, MSG_TYPE_INFO, -1, fmt, ##argz) + gui_printf_type_color(buffer, MSG_TYPE_INFO, -1, fmt, ##argz) #define gui_printf_nolog(buffer, fmt, argz...) \ - gui_printf_color_type(buffer, MSG_TYPE_INFO | MSG_TYPE_NOLOG, -1, fmt, ##argz) + gui_printf_type_color(buffer, MSG_TYPE_INFO | MSG_TYPE_NOLOG, -1, fmt, ##argz) typedef struct t_gui_message t_gui_message; @@ -313,7 +316,7 @@ extern void gui_init_colors (); extern void gui_set_window_title (); extern void gui_init (); extern void gui_end (); -extern void gui_printf_color_type (/*@null@*/ t_gui_buffer *, int, int, char *, ...); +extern void gui_printf_type_color (/*@null@*/ t_gui_buffer *, int, int, char *, ...); extern void gui_main_loop (); #endif /* gui.h */ |