diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-06-01 15:35:07 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-06-01 15:35:07 +0800 |
| commit | f90115fba35887aea8d4064b57f4909cd6937134 (patch) | |
| tree | 026130ea8c58e5f3ae2e65769d87d2c69b76acb0 /Color.hh | |
| parent | 31d35de96576d2cddc134cdd0646ce4966052ae3 (diff) | |
color support
Diffstat (limited to 'Color.hh')
| -rw-r--r-- | Color.hh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Color.hh b/Color.hh new file mode 100644 index 0000000..91804d2 --- /dev/null +++ b/Color.hh @@ -0,0 +1,21 @@ +#ifndef PCC_COLOR_HH +#define PCC_COLOR_HH + +#include <iostream> + +namespace pcc { +enum class Color { + BLACK, + RED, + BLUE, + GREEN, + YELLOW, + CYAN, + MAGENTA, + WHITE, + DEFAULT +}; + +std::ostream& operator<<(std::ostream& out, Color color); +} // namespace pcc +#endif // !PCC_COLOR_HH |
