Fawkes API Fawkes Development Version
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
30namespace fawkes {
31
32/** Print black on console. */
33static const char *c_black = "\033[0;30m";
34/** Print black on console. */
35static std::string cblack = c_black;
36
37/** Print dark gray on console. */
38static const char *c_darkgray = "\033[1;30m";
39/** Print dark gray on console. */
40static std::string cdarkgray = c_darkgray;
41
42/** Print red on console. */
43static const char *c_red = "\033[0;31m";
44/** Print red on console. */
45static std::string cred = c_red;
46
47/** Print light red on console. */
48static const char *c_lightred = "\033[1;31m";
49/** Print light red on console. */
50static std::string clightred = c_lightred;
51
52/** Print green on console. */
53static const char *c_green = "\033[0;32m";
54/** Print green on console. */
55static std::string cgreen = c_green;
56
57/** Print light green on console. */
58static const char *c_lightgreen = "\033[1;32m";
59/** Print light green on console. */
60static std::string clightgreen = c_lightgreen;
61
62/** Print brown on console. */
63static const char *c_brown = "\033[0;33m";
64/** Print brown on console. */
65static std::string cbrown = c_brown;
66
67/** Print yellow on console. */
68static const char *c_yellow = "\033[1;33m";
69/** Print yellow on console. */
70static std::string cyellow = c_yellow;
71
72/** Print blue on console. */
73static const char *c_blue = "\033[0;34m";
74/** Print blue on console. */
75static std::string cblue = c_blue;
76
77/** Print light blue on console. */
78static const char *c_lightblue = "\033[1;34m";
79/** Print light blue on console. */
80static std::string clightblue = c_lightblue;
81
82/** Print purple on console. */
83static const char *c_purple = "\033[0;35m";
84/** Print purple on console. */
85static std::string cpurple = c_purple;
86
87/** Print light purple on console. */
88static const char *c_lightpurple = "\033[1;35m";
89/** Print light purple on console. */
90static std::string clightpurple = c_lightpurple;
91
92/** Print cyan on console. */
93static const char *c_cyan = "\033[0;36m";
94/** Print cyan on console. */
95static std::string ccyan = c_cyan;
96
97/** Print light cyan on console. */
98static const char *c_lightcyan = "\033[1;36m";
99/** Print light cyan on console. */
100static std::string clightcyan = c_lightcyan;
101
102/** Print light gray on console. */
103static const char *c_lightgray = "\033[2;37m";
104/** Print light gray on console. */
105static std::string clightgray = c_lightgray;
106
107/** Print white on console. */
108static const char *c_white = "\033[1;37m";
109/** Print white on console. */
110static std::string cwhite = c_white;
111
112/** Print normal on console, without colors, depends on console settings. */
113static const char *c_normal = "\033[0;39m";
114/** Print normal on console, without colors, depends on console settings. */
115static std::string cnormal = c_normal;
116
117} // namespace fawkes
118
119#endif
Fawkes library namespace.
static std::string cwhite
Print white on console.
static std::string cpurple
Print purple on console.
static std::string cred
Print red on console.
static const char * c_lightblue
Print light blue on console.
static std::string clightpurple
Print light purple on console.
static const char * c_normal
Print normal on console, without colors, depends on console settings.
static std::string cdarkgray
Print dark gray on console.
static std::string cyellow
Print yellow on console.
static const char * c_black
Print black on console.
static std::string cnormal
Print normal on console, without colors, depends on console settings.
static const char * c_lightgreen
Print light green on console.
static std::string clightblue
Print light blue on console.
static std::string cblue
Print blue on console.
static std::string cgreen
Print green on console.
static const char * c_lightcyan
Print light cyan on console.
static const char * c_yellow
Print yellow on console.
static const char * c_blue
Print blue on console.
static const char * c_purple
Print purple on console.
static const char * c_white
Print white on console.
static const char * c_lightgray
Print light gray on console.
static std::string clightcyan
Print light cyan on console.
static std::string cbrown
Print brown on console.
static const char * c_brown
Print brown on console.
static const char * c_darkgray
Print dark gray on console.
static const char * c_green
Print green on console.
static const char * c_lightred
Print light red on console.
static std::string ccyan
Print cyan on console.
static const char * c_lightpurple
Print light purple on console.
static std::string clightred
Print light red on console.
static const char * c_cyan
Print cyan on console.
static const char * c_red
Print red on console.
static std::string cblack
Print black on console.
static std::string clightgray
Print light gray on console.
static std::string clightgreen
Print light green on console.