diff mcabber/src/hbuf.h @ 1204:e802ec0c02d2

Basic support for nick highlighting in MUC rooms (the whole line is colored)
author Mikael Berthe <mikael@lilotux.net>
date Sat, 28 Apr 2007 21:52:57 +0200
parents 5be2408a6534
children 79c396678f1b
line wrap: on
line diff
--- a/mcabber/src/hbuf.h	Sat Apr 28 12:16:45 2007 +0200
+++ b/mcabber/src/hbuf.h	Sat Apr 28 21:52:57 2007 +0200
@@ -14,17 +14,18 @@
 #define HBB_FLAG_ALLOC      1
 #define HBB_FLAG_PERSISTENT 2
 
-#define HBB_PREFIX_IN          1U
-#define HBB_PREFIX_OUT         2U
-#define HBB_PREFIX_STATUS      4U
-#define HBB_PREFIX_AUTH        8U
-#define HBB_PREFIX_INFO       16U
-#define HBB_PREFIX_ERR        32U
-#define HBB_PREFIX_NOFLAG     64U
-#define HBB_PREFIX_HLIGHT    128U
-#define HBB_PREFIX_NONE      256U
-#define HBB_PREFIX_SPECIAL   512U
-#define HBB_PREFIX_PGPCRYPT 1024U
+#define HBB_PREFIX_IN         (1U<<0)
+#define HBB_PREFIX_OUT        (1U<<1)
+#define HBB_PREFIX_STATUS     (1U<<2)
+#define HBB_PREFIX_AUTH       (1U<<3)
+#define HBB_PREFIX_INFO       (1U<<4)
+#define HBB_PREFIX_ERR        (1U<<5)
+#define HBB_PREFIX_NOFLAG     (1U<<6)
+#define HBB_PREFIX_HLIGHT_OUT (1U<<7)
+#define HBB_PREFIX_HLIGHT     (1U<<8)
+#define HBB_PREFIX_NONE       (1U<<9)
+#define HBB_PREFIX_SPECIAL    (1U<<10)
+#define HBB_PREFIX_PGPCRYPT   (1U<<11)
 
 typedef struct {
   time_t timestamp;