repo.or.cz
/
pmc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Drop -Werror
[pmc.git]
/
color.h
blob
188a83f25ee2d70fccac4f86de60d8b4c0315716
1
#ifndef _COLOR_H
2
#define _COLOR_H
3
4
typedef
enum
{
5
C_BLACK
=
0
,
6
C_RED
=
1
,
7
C_GREEN
=
2
,
8
C_YELLOW
=
3
,
9
C_BLUE
=
4
,
10
C_MAGENTA
=
5
,
11
C_CYAN
=
6
,
12
C_WHITE
=
7
13
}
pmc_color_t
;
14
15
#define C_COLORMIN C_BLACK
16
#define C_COLORMAX C_WHITE
17
18
#define BG(x) ((short)((x<<3)&(0x38)))
19
20
void
pmc_init_color
(
void
);
21
22
#endif