Mercurial > ~mikael > mcabber > hg
diff mcabber/src/screen.h @ 739:0d5fb1d9077c
Allow "bright" text colors
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 10 Mar 2006 17:18:50 +0100 |
parents | e46c680bdd3d |
children | 4532a9fe0e8c |
line wrap: on
line diff
--- a/mcabber/src/screen.h Fri Mar 10 12:45:13 2006 +0100 +++ b/mcabber/src/screen.h Fri Mar 10 17:18:50 2006 +0100 @@ -6,13 +6,18 @@ #include "logprint.h" -#define COLOR_GENERAL 3 -#define COLOR_HIGHLIGHT 4 -#define COLOR_STATUS 5 -#define COLOR_ROSTER 6 -#define COLOR_ROSTERSEL 7 -#define COLOR_ROSTERSELNMSG 8 -#define COLOR_ROSTERNMSG 9 +enum colors { + COLOR_GENERAL = 3, + COLOR_HIGHLIGHT, + COLOR_STATUS, + COLOR_ROSTER, + COLOR_ROSTERSEL, + COLOR_ROSTERSELNMSG, + COLOR_ROSTERNMSG, + COLOR_max +}; + +int COLOR_ATTRIB[COLOR_max]; // Length of the timestamp & flag prefix in the chat buffer window #define PREFIX_WIDTH 17