diff mcabber/src/screen.h @ 1292:382ec54b584e

Muc nick coloring functionality
author Michal 'vorner' Vaner <vorner@ucw.cz>
date Tue, 28 Aug 2007 10:11:39 +0200
parents e42f48103609
children 0dda8238af21
line wrap: on
line diff
--- a/mcabber/src/screen.h	Sun Aug 26 22:23:30 2007 +0200
+++ b/mcabber/src/screen.h	Tue Aug 28 10:11:39 2007 +0200
@@ -92,6 +92,13 @@
   } mcode;
 } keycode;
 
+typedef enum {
+  MC_ALL,
+  MC_PRESET,
+  MC_OFF,
+  MC_REMOVE
+} muccoltype;
+
 void scr_init_bindings(void);
 
 void scr_Getch(keycode *kcode);
@@ -156,6 +163,8 @@
 void scr_BufferScrollUpDown(int updown, unsigned int nblines);
 bool scr_RosterColor(const char *status, const char *wildcard, const char *color);
 void scr_RosterClearColor(void);
+void scr_MucColor(const char *muc, muccoltype type);
+void scr_MucNickColor(const char *nick, const char *color);
 
 #ifdef DEBUG_ENABLE
 void scr_BufferList(void);