Scoping out
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
// This means black can be shown as purple if configured that way.
|
||||
namespace mcolor::ansiColorCodes
|
||||
{
|
||||
struct ansiColor
|
||||
{
|
||||
std::string code;
|
||||
};
|
||||
|
||||
inline static const std::string FG_BLACK = "\033[30m";
|
||||
inline static const std::string FG_RED = "\033[31m";
|
||||
inline static const std::string FG_GREEN = "\033[32m";
|
||||
@@ -79,7 +84,12 @@ namespace mcolor::rgbColors
|
||||
|
||||
namespace mcolor
|
||||
{
|
||||
|
||||
|
||||
|
||||
struct Color
|
||||
{
|
||||
union
|
||||
{
|
||||
mcolor::ansiColorCodes::ansiColor ansi;
|
||||
mcolor::rgbColors::rgbColor rgb;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user