teditor
1.8.0@@fee5e94
Terminal based editor written in C++
src
core
def_colors.h
Go to the documentation of this file.
1
2
// https://jonasjacek.github.io/colors/
3
#define DEF_COLOR(type, val) \
4
static const color_t Color_ ## type = val; \
5
static const ColorHelper::Registrar RegColor_ ## type(#type, Color_ ## type)
6
7
DEF_COLOR
(Black, 0);
8
DEF_COLOR
(Maroon, 1);
9
DEF_COLOR
(Green, 2);
10
DEF_COLOR
(Olive, 3);
11
DEF_COLOR
(Navy, 4);
12
DEF_COLOR
(Purple, 5);
13
DEF_COLOR
(Teal, 6);
14
DEF_COLOR
(Silver, 7);
15
DEF_COLOR
(Grey, 8);
16
DEF_COLOR
(Red, 9);
17
DEF_COLOR
(Lime, 10);
18
DEF_COLOR
(Yellow, 11);
19
DEF_COLOR
(Blue, 12);
20
DEF_COLOR
(Fuchsia, 13);
21
DEF_COLOR
(Aqua, 14);
22
DEF_COLOR
(White, 15);
23
DEF_COLOR
(Grey0, 16);
24
DEF_COLOR
(NavyBlue, 17);
25
DEF_COLOR
(DarkBlue, 18);
26
DEF_COLOR
(Blue3, 19);
27
//DEF_COLOR(Blue3, 20);
28
DEF_COLOR
(Blue1, 21);
29
DEF_COLOR
(DarkGreen, 22);
30
DEF_COLOR
(DeepSkyBlue4, 23);
31
//DEF_COLOR(DeepSkyBlue4, 24);
32
//DEF_COLOR(DeepSkyBlue4, 25);
33
DEF_COLOR
(DodgerBlue3, 26);
34
DEF_COLOR
(DodgerBlue2, 27);
35
DEF_COLOR
(Green4, 28);
36
DEF_COLOR
(SpringGreen4, 29);
37
DEF_COLOR
(Turquoise4, 30);
38
DEF_COLOR
(DeepSkyBlue3, 31);
39
//DEF_COLOR(DeepSkyBlue3, 32);
40
DEF_COLOR
(DodgerBlue1, 33);
41
DEF_COLOR
(Green3, 34);
42
DEF_COLOR
(SpringGreen3, 35);
43
DEF_COLOR
(DarkCyan, 36);
44
DEF_COLOR
(LightSeaGreen, 37);
45
DEF_COLOR
(DeepSkyBlue2, 38);
46
DEF_COLOR
(DeepSkyBlue1, 39);
47
//DEF_COLOR(Green3, 40);
48
//DEF_COLOR(SpringGreen3, 41);
49
DEF_COLOR
(SpringGreen2, 42);
50
DEF_COLOR
(Cyan3, 43);
51
DEF_COLOR
(DarkTurquoise, 44);
52
DEF_COLOR
(Turquoise2, 45);
53
DEF_COLOR
(Green1, 46);
54
//DEF_COLOR(SpringGreen2, 47);
55
DEF_COLOR
(SpringGreen1, 48);
56
DEF_COLOR
(MediumSpringGreen, 49);
57
DEF_COLOR
(Cyan2, 50);
58
DEF_COLOR
(Cyan1, 51);
59
DEF_COLOR
(DarkRed, 52);
60
DEF_COLOR
(DeepPink4, 53);
61
DEF_COLOR
(Purple4, 54);
62
//DEF_COLOR(Purple4, 55);
63
DEF_COLOR
(Purple3, 56);
64
DEF_COLOR
(BlueViolet, 57);
65
DEF_COLOR
(Orange4, 58);
66
DEF_COLOR
(Grey37, 59);
67
DEF_COLOR
(MediumPurple4, 60);
68
DEF_COLOR
(SlateBlue3, 61);
69
//DEF_COLOR(SlateBlue3, 62);
70
DEF_COLOR
(RoyalBlue1, 63);
71
DEF_COLOR
(Chartreuse4, 64);
72
DEF_COLOR
(DarkSeaGreen4, 65);
73
DEF_COLOR
(PaleTurquoise4, 66);
74
DEF_COLOR
(SteelBlue, 67);
75
DEF_COLOR
(SteelBlue3, 68);
76
DEF_COLOR
(CornflowerBlue, 69);
77
DEF_COLOR
(Chartreuse3, 70);
78
//DEF_COLOR(DarkSeaGreen4, 71);
79
DEF_COLOR
(CadetBlue, 72);
80
//DEF_COLOR(CadetBlue, 73);
81
DEF_COLOR
(SkyBlue3, 74);
82
//DEF_COLOR(SteelBlue1, 75);
83
//DEF_COLOR(Chartreuse3, 76);
84
DEF_COLOR
(PaleGreen3, 77);
85
DEF_COLOR
(SeaGreen3, 78);
86
DEF_COLOR
(Aquamarine3, 79);
87
DEF_COLOR
(MediumTurquoise, 80);
88
DEF_COLOR
(SteelBlue1, 81);
89
DEF_COLOR
(Chartreuse2, 82);
90
DEF_COLOR
(SeaGreen2, 83);
91
DEF_COLOR
(SeaGreen1, 84);
92
//DEF_COLOR(SeaGreen1, 85);
93
DEF_COLOR
(Aquamarine1, 86);
94
DEF_COLOR
(DarkSlateGray2, 87);
95
//DEF_COLOR(DarkRed, 88);
96
//DEF_COLOR(DeepPink4, 89);
97
DEF_COLOR
(DarkMagenta, 90);
98
//DEF_COLOR(DarkMagenta, 91);
99
DEF_COLOR
(DarkViolet, 92);
100
//DEF_COLOR(Purple, 93);
101
//DEF_COLOR(Orange4, 94);
102
DEF_COLOR
(LightPink4, 95);
103
DEF_COLOR
(Plum4, 96);
104
DEF_COLOR
(MediumPurple3, 97);
105
//DEF_COLOR(MediumPurple3, 98);
106
DEF_COLOR
(SlateBlue1, 99);
107
DEF_COLOR
(Yellow4, 100);
108
DEF_COLOR
(Wheat4, 101);
109
DEF_COLOR
(Grey53, 102);
110
DEF_COLOR
(LightSlateGrey, 103);
111
DEF_COLOR
(MediumPurple, 104);
112
DEF_COLOR
(LightSlateBlue, 105);
113
//DEF_COLOR(Yellow4, 106);
114
DEF_COLOR
(DarkOliveGreen3, 107);
115
DEF_COLOR
(DarkSeaGreen, 108);
116
DEF_COLOR
(LightSkyBlue3, 109);
117
//DEF_COLOR(LightSkyBlue3, 110);
118
DEF_COLOR
(SkyBlue2, 111);
119
//DEF_COLOR(Chartreuse2, 112);
120
//DEF_COLOR(DarkOliveGreen3, 113);
121
//DEF_COLOR(PaleGreen3, 114);
122
DEF_COLOR
(DarkSeaGreen3, 115);
123
DEF_COLOR
(DarkSlateGray3, 116);
124
DEF_COLOR
(SkyBlue1, 117);
125
DEF_COLOR
(Chartreuse1, 118);
126
DEF_COLOR
(LightGreen, 119);
127
//DEF_COLOR(LightGreen, 120);
128
DEF_COLOR
(PaleGreen1, 121);
129
//DEF_COLOR(Aquamarine1, 122);
130
DEF_COLOR
(DarkSlateGray1, 123);
131
DEF_COLOR
(Red3, 124);
132
//DEF_COLOR(DeepPink4, 125);
133
DEF_COLOR
(MediumVioletRed, 126);
134
DEF_COLOR
(Magenta3, 127);
135
//DEF_COLOR(DarkViolet, 128);
136
//DEF_COLOR(Purple, 129);
137
DEF_COLOR
(DarkOrange3, 130);
138
DEF_COLOR
(IndianRed, 131);
139
DEF_COLOR
(HotPink3, 132);
140
DEF_COLOR
(MediumOrchid3, 133);
141
DEF_COLOR
(MediumOrchid, 134);
142
DEF_COLOR
(MediumPurple2, 135);
143
DEF_COLOR
(DarkGoldenrod, 136);
144
DEF_COLOR
(LightSalmon3, 137);
145
DEF_COLOR
(RosyBrown, 138);
146
DEF_COLOR
(Grey63, 139);
147
//DEF_COLOR(MediumPurple2, 140);
148
DEF_COLOR
(MediumPurple1, 141);
149
DEF_COLOR
(Gold3, 142);
150
DEF_COLOR
(DarkKhaki, 143);
151
DEF_COLOR
(NavajoWhite3, 144);
152
DEF_COLOR
(Grey69, 145);
153
DEF_COLOR
(LightSteelBlue3, 146);
154
DEF_COLOR
(LightSteelBlue, 147);
155
DEF_COLOR
(Yellow3, 148);
156
//DEF_COLOR(DarkOliveGreen3, 149);
157
//DEF_COLOR(DarkSeaGreen3, 150);
158
DEF_COLOR
(DarkSeaGreen2, 151);
159
DEF_COLOR
(LightCyan3, 152);
160
DEF_COLOR
(LightSkyBlue1, 153);
161
DEF_COLOR
(GreenYellow, 154);
162
DEF_COLOR
(DarkOliveGreen2, 155);
163
//DEF_COLOR(PaleGreen1, 156);
164
//DEF_COLOR(DarkSeaGreen2, 157);
165
DEF_COLOR
(DarkSeaGreen1, 158);
166
DEF_COLOR
(PaleTurquoise1, 159);
167
//DEF_COLOR(Red3, 160);
168
DEF_COLOR
(DeepPink3, 161);
169
//DEF_COLOR(DeepPink3, 162);
170
//DEF_COLOR(Magenta3, 163);
171
//DEF_COLOR(Magenta3, 164);
172
DEF_COLOR
(Magenta2, 165);
173
//DEF_COLOR(DarkOrange3, 166);
174
//DEF_COLOR(IndianRed, 167);
175
//DEF_COLOR(HotPink3, 168);
176
DEF_COLOR
(HotPink2, 169);
177
DEF_COLOR
(Orchid, 170);
178
DEF_COLOR
(MediumOrchid1, 171);
179
DEF_COLOR
(Orange3, 172);
180
//DEF_COLOR(LightSalmon3, 173);
181
DEF_COLOR
(LightPink3, 174);
182
DEF_COLOR
(Pink3, 175);
183
DEF_COLOR
(Plum3, 176);
184
DEF_COLOR
(Violet, 177);
185
//DEF_COLOR(Gold3, 178);
186
DEF_COLOR
(LightGoldenrod3, 179);
187
DEF_COLOR
(Tan, 180);
188
DEF_COLOR
(MistyRose3, 181);
189
DEF_COLOR
(Thistle3, 182);
190
DEF_COLOR
(Plum2, 183);
191
//DEF_COLOR(Yellow3, 184);
192
DEF_COLOR
(Khaki3, 185);
193
DEF_COLOR
(LightGoldenrod2, 186);
194
DEF_COLOR
(LightYellow3, 187);
195
DEF_COLOR
(Grey84, 188);
196
DEF_COLOR
(LightSteelBlue1, 189);
197
DEF_COLOR
(Yellow2, 190);
198
DEF_COLOR
(DarkOliveGreen1, 191);
199
//DEF_COLOR(DarkOliveGreen1, 192);
200
//DEF_COLOR(DarkSeaGreen1, 193);
201
DEF_COLOR
(Honeydew2, 194);
202
DEF_COLOR
(LightCyan1, 195);
203
DEF_COLOR
(Red1, 196);
204
DEF_COLOR
(DeepPink2, 197);
205
DEF_COLOR
(DeepPink1, 198);
206
//DEF_COLOR(DeepPink1, 199);
207
//DEF_COLOR(Magenta2, 200);
208
DEF_COLOR
(Magenta1, 201);
209
DEF_COLOR
(OrangeRed1, 202);
210
DEF_COLOR
(IndianRed1, 203);
211
//DEF_COLOR(IndianRed1, 204);
212
DEF_COLOR
(HotPink, 205);
213
//DEF_COLOR(HotPink, 206);
214
//DEF_COLOR(MediumOrchid1, 207);
215
DEF_COLOR
(DarkOrange, 208);
216
DEF_COLOR
(Salmon1, 209);
217
DEF_COLOR
(LightCoral, 210);
218
DEF_COLOR
(PaleVioletRed1, 211);
219
DEF_COLOR
(Orchid2, 212);
220
DEF_COLOR
(Orchid1, 213);
221
DEF_COLOR
(Orange1, 214);
222
DEF_COLOR
(SandyBrown, 215);
223
DEF_COLOR
(LightSalmon1, 216);
224
DEF_COLOR
(LightPink1, 217);
225
DEF_COLOR
(Pink1, 218);
226
DEF_COLOR
(Plum1, 219);
227
DEF_COLOR
(Gold1, 220);
228
//DEF_COLOR(LightGoldenrod2, 221);
229
//DEF_COLOR(LightGoldenrod2, 222);
230
DEF_COLOR
(NavajoWhite1, 223);
231
DEF_COLOR
(MistyRose1, 224);
232
DEF_COLOR
(Thistle1, 225);
233
DEF_COLOR
(Yellow1, 226);
234
DEF_COLOR
(LightGoldenrod1, 227);
235
DEF_COLOR
(Khaki1, 228);
236
DEF_COLOR
(Wheat1, 229);
237
DEF_COLOR
(Cornsilk1, 230);
238
DEF_COLOR
(Grey100, 231);
239
DEF_COLOR
(Grey3, 232);
240
DEF_COLOR
(Grey7, 233);
241
DEF_COLOR
(Grey11, 234);
242
DEF_COLOR
(DarkestGray, 234);
243
DEF_COLOR
(Grey15, 235);
244
DEF_COLOR
(Grey19, 236);
245
DEF_COLOR
(DarkerGray, 236);
246
DEF_COLOR
(Grey23, 237);
247
DEF_COLOR
(Grey27, 238);
248
DEF_COLOR
(Grey30, 239);
249
DEF_COLOR
(Grey35, 240);
250
DEF_COLOR
(Grey39, 241);
251
DEF_COLOR
(DarkGray, 241);
252
DEF_COLOR
(Grey42, 242);
253
DEF_COLOR
(Grey46, 243);
254
DEF_COLOR
(Grey50, 244);
255
DEF_COLOR
(Grey54, 245);
256
DEF_COLOR
(Grey58, 246);
257
DEF_COLOR
(Grey62, 247);
258
DEF_COLOR
(Grey66, 248);
259
DEF_COLOR
(Grey70, 249);
260
DEF_COLOR
(Grey74, 250);
261
DEF_COLOR
(Grey78, 251);
262
DEF_COLOR
(LightGray, 251);
263
DEF_COLOR
(Grey82, 252);
264
DEF_COLOR
(Grey85, 253);
265
DEF_COLOR
(Grey89, 254);
266
DEF_COLOR
(LightestGray, 254);
267
DEF_COLOR
(Grey93, 255);
268
269
#undef DEF_COLOR
DEF_COLOR
#define DEF_COLOR(type, val)
Definition:
def_colors.h:3
teditor::str2num
int str2num(const std::string &str)
Definition:
utils.cpp:73
teditor::Option::getReal
float getReal() const
Definition:
option.h:49
command.h
DEF_OP
#define DEF_OP()
Definition:
command.h:55
teditor::cursor::ops::DEF_CMD
DEF_CMD(CursorDown, "cursor-down", "cursor_ops", DEF_OP() { ed.getBuff().down();})
teditor::Option::get
static Option & get(const std::string &n)
Definition:
option.cpp:40
option.h
editor.h
teditor
Definition:
any.hpp:10
Generated by
1.8.17