ncolordefs.h

00001 // LICENSE: (Please see the file COPYING for details)
00002 //
00003 // NUS - Nemesis Utilities System: A C++ application development framework 
00004 // Copyright (C) 2006, 2007 Otavio Rodolfo Piske
00005 //
00006 //  This file is part of NUS
00007 //
00008 //  This library is free software; you can redistribute it and/or
00009 //  modify it under the terms of the GNU Lesser General Public
00010 //  License as published by the Free Software Foundation version 2.1
00011 //  of the License.
00012 //
00013 //  This library is distributed in the hope that it will be useful,
00014 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 //  Lesser General Public License for more details.
00017 //
00018 //  You should have received a copy of the GNU Lesser General Public
00019 //  License along with this library; if not, write to the Free Software
00020 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021 //
00022 #ifndef NCOLORDEFS_H
00023 #define NCOLORDEFS_H
00024 
00025 #if !defined(WIN32)
00026 
00027 #define BLACK "\x1B[00;30m"
00028 #define RED "\x1B[00;31m"
00029 #define GREEN "\x1B[00;32m"
00030 #define BROWN "\x1B[00;33m"
00031 #define BLUE "\x1B[00;34m"
00032 #define MAGENTA "\x1B[00;35m"
00033 #define CYAN "\x1B[00;36m"
00034 #define WHITE "\x1B[00;37m"
00035 
00036 #define LIGHT_BLACK "\x1B[01;30m"
00037 #define LIGHT_RED "\x1B[01;31m"
00038 #define LIGHT_GREEN "\x1B[01;32m"
00039 #define LIGHT_BROWN "\x1B[01;33m"
00040 #define LIGHT_BLUE "\x1B[01;34m"
00041 #define LIGHT_MAGENTA "\x1B[01;35m"
00042 #define LIGHT_CYAN "\x1B[01;36m"
00043 #define LIGHT_WHITE "\x1B[01;37m"
00044 
00045 #define BG_BLACK "\x1B[02;40m"
00046 #define BG_RED "\x1B[02;41m"
00047 #define BG_GREEN "\x1B[02;42m"
00048 #define BG_BROWN "\x1B[02;43m"
00049 #define BG_BLUE "\x1B[02;44m"
00050 #define BG_MAGENTA "\x1B[02;45m"
00051 #define BG_CYAN "\x1B[02;46m"
00052 #define BG_WHITE "\x1B[02;47m"
00053 
00054 #define RESET "\x1B[00m"
00055 
00056 #else 
00057 
00058 #define BLACK " "
00059 #define RED " "
00060 #define GREEN " "
00061 #define BROWN " "
00062 #define BLUE " "
00063 #define MAGENTA " "
00064 #define CYAN " "
00065 #define WHITE " "
00066 
00067 #define LIGHT_BLACK ""
00068 #define LIGHT_RED ""
00069 #define LIGHT_GREEN ""
00070 #define LIGHT_BROWN ""
00071 #define LIGHT_BLUE ""
00072 #define LIGHT_MAGENTA ""
00073 #define LIGHT_CYAN  ""
00074 #define LIGHT_WHITE ""
00075 
00076 #define BG_BLACK ""
00077 #define BG_RED ""
00078 #define BG_GREEN ""
00079 #define BG_BROWN ""
00080 #define BG_BLUE ""
00081 #define BG_MAGENTA ""
00082 #define BG_CYAN  ""
00083 #define BG_WHITE ""
00084 
00085 #define RESET ""
00086 
00087 #endif // WIN32
00088 
00089 #endif // NCOLORDEFS_H

Generated on Wed Mar 5 23:10:35 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4