Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
|
#include <text_parser.h>
Static Public Member Functions | |
static std::vector< TextToken > | parse_bbcode (const std::string &text, const glm::vec4 &default_color) |
Public Attributes | |
std::string | text |
glm::vec4 | color = {1.0f, 1.0f, 1.0f, 1.0f} |
bool | bold = false |
bool | italic = false |
bool | strike = false |
|
static |
bool TextToken::bold = false |
glm::vec4 TextToken::color = {1.0f, 1.0f, 1.0f, 1.0f} |
bool TextToken::italic = false |
bool TextToken::strike = false |
std::string TextToken::text |