Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hbuf.h @ 850:d0781ca2dd08
Use new status buffer window
Update scr_LogPrint() to use the new status buffer.
Introduce HBB_PREFIX_SPECIAL flag which changes the prefix field in the
special buffers.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 08 May 2006 23:46:42 +0200 |
parents | e1b7f71b0b1c |
children | 527d6f234924 |
comparison
equal
deleted
inserted
replaced
849:42c43a88d823 | 850:d0781ca2dd08 |
---|---|
21 #define HBB_PREFIX_INFO 16 | 21 #define HBB_PREFIX_INFO 16 |
22 #define HBB_PREFIX_ERR 32 | 22 #define HBB_PREFIX_ERR 32 |
23 #define HBB_PREFIX_NOFLAG 64 | 23 #define HBB_PREFIX_NOFLAG 64 |
24 #define HBB_PREFIX_HLIGHT 128 | 24 #define HBB_PREFIX_HLIGHT 128 |
25 #define HBB_PREFIX_NONE 256 | 25 #define HBB_PREFIX_NONE 256 |
26 #define HBB_PREFIX_SPECIAL 512 | |
26 | 27 |
27 typedef struct { | 28 typedef struct { |
28 time_t timestamp; | 29 time_t timestamp; |
29 guchar flags; | 30 guint flags; |
30 char *text; | 31 char *text; |
31 } hbb_line; | 32 } hbb_line; |
32 | 33 |
33 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp, | 34 void hbuf_add_line(GList **p_hbuf, const char *text, time_t timestamp, |
34 guint prefix_flags, guint width); | 35 guint prefix_flags, guint width); |