Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
ColorMacros.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_COLORMACROS_H_
36
#define _BLAZE_UTIL_COLORMACROS_H_
37
38
39
//=================================================================================================
40
//
41
// COLOR MACRO SWITCH
42
//
43
//=================================================================================================
44
46
47
#define BLAZE_COLOR_OUTPUT 0
48
49
50
51
52
//=================================================================================================
53
//
54
// COLOR MACRO DEFINITIONS
55
//
56
//=================================================================================================
57
58
#if BLAZE_COLOR_OUTPUT
59
61
#define BLAZE_BLACK "\033[0;30m"
62
64
#define BLAZE_RED "\033[0;31m"
65
67
#define BLAZE_GREEN "\033[0;32m"
68
70
#define BLAZE_BROWN "\033[0;33m"
71
73
#define BLAZE_BLUE "\033[0;34m"
74
76
#define BLAZE_MAGENTA "\033[0;35m"
77
79
#define BLAZE_CYAN "\033[0;36m"
80
82
#define BLAZE_WHITE "\033[0;37m"
83
85
#define BLAZE_LIGHTBLACK "\033[1;30m"
86
88
#define BLAZE_LIGHTRED "\033[1;31m"
89
91
#define BLAZE_LIGHTGREEN "\033[1;32m"
92
94
#define BLAZE_YELLOW "\033[1;33m"
95
97
#define BLAZE_LIGHTBLUE "\033[1;34m"
98
100
#define BLAZE_LIGHTMAGENTA "\033[1;35m"
101
103
#define BLAZE_LIGHTCYAN "\033[1;36m"
104
106
#define BLAZE_LIGHTWHITE "\033[1;37m"
107
109
#define BLAZE_OLDCOLOR "\033[0m"
110
111
#else
112
114
#define BLAZE_BLACK ""
115
117
#define BLAZE_RED ""
118
120
#define BLAZE_GREEN ""
121
123
#define BLAZE_BROWN ""
124
126
#define BLAZE_BLUE ""
127
129
#define BLAZE_MAGENTA ""
130
132
#define BLAZE_CYAN ""
133
135
#define BLAZE_WHITE ""
136
138
#define BLAZE_LIGHTBLACK ""
139
141
#define BLAZE_LIGHTRED ""
142
144
#define BLAZE_LIGHTGREEN ""
145
147
#define BLAZE_YELLOW ""
148
150
#define BLAZE_LIGHTBLUE ""
151
153
#define BLAZE_LIGHTMAGENTA ""
154
156
#define BLAZE_LIGHTCYAN ""
157
159
#define BLAZE_LIGHTWHITE ""
160
162
#define BLAZE_OLDCOLOR ""
163
164
#endif
165
166
#endif
Generated by
1.18.0