src
utils
colors.h
Go to the documentation of this file.
1
/*
2
* OpenVINS: An Open Platform for Visual-Inertial Research
3
* Copyright (C) 2018-2023 Patrick Geneva
4
* Copyright (C) 2018-2023 Guoquan Huang
5
* Copyright (C) 2018-2023 OpenVINS Contributors
6
* Copyright (C) 2018-2019 Kevin Eckenhoff
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <https://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef OV_CORE_COLOR_MACROS
23
#define OV_CORE_COLOR_MACROS
24
25
#define RESET "\033[0m"
26
#define BLACK "\033[30m"
/* Black */
27
#define RED "\033[31m"
/* Red */
28
#define GREEN "\033[32m"
/* Green */
29
#define YELLOW "\033[33m"
/* Yellow */
30
#define BLUE "\033[34m"
/* Blue */
31
#define MAGENTA "\033[35m"
/* Magenta */
32
#define CYAN "\033[36m"
/* Cyan */
33
#define WHITE "\033[37m"
/* White */
34
#define REDPURPLE "\033[95m"
/* Red Purple */
35
#define BOLDBLACK "\033[1m\033[30m"
/* Bold Black */
36
#define BOLDRED "\033[1m\033[31m"
/* Bold Red */
37
#define BOLDGREEN "\033[1m\033[32m"
/* Bold Green */
38
#define BOLDYELLOW "\033[1m\033[33m"
/* Bold Yellow */
39
#define BOLDBLUE "\033[1m\033[34m"
/* Bold Blue */
40
#define BOLDMAGENTA "\033[1m\033[35m"
/* Bold Magenta */
41
#define BOLDCYAN "\033[1m\033[36m"
/* Bold Cyan */
42
#define BOLDWHITE "\033[1m\033[37m"
/* Bold White */
43
#define BOLDREDPURPLE "\033[1m\033[95m"
/* Bold Red Purple */
44
45
#endif
/* OV_CORE_COLOR_MACROS */
ov_core
Author(s): Patrick Geneva
, Kevin Eckenhoff
, Guoquan Huang
autogenerated on Wed Jun 21 2023 03:05:36