forked from pedroconceicao/Othello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpcolor.h
50 lines (48 loc) · 737 Bytes
/
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
45
46
47
48
49
50
/**
*
@file pcolor.h
*
@brief Definitions for Text attributes and colors
*
*
*
@author Vitor Santos, vitor@ua.pt
*
*
@internal
*
Created Oct-2017
*
Company University of Aveiro
*
Copyright Copyright (c) 2017, Vitor Santos
*
*
=====================================================================================
*/
/**
* @Attributes
*/
#define RESET 0
#define BRIGHT 1
#define DIM 2
#define UNDERLINE 3
#define BLINK 4
#define REVERSE 7
#define HIDDEN 8
/**
* @Colors
*/
#define BLACK 0
#define RED 1
#define GREEN 2
#define YELLOW 3
#define BLUE 4
#define MAGENTA 5
#define CYAN 6
#define GRAY 7
#define WHITE 8
void textcolor(int attr, int fg, int bg);
void PrintRedLine(void);
void ResetTextColors(void);
void HighLightText(void);