mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
HUD: Text element color support (#14558)
This commit is contained in:
parent
d2a089ffd9
commit
c8a41409d9
6 changed files with 39 additions and 12 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
// color. The color used will be the one from the last character.
|
||||
void addCharNoColor(wchar_t c);
|
||||
|
||||
EnrichedString getNextLine(size_t *pos) const;
|
||||
EnrichedString substr(size_t pos = 0, size_t len = std::string::npos) const;
|
||||
EnrichedString operator+(const EnrichedString &other) const;
|
||||
void operator+=(const EnrichedString &other);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue