Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
console_colors.h
1
2
/***************************************************************************
3
* pipeline.h - This header defines a image processing pipeline for the
4
* front camera
5
*
6
* Generated: Wed Jun 15 16:30:22 2005 (from FireVision)
7
* Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
8
*
9
****************************************************************************/
10
11
/* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version. A runtime exception applies to
15
* this software (see LICENSE.GPL_WRE file mentioned below for details).
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU Library General Public License for more details.
21
*
22
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23
*/
24
25
#ifndef __UTILS_CONSOLE_COLORS_H_
26
#define __UTILS_CONSOLE_COLORS_H_
27
28
#include <string>
29
30
namespace
fawkes {
31
32
/** Print black on console. */
33
static
const
char
*
c_black
=
"\033[0;30m"
;
34
/** Print black on console. */
35
static
std::string
cblack
=
c_black
;
36
37
/** Print dark gray on console. */
38
static
const
char
*
c_darkgray
=
"\033[1;30m"
;
39
/** Print dark gray on console. */
40
static
std::string
cdarkgray
=
c_darkgray
;
41
42
/** Print red on console. */
43
static
const
char
*
c_red
=
"\033[0;31m"
;
44
/** Print red on console. */
45
static
std::string
cred
=
c_red
;
46
47
/** Print light red on console. */
48
static
const
char
*
c_lightred
=
"\033[1;31m"
;
49
/** Print light red on console. */
50
static
std::string
clightred
=
c_lightred
;
51
52
/** Print green on console. */
53
static
const
char
*
c_green
=
"\033[0;32m"
;
54
/** Print green on console. */
55
static
std::string
cgreen
=
c_green
;
56
57
/** Print light green on console. */
58
static
const
char
*
c_lightgreen
=
"\033[1;32m"
;
59
/** Print light green on console. */
60
static
std::string
clightgreen
=
c_lightgreen
;
61
62
/** Print brown on console. */
63
static
const
char
*
c_brown
=
"\033[0;33m"
;
64
/** Print brown on console. */
65
static
std::string
cbrown
=
c_brown
;
66
67
/** Print yellow on console. */
68
static
const
char
*
c_yellow
=
"\033[1;33m"
;
69
/** Print yellow on console. */
70
static
std::string
cyellow
=
c_yellow
;
71
72
/** Print blue on console. */
73
static
const
char
*
c_blue
=
"\033[0;34m"
;
74
/** Print blue on console. */
75
static
std::string
cblue
=
c_blue
;
76
77
/** Print light blue on console. */
78
static
const
char
*
c_lightblue
=
"\033[1;34m"
;
79
/** Print light blue on console. */
80
static
std::string
clightblue
=
c_lightblue
;
81
82
/** Print purple on console. */
83
static
const
char
*
c_purple
=
"\033[0;35m"
;
84
/** Print purple on console. */
85
static
std::string
cpurple
=
c_purple
;
86
87
/** Print light purple on console. */
88
static
const
char
*
c_lightpurple
=
"\033[1;35m"
;
89
/** Print light purple on console. */
90
static
std::string
clightpurple
=
c_lightpurple
;
91
92
/** Print cyan on console. */
93
static
const
char
*
c_cyan
=
"\033[0;36m"
;
94
/** Print cyan on console. */
95
static
std::string
ccyan
=
c_cyan
;
96
97
/** Print light cyan on console. */
98
static
const
char
*
c_lightcyan
=
"\033[1;36m"
;
99
/** Print light cyan on console. */
100
static
std::string
clightcyan
=
c_lightcyan
;
101
102
/** Print light gray on console. */
103
static
const
char
*
c_lightgray
=
"\033[2;37m"
;
104
/** Print light gray on console. */
105
static
std::string
clightgray
=
c_lightgray
;
106
107
/** Print white on console. */
108
static
const
char
*
c_white
=
"\033[1;37m"
;
109
/** Print white on console. */
110
static
std::string
cwhite
=
c_white
;
111
112
/** Print normal on console, without colors, depends on console settings. */
113
static
const
char
*
c_normal
=
"\033[0;39m"
;
114
/** Print normal on console, without colors, depends on console settings. */
115
static
std::string
cnormal
=
c_normal
;
116
117
}
118
119
#endif
src
libs
utils
system
console_colors.h
Generated by
1.8.1.1