mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
possiblity to set custom sizes with last button
This commit is contained in:
@@ -27,6 +27,8 @@ class CLabel;
|
||||
class CLabelGroup;
|
||||
class CSlider;
|
||||
class CPicture;
|
||||
class CTextInput;
|
||||
class TransparentFilledRectangle;
|
||||
|
||||
class RandomMapTab : public InterfaceObjectConfigurable
|
||||
{
|
||||
@@ -81,3 +83,15 @@ class TeamAlignments: public CWindowObject
|
||||
public:
|
||||
TeamAlignments(RandomMapTab & randomMapTab);
|
||||
};
|
||||
|
||||
class SetSizeWindow: public CWindowObject
|
||||
{
|
||||
std::shared_ptr<FilledTexturePlayerColored> background;
|
||||
std::vector<std::shared_ptr<CLabel>> titles;
|
||||
std::shared_ptr<CButton> buttonOk;
|
||||
|
||||
std::vector<std::shared_ptr<CTextInput>> numInputs;
|
||||
std::vector<std::shared_ptr<TransparentFilledRectangle>> rectangles;
|
||||
public:
|
||||
SetSizeWindow(int3 initSize, std::function<void(int3)> cb);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user