1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

fix allied towns & color text input

This commit is contained in:
Laserlicht
2025-10-05 14:24:29 +02:00
parent 3e2a526140
commit 6c1748e0d6
5 changed files with 34 additions and 12 deletions

View File

@@ -31,6 +31,8 @@ protected:
CTextContainer(ETextAlignment alignment, EFonts font, ColorRGBA color);
public:
static int getDelimitersWidth(EFonts font, std::string text);
ETextAlignment alignment;
EFonts font;
ColorRGBA color; // default font color. Can be overridden by placing "{}" into the string