SA_Logger
Sapphire's Suite's C++ Logger.
|
Console Color enum implementation. More...
#include <cstdint>
Go to the source code of this file.
Typedefs | |
using | SA::CslColor = ConsoleColor |
Shortcut alias. | |
Enumerations | |
enum | SA::ConsoleColor : uint8_t { SA::None_FG = 0 , SA::Red_FG = 1 , SA::Green_FG = 2 , SA::Blue_FG = 3 , SA::Cyan_FG = 4 , SA::Magenta_FG = 5 , SA::Yellow_FG = 6 , SA::Black_FG = 7 , SA::Bright_FG = 8 , SA::None_BG = 0 << 4 , SA::Red_BG = 1 << 4 , SA::Green_BG = 2 << 4 , SA::Blue_BG = 3 << 4 , SA::Cyan_BG = 4 << 4 , SA::Magenta_BG = 5 << 4 , SA::Yellow_BG = 6 << 4 , SA::White_BG = 7 << 4 , SA::Bright_BG = 8 << 4 , SA::Reset = None_FG | None_BG } |
Console Color enum. More... | |
Functions | |
void | SA::SetConsoleColor (ConsoleColor _cslColor) |
Crossplatform implementation of set color in console. | |
Console Color enum implementation.
enum SA::ConsoleColor : uint8_t |
Console Color enum.
Bright BG bit BG Color bits Bright FG bit FG Color bits 0 000 0 000
void SA::SetConsoleColor | ( | ConsoleColor | _cslColor | ) |
Crossplatform implementation of set color in console.
[in] | _cslColor | Console color mask. |