File: ml_color.h

package info (click to toggle)
mlterm 2.9.4-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 16,728 kB
  • ctags: 5,338
  • sloc: ansic: 74,649; sh: 8,532; cpp: 1,451; makefile: 1,126; perl: 496; sed: 16
file content (38 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 *	$Id: ml_color.h,v 1.4 2004/12/07 03:37:00 h_minami Exp $
 */

#ifndef  __ML_COLOR_H__
#define  __ML_COLOR_H__


#define  MAX_COLORS     18
#define  MAX_VT_COLORS  16
#define  MAX_BASIC_VT_COLORS  8


typedef enum  ml_color
{
	ML_UNKNOWN_COLOR = -1 ,

	ML_BLACK = 0x0 ,
	ML_RED = 0x1 ,
	ML_GREEN = 0x2 ,
	ML_YELLOW = 0x3 ,
	ML_BLUE = 0x4 ,
	ML_MAGENTA = 0x5 ,
	ML_CYAN = 0x6 ,
	ML_WHITE = 0x7 ,

	ML_BOLD_COLOR_MASK = 0x8 ,
	
	ML_FG_COLOR = 0x10 ,
	ML_BG_COLOR = 0x11

} ml_color_t ;


char *  ml_get_color_name( ml_color_t  color) ;


#endif