danicoin/src/Common/ConsoleTools.h
2016-01-18 15:33:29 +00:00

35 lines
539 B
C++

// Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <cstdint>
namespace Common { namespace Console {
enum class Color : uint8_t {
Default,
Blue,
Green,
Red,
Yellow,
White,
Cyan,
Magenta,
BrightBlue,
BrightGreen,
BrightRed,
BrightYellow,
BrightWhite,
BrightCyan,
BrightMagenta
};
void setTextColor(Color color);
bool isConsoleTty();
}}