9#ifndef COMMON_COLOR_HPP
10#define COMMON_COLOR_HPP
51 template <
typename...
Args>
116template <
typename...
Args>
119 for (
auto color : std::initializer_list<std::string>{
colors...})
static std::string YELLOW_BG
黄色背景
static std::string BLACK
黑色
static void RestoreColor()
恢复默认颜色设置
static std::string BLUE_BG
蓝色背景
static std::string RESET
结束符,重置所有颜色设置
static std::string GREEN_BG
绿色背景
static std::string BLACK_BG
黑色背景
static std::string WHITE
白色
static std::string BLUE
蓝色
static std::string MAGENTA
洋红色
static std::string MAGENTA_BG
洋红色背景
static std::string CYAN
青色
static std::string WHITE_BG
白色背景
static std::string FONT_BOLD
加粗
static std::string RED_BG
红色背景
static void CancelColor()
取消所有颜色
static std::string GREEN
绿色
static std::string SetColor(const std::string &string, Args... colors)
对传入的字符串设置颜色
static std::string YELLOW
黄色
static std::string CYAN_BG
青色背景
#define Cm_WEAK_ATTRIBUTE
弱符号定义宏