comparison mcabber/src/hbuf.h @ 1290:e42f48103609

Drawing the MUC nicks by a different color (color is hardcoded to red, needs to be changed to something useable)
author Michal 'vorner' Vaner <vorner@ucw.cz>
date Sun, 26 Aug 2007 18:24:14 +0200
parents dbc907b2d92f
children 757ebe4df0b9
comparison
equal deleted inserted replaced
1289:57fe57474122 1290:e42f48103609
29 #define HBB_PREFIX_CONT (1U<<12) 29 #define HBB_PREFIX_CONT (1U<<12)
30 30
31 typedef struct { 31 typedef struct {
32 time_t timestamp; 32 time_t timestamp;
33 guint flags; 33 guint flags;
34 unsigned mucnicklen;
34 char *text; 35 char *text;
35 } hbb_line; 36 } hbb_line;
36 37
37 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp, 38 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp,
38 guint prefix_flags, guint width, guint maxhbufblocks); 39 guint prefix_flags, guint width, guint maxhbufblocks,
40 unsigned mucnicklen);
39 void hbuf_free(GList **p_hbuf); 41 void hbuf_free(GList **p_hbuf);
40 void hbuf_rebuild(GList **p_hbuf, unsigned int width); 42 void hbuf_rebuild(GList **p_hbuf, unsigned int width);
41 GList *hbuf_previous_persistent(GList *l_line); 43 GList *hbuf_previous_persistent(GList *l_line);
42 44
43 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n); 45 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n);