/[weechat]/weechat/src/gui/gui.h
ViewVC logotype

Diff of /weechat/src/gui/gui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33 by flashcode, Sun Feb 6 03:13:34 2005 UTC revision 1.34 by flashcode, Sat Feb 12 21:21:54 2005 UTC
# Line 80  Line 80 
80  #define MSG_TYPE_INFO      4  #define MSG_TYPE_INFO      4
81  #define MSG_TYPE_MSG       8  #define MSG_TYPE_MSG       8
82  #define MSG_TYPE_HIGHLIGHT 16  #define MSG_TYPE_HIGHLIGHT 16
83    #define MSG_TYPE_NOLOG     32
84    
85  #define gui_printf_color(buffer, color, fmt, argz...) \  #define gui_printf_color(buffer, color, fmt, argz...) \
86      gui_printf_color_type(buffer, MSG_TYPE_INFO, color, fmt, ##argz)      gui_printf_color_type(buffer, MSG_TYPE_INFO, color, fmt, ##argz)
# Line 87  Line 88 
88  #define gui_printf(buffer, fmt, argz...) \  #define gui_printf(buffer, fmt, argz...) \
89      gui_printf_color_type(buffer, MSG_TYPE_INFO, -1, fmt, ##argz)      gui_printf_color_type(buffer, MSG_TYPE_INFO, -1, fmt, ##argz)
90    
91    #define gui_printf_nolog(buffer, fmt, argz...) \
92        gui_printf_color_type(buffer, MSG_TYPE_INFO | MSG_TYPE_NOLOG, -1, fmt, ##argz)
93    
94  typedef struct t_gui_message t_gui_message;  typedef struct t_gui_message t_gui_message;
95    
96  struct t_gui_message  struct t_gui_message
# Line 104  struct t_gui_line Line 108  struct t_gui_line
108  {  {
109      int length;                     /* length of the line (in char)         */      int length;                     /* length of the line (in char)         */
110      int length_align;               /* alignment length (time or time/nick) */      int length_align;               /* alignment length (time or time/nick) */
111        int log_write;                  /* = 1 if line will be written to log   */
112      int line_with_message;          /* line contains a message from a user? */      int line_with_message;          /* line contains a message from a user? */
113      int line_with_highlight;        /* line contains highlight              */      int line_with_highlight;        /* line contains highlight              */
114      t_gui_message *messages;        /* messages for the line                */      t_gui_message *messages;        /* messages for the line                */

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26