1 /* $Id: color.h 2392 2007-09-07 22:41:40Z kuhlmann $ */
2 
3 #ifndef CLIMM_COLOR_H
4 #define CLIMM_COLOR_H
5 
6 #define ESC "\x1b"
7 #define ESCC '\x1b'
8 
9 #define BLACK           ESC "[0;30m"
10 #define RED             ESC "[0;31m"
11 #define GREEN           ESC "[0;32m"
12 #define YELLOW          ESC "[0;33m"
13 #define BLUE            ESC "[0;34m"
14 #define MAGENTA         ESC "[0;35m"
15 #define CYAN            ESC "[0;36m"
16 #define WHITE           ESC "[0;37m"
17 #define SGR0            ESC "[0m"
18 #define BOLD            ESC "[1m"
19 #define UL              ESC "[4m"
20 #define INV             ESC "[7m"
21 
22 #define COLNONE         ContactPrefStr (NULL, CO_COLORNONE)
23 #define COLSERVER       ContactPrefStr (NULL, CO_COLORSERVER)
24 #define COLCLIENT       ContactPrefStr (NULL, CO_COLORCLIENT)
25 #define COLINVCHAR      ContactPrefStr (NULL, CO_COLORINVCHAR)
26 #define COLERROR        ContactPrefStr (NULL, CO_COLORERROR)
27 #define COLDEBUG        ContactPrefStr (NULL, CO_COLORDEBUG)
28 #define COLQUOTE        ContactPrefStr (NULL, CO_COLORQUOTE)
29 #define COLMESSAGE      ContactPrefStr (cont, CO_COLORMESSAGE)
30 #define COLSENT         ContactPrefStr (cont, CO_COLORSENT)
31 #define COLACK          ContactPrefStr (cont, CO_COLORACK)
32 #define COLINCOMING     ContactPrefStr (cont, CO_COLORINCOMING)
33 #define COLCONTACT      ContactPrefStr (cont, CO_COLORCONTACT)
34 
35 #define COLINDENT       ESC "v"
36 #define COLEXDENT       ESC "^"
37 #define COLMSGINDENT    ESC "<"
38 #define COLMSGEXDENT    ESC ">"
39 #define COLSINGLE       ESC "."
40 
41 #endif
42