-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpcolor.h
44 lines (41 loc) · 1.21 KB
/
pcolor.h
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
39
40
41
42
43
44
/*
* Author : Hugo Torres <[email protected]>
* License : BSD 2-Clause
* Date : 2020/10/11
*
* Description: Simple library for coloring C programs at the windows prompt.
*/
#define BACK_BLACK 0
#define BACK_BLUE 16
#define BACK_GREEN 32
#define BACK_AQUA 48
#define BACK_RED 64
#define BACK_PURPLE 80
#define BACK_YELLOW 96
#define BACK_WHITE 112
#define BACK_GRAY 128
#define BACK_LIGHT_BLUE 144
#define BACK_LIGHT_GREEN 160
#define BACK_LIGHT_AQUA 176
#define BACK_LIGHT_RED 192
#define BACK_LIGHT_PURPLE 208
#define BACK_LIGHT_YELLOW 224
#define BACK_LIGHT_WHITE 240
#define FONT_BLACK 0
#define FONT_BLUE 1
#define FONT_GREEN 2
#define FONT_AQUA 3
#define FONT_RED 4
#define FONT_PURPLE 5
#define FONT_YELLOW 6
#define FONT_WHITE 7
#define FONT_GRAY 8
#define FONT_LIGHT_BLUE 9
#define FONT_LIGHT_GREEN 10
#define FONT_LIGHT_AQUA 11
#define FONT_LIGHT_RED 12
#define FONT_LIGHT_PURPLE 13
#define FONT_LIGHT_YELLOW 14
#define FONT_LIGHT_WHITE 15
// function declaration
void pprint(char *, int, int);