mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
CLabelGroup: add currentSize method
Might be someone will suggest me better name. And actually I need method to clean group too.
This commit is contained in:
@@ -67,6 +67,7 @@ class CLabelGroup : public CIntObject
|
||||
public:
|
||||
CLabelGroup(EFonts Font = FONT_SMALL, EAlignment Align = TOPLEFT, const SDL_Color &Color = Colors::WHITE);
|
||||
void add(int x=0, int y=0, const std::string &text = "");
|
||||
size_t currentSize() const;
|
||||
};
|
||||
|
||||
/// Multi-line label that can display multiple lines of text
|
||||
|
||||
Reference in New Issue
Block a user