Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
738:03db650f6015 | 739:0d5fb1d9077c |
---|---|
4 #include <ncurses.h> | 4 #include <ncurses.h> |
5 #include <glib.h> | 5 #include <glib.h> |
6 | 6 |
7 #include "logprint.h" | 7 #include "logprint.h" |
8 | 8 |
9 #define COLOR_GENERAL 3 | 9 enum colors { |
10 #define COLOR_HIGHLIGHT 4 | 10 COLOR_GENERAL = 3, |
11 #define COLOR_STATUS 5 | 11 COLOR_HIGHLIGHT, |
12 #define COLOR_ROSTER 6 | 12 COLOR_STATUS, |
13 #define COLOR_ROSTERSEL 7 | 13 COLOR_ROSTER, |
14 #define COLOR_ROSTERSELNMSG 8 | 14 COLOR_ROSTERSEL, |
15 #define COLOR_ROSTERNMSG 9 | 15 COLOR_ROSTERSELNMSG, |
16 COLOR_ROSTERNMSG, | |
17 COLOR_max | |
18 }; | |
19 | |
20 int COLOR_ATTRIB[COLOR_max]; | |
16 | 21 |
17 // Length of the timestamp & flag prefix in the chat buffer window | 22 // Length of the timestamp & flag prefix in the chat buffer window |
18 #define PREFIX_WIDTH 17 | 23 #define PREFIX_WIDTH 17 |
19 | 24 |
20 #define INPUTLINE_LENGTH 1024 | 25 #define INPUTLINE_LENGTH 1024 |