Gas Readme First Draft.

This commit is contained in:
2025-06-04 13:46:43 -05:00
parent 42e773b5a1
commit 6a8938305e
6 changed files with 97 additions and 10 deletions

View File

@@ -18,7 +18,11 @@ class Color4;
std::string toEscapeCode(Color4 c, bool bg=false);
void print_builtin_color_list();
namespace mcolor
{
void printBuiltinColorList();
}
/// A type representing a color with alpha.
/// Our default format is RGBA with 8 bits-per-channel.

View File

@@ -7,7 +7,9 @@
#include <cstdint>
#include <format>
#include <vector>
#include "Color3.hpp"
#include "Color4.hpp"
#include "Colors.hpp"
#include "AnsiEscapeCodes.hpp"
namespace mcolor {
@@ -15,9 +17,11 @@ namespace mcolor {
std::string toEscapeCode(AnsiColor c);
#ifdef WIN32
/// Performs a hack that allows the windows console to interpret ANSI codes.
/// @note This only works on Windows 10 version 1511 and newer.
void windowsSaneify();
#endif
void printAnsiColorTable();