comparison 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
comparison
equal deleted inserted replaced
1291:9f64f548ac16 1292:382ec54b584e
90 MKEY_CTRL_SHIFT_HOME, 90 MKEY_CTRL_SHIFT_HOME,
91 MKEY_CTRL_SHIFT_END 91 MKEY_CTRL_SHIFT_END
92 } mcode; 92 } mcode;
93 } keycode; 93 } keycode;
94 94
95 typedef enum {
96 MC_ALL,
97 MC_PRESET,
98 MC_OFF,
99 MC_REMOVE
100 } muccoltype;
101
95 void scr_init_bindings(void); 102 void scr_init_bindings(void);
96 103
97 void scr_Getch(keycode *kcode); 104 void scr_Getch(keycode *kcode);
98 int process_key(keycode kcode); 105 int process_key(keycode kcode);
99 106
154 void scr_RosterUnreadMessage(int); 161 void scr_RosterUnreadMessage(int);
155 void scr_RosterJumpAlternate(void); 162 void scr_RosterJumpAlternate(void);
156 void scr_BufferScrollUpDown(int updown, unsigned int nblines); 163 void scr_BufferScrollUpDown(int updown, unsigned int nblines);
157 bool scr_RosterColor(const char *status, const char *wildcard, const char *color); 164 bool scr_RosterColor(const char *status, const char *wildcard, const char *color);
158 void scr_RosterClearColor(void); 165 void scr_RosterClearColor(void);
166 void scr_MucColor(const char *muc, muccoltype type);
167 void scr_MucNickColor(const char *nick, const char *color);
159 168
160 #ifdef DEBUG_ENABLE 169 #ifdef DEBUG_ENABLE
161 void scr_BufferList(void); 170 void scr_BufferList(void);
162 #endif 171 #endif
163 172