Consolix
Loading...
Searching...
No Matches
enums.hpp File Reference

Contains enumerations and utility functions for text colors. More...

#include <array>

Go to the source code of this file.

Namespaces

namespace  consolix
 < Utility modules and helpers.
 

Macros

#define _CONSOLIX_ENUMS_HPP_INCLUDED
 

Enumerations

enum class  consolix::TextColor {
  consolix::Black , consolix::DarkRed , consolix::DarkGreen , consolix::DarkYellow ,
  consolix::DarkBlue , consolix::DarkMagenta , consolix::DarkCyan , consolix::LightGray ,
  consolix::DarkGray , consolix::Red , consolix::Green , consolix::Yellow ,
  consolix::Blue , consolix::Magenta , consolix::Cyan , consolix::White
}
 Represents text colors for console output. More...
 

Functions

const char * consolix::to_c_str (const TextColor &color)
 Converts a TextColor to an ANSI escape code string.
 

Detailed Description

Contains enumerations and utility functions for text colors.

Definition in file enums.hpp.

Macro Definition Documentation

◆ _CONSOLIX_ENUMS_HPP_INCLUDED

#define _CONSOLIX_ENUMS_HPP_INCLUDED

Definition at line 3 of file enums.hpp.