Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.h @ 1272:033576acac4c
Add configurable roster colors (Michal 'vorner' Vaner)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 21 Aug 2007 20:49:03 +0200 |
parents | dbc907b2d92f |
children | c33b5b6fbf08 |
comparison
equal
deleted
inserted
replaced
1271:f8a874ff453a | 1272:033576acac4c |
---|---|
46 COLOR_ROSTERSEL, | 46 COLOR_ROSTERSEL, |
47 COLOR_ROSTERSELNMSG, | 47 COLOR_ROSTERSELNMSG, |
48 COLOR_ROSTERNMSG, | 48 COLOR_ROSTERNMSG, |
49 COLOR_INFO, | 49 COLOR_INFO, |
50 COLOR_MSGIN, | 50 COLOR_MSGIN, |
51 //Foreground color on usual backgroud | |
52 //curses do not allow telling color only -> | |
53 //needs colorpairs | |
54 COLOR_BLACK_FG, | |
55 COLOR_RED_FG, | |
56 COLOR_GREEN_FG, | |
57 COLOR_YELLOW_FG, | |
58 COLOR_BLUE_FG, | |
59 COLOR_MAGENTA_FG, | |
60 COLOR_CYAN_FG, | |
61 COLOR_WHITE_FG, | |
62 COLOR_BLACK_BOLD_FG, | |
63 COLOR_RED_BOLD_FG, | |
64 COLOR_GREEN_BOLD_FG, | |
65 COLOR_YELLOW_BOLD_FG, | |
66 COLOR_BLUE_BOLD_FG, | |
67 COLOR_MAGENTA_BOLD_FG, | |
68 COLOR_CYAN_BOLD_FG, | |
69 COLOR_WHITE_BOLD_FG, | |
51 COLOR_max | 70 COLOR_max |
52 }; | 71 }; |
53 | 72 |
54 int COLOR_ATTRIB[COLOR_max]; | 73 int COLOR_ATTRIB[COLOR_max]; |
55 | 74 |
137 void scr_BufferPercent(int pc); | 156 void scr_BufferPercent(int pc); |
138 void scr_BufferDate(time_t t); | 157 void scr_BufferDate(time_t t); |
139 void scr_RosterUnreadMessage(int); | 158 void scr_RosterUnreadMessage(int); |
140 void scr_RosterJumpAlternate(void); | 159 void scr_RosterJumpAlternate(void); |
141 void scr_BufferScrollUpDown(int updown, unsigned int nblines); | 160 void scr_BufferScrollUpDown(int updown, unsigned int nblines); |
161 bool scr_RosterColor(const char *status, const char *wildcard, const char *color); | |
162 void scr_RosterClearColor(void); | |
142 | 163 |
143 #ifdef DEBUG_ENABLE | 164 #ifdef DEBUG_ENABLE |
144 void scr_BufferList(void); | 165 void scr_BufferList(void); |
145 #endif | 166 #endif |
146 | 167 |