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

First version that works in lobby

This commit is contained in:
Tomasz Zieliński
2024-02-29 12:45:08 +01:00
parent 54fefd34c7
commit 2c32c770f7
11 changed files with 148 additions and 24 deletions

View File

@@ -51,8 +51,6 @@ class ComboBox : public CButton
};
friend class DropDown;
void setItem(const void *);
public:
ComboBox(Point position, const AnimationPath & defName, const std::pair<std::string, std::string> & help, const JsonNode & dropDownDescriptor, Point dropDownPosition, EShortcut key = {}, bool playerColoredButton = false);
@@ -67,6 +65,7 @@ public:
std::function<std::string(int, const void *)> getItemText;
void setItem(int id);
void setItem(const void *);
void updateListItems();
};