Working on UI improvement

This commit is contained in:
Vladislav Khorev committed 2026-05-27 17:30:41 +03:00
1 parent 0da1ae124c
commit 80af0e61ae
43 files changed
+889 -64

No files matched your search

+4
View File
@@ -2,6 +2,7 @@
#include <string>
#include <memory>
#include <vector>
#include <functional>
namespace ZL {
@@ -28,6 +29,9 @@ namespace ZL {
bool hasItem(const std::string& itemId) const;
void clear() { items.clear(); }
size_t getCount() const { return items.size(); }
// Called whenever an item is added; receives the item id.
std::function<void(const std::string&)> onItemAdded;
};
} // namespace ZL