#pragma once

// -----------------------------------------------------------------------------
// console.h
// -----------------------------------------------------------------------------
// Colored console output helpers and the menu renderer. The menu reflects
// the current state of every feature toggle and is redrawn on hotkey changes.
// -----------------------------------------------------------------------------

#include <string>

namespace util {

// Supported menu colors.
enum class Color
{
	Default = 15,
	Red = 12,
	Green = 10,
	Aqua = 11,
	Blue = 9,
};

// Prints a string to the console with the given color and restores default.
void PrintColored(Color color, const std::string& text);

// Prints text with a named color ("red", "green", "aqua", "blue").
// Mirrors the original cheat's printtextcolored() behavior.
void PrintText(const char* color, const std::string& text);

// Moves the console window and hides/randomizes the window title.
void PrepareConsole();

} // namespace util