1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Interface builder refactored

This commit is contained in:
nordsoft
2022-12-16 00:46:36 +04:00
parent 2fe951f819
commit 2371e3e9a2
4 changed files with 265 additions and 127 deletions

View File

@@ -85,3 +85,18 @@ private:
std::vector<const CRmgTemplate *> curItems;
};
class TeamAlignmentsWidget: public CIntObject
{
public:
TeamAlignmentsWidget(RandomMapTab * randomMapTab);
private:
RandomMapTab * randomMapTab;
std::shared_ptr<CFilledTexture> background;
std::shared_ptr<CLabelGroup> labels;
std::shared_ptr<CButton> buttonOk, buttonCancel;
std::vector<std::shared_ptr<CToggleGroup>> teams;
};