All checks were successful
Linux arm64 / Build (push) Successful in 4m59s
C'est très long Co-authored-by: Morph01 <thibaut6969delastreet@gmail.com> Reviewed-on: #43 Co-authored-by: Persson-dev <sim16.prib@gmail.com> Co-committed-by: Persson-dev <sim16.prib@gmail.com>
37 lines
768 B
C++
37 lines
768 B
C++
#pragma once
|
|
|
|
/**
|
|
* \file PrettyLog.h
|
|
* \brief File defining log functions with colors
|
|
*/
|
|
|
|
#include "blitz/maths/Vector.h"
|
|
#include <string>
|
|
|
|
namespace blitz {
|
|
namespace utils {
|
|
|
|
namespace TextColor {
|
|
|
|
const static Vec3uc AQUA = {0, 255, 255};
|
|
const static Vec3uc BLUE = {0, 0, 255};
|
|
const static Vec3uc GREEN = {0, 255, 0};
|
|
const static Vec3uc PURPLE = {255, 0, 255};
|
|
const static Vec3uc RED = {255, 0, 0};
|
|
const static Vec3uc WHITE = {255, 255, 255};
|
|
const static Vec3uc YELLOW = {255, 255, 0};
|
|
|
|
} // namespace TextColor
|
|
|
|
/**
|
|
* \brief Returns the color code for a given color.
|
|
*/
|
|
std::string GetTextColor(Vec3uc color);
|
|
/**
|
|
* \brief Returns the color code for the reset color.
|
|
*/
|
|
std::string GetTextColorReset();
|
|
|
|
} // namespace utils
|
|
} // namespace blitz
|