![]() |
mutable
A Database System for Research and Fast Prototyping
|
Wrapper class to ease the use of terminal colors (foreground and background). More...
#include <terminal.hpp>
Public Types | |
enum | color_kind { FG = 0 , BG } |
Public Member Functions | |
Color (color_kind kind, unsigned color) | |
Data Fields | |
enum m::term::Color::color_kind | kind |
unsigned | color |
Friends | |
std::ostream & | operator<< (std::ostream &out, Color c) |
Wrapper class to ease the use of terminal colors (foreground and background).
Definition at line 72 of file terminal.hpp.
Enumerator | |
---|---|
FG | |
BG |
Definition at line 74 of file terminal.hpp.
|
inlineexplicit |
Definition at line 80 of file terminal.hpp.
|
friend |
Definition at line 82 of file terminal.hpp.
unsigned m::term::Color::color |
Definition at line 78 of file terminal.hpp.
enum m::term::Color::color_kind m::term::Color::kind |