ansi_colors.h

00001 /* MLPACK 0.2
00002  *
00003  * Copyright (c) 2008, 2009 Alexander Gray,
00004  *                          Garry Boyer,
00005  *                          Ryan Riegel,
00006  *                          Nikolaos Vasiloglou,
00007  *                          Dongryeol Lee,
00008  *                          Chip Mappus, 
00009  *                          Nishant Mehta,
00010  *                          Hua Ouyang,
00011  *                          Parikshit Ram,
00012  *                          Long Tran,
00013  *                          Wee Chin Wong
00014  *
00015  * Copyright (c) 2008, 2009 Georgia Institute of Technology
00016  *
00017  * This program is free software; you can redistribute it and/or
00018  * modify it under the terms of the GNU General Public License as
00019  * published by the Free Software Foundation; either version 2 of the
00020  * License, or (at your option) any later version.
00021  *
00022  * This program is distributed in the hope that it will be useful, but
00023  * WITHOUT ANY WARRANTY; without even the implied warranty of
00024  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00025  * General Public License for more details.
00026  *
00027  * You should have received a copy of the GNU General Public License
00028  * along with this program; if not, write to the Free Software
00029  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00030  * 02110-1301, USA.
00031  */
00038 #ifndef BASE_ANSI_COLORS_H
00039 #define BASE_ANSI_COLORS_H
00040 
00042 #define ANSI_SEQ(str) "\033["str"m"
00043 
00044 #define ANSI_CLEAR ANSI_SEQ("0")
00045 
00046 #define ANSI_BOLD ANSI_SEQ("1")
00047 
00049 #define ANSI_HBLACK ANSI_SEQ("1;30")
00050 
00051 #define ANSI_HRED ANSI_SEQ("1;31")
00052 
00053 #define ANSI_HGREEN ANSI_SEQ("1;32")
00054 
00055 #define ANSI_HYELLOW ANSI_SEQ("1;33")
00056 
00057 #define ANSI_HBLUE ANSI_SEQ("1;34")
00058 
00059 #define ANSI_HMAGENTA ANSI_SEQ("1;35")
00060 
00061 #define ANSI_HCYAN ANSI_SEQ("1;35")
00062 
00063 #define ANSI_HWHITE ANSI_SEQ("1;36")
00064 
00066 #define ANSI_BLACK ANSI_SEQ("30")
00067 
00068 #define ANSI_RED ANSI_SEQ("31")
00069 
00070 #define ANSI_GREEN ANSI_SEQ("32")
00071 
00072 #define ANSI_YELLOW ANSI_SEQ("33")
00073 
00074 #define ANSI_BLUE ANSI_SEQ("34")
00075 
00076 #define ANSI_MAGENTA ANSI_SEQ("35")
00077 
00078 #define ANSI_CYAN ANSI_SEQ("35")
00079 
00080 #define ANSI_WHITE ANSI_SEQ("36")
00081 
00082 #endif /* BASE_ANSI_COLORS_H */
Generated on Mon Jan 24 12:04:37 2011 for FASTlib by  doxygen 1.6.3