| 214 | |
| 215 | template<template<EConsoleStyle S> class StyleSpec> |
| 216 | static constexpr auto GetStyle(EConsoleStyle style) SKR_NOEXCEPT |
| 217 | { |
| 218 | switch (style) |
| 219 | { |
| 220 | case EConsoleStyle::NORMAL: return StyleSpec<EConsoleStyle::NORMAL>::value; |
| 221 | case EConsoleStyle::HIGHLIGHT: return StyleSpec<EConsoleStyle::HIGHLIGHT>::value; |
| 222 | default: return StyleSpec<EConsoleStyle::NORMAL>::value; |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | #ifdef USE_WIN32_CONSOLE |
| 227 | static const DWORD GetTextAttribute(EConsoleColor front, EConsoleColor back, EConsoleStyle style) SKR_NOEXCEPT |
no outgoing calls
no test coverage detected