color_macros.h
Go to the documentation of this file.
00001 // HOG-Man - Hierarchical Optimization for Pose Graphs on Manifolds
00002 // Copyright (C) 2010 G. Grisetti, R. K├╝mmerle, C. Stachniss
00003 // 
00004 // HOG-Man is free software: you can redistribute it and/or modify
00005 // it under the terms of the GNU Lesser General Public License as published
00006 // by the Free Software Foundation, either version 3 of the License, or
00007 // (at your option) any later version.
00008 // 
00009 // HOG-Man is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU Lesser General Public License for more details.
00013 // 
00014 // You should have received a copy of the GNU Lesser General Public License
00015 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016 
00017 #ifndef COLOR_MACROS_H
00018 #define COLOR_MACROS_H
00019 
00020 // font attributes
00021 #define FT_BOLD      "\033[1m"
00022 #define FT_UNDERLINE "\033[4m"
00023 
00024 //background color
00025 #define BG_BLACK     "\033[40m"
00026 #define BG_RED       "\033[41m"
00027 #define BG_GREEN     "\033[42m"
00028 #define BG_YELLOW    "\033[43m"
00029 #define BG_LIGHTBLUE "\033[44m"
00030 #define BG_MAGENTA   "\033[45m"
00031 #define BG_BLUE      "\033[46m"
00032 #define BG_WHITE     "\033[47m"
00033 
00034 // font color
00035 #define CL_BLACK(s)     "\033[30m" << s << "\033[0m"
00036 #define CL_RED(s)       "\033[31m" << s << "\033[0m"
00037 #define CL_GREEN(s)     "\033[32m" << s << "\033[0m"
00038 #define CL_YELLOW(s)    "\033[33m" << s << "\033[0m"
00039 #define CL_LIGHTBLUE(s) "\033[34m" << s << "\033[0m"
00040 #define CL_MAGENTA(s)   "\033[35m" << s << "\033[0m"
00041 #define CL_BLUE(s)      "\033[36m" << s << "\033[0m"
00042 #define CL_WHITE(s)     "\033[37m" << s << "\033[0m"
00043 
00044 #define FG_BLACK     "\033[30m"
00045 #define FG_RED       "\033[31m"
00046 #define FG_GREEN     "\033[32m"
00047 #define FG_YELLOW    "\033[33m"
00048 #define FG_LIGHTBLUE "\033[34m"
00049 #define FG_MAGENTA   "\033[35m"
00050 #define FG_BLUE      "\033[36m"
00051 #define FG_WHITE     "\033[37m"
00052 
00053 #define FG_NORM      "\033[0m"
00054 
00055 #endif


hogman_minimal
Author(s): Maintained by Juergen Sturm
autogenerated on Mon Oct 6 2014 00:06:58