- Added all source code.

This commit is contained in:
Paul Beckingham
2008-04-19 22:11:59 -04:00
parent 7f8fc1182d
commit b5be083d88
27 changed files with 7842 additions and 0 deletions

23
src/color.h Normal file
View File

@@ -0,0 +1,23 @@
////////////////////////////////////////////////////////////////////////////////
// Copyright 2008, Paul Beckingham.
// All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLOR
#define INCLUDED_COLOR
namespace Text
{
enum color {nocolor = 0, black, red, green, yellow, blue, magenta, cyan, white};
enum attr {normal = 0, underline};
std::string colorName (Text::color);
Text::color colorCode (const std::string&);
std::string attrName (Text::attr);
Text::attr attrCode (const std::string&);
}
#endif
////////////////////////////////////////////////////////////////////////////////