slots-grid xml element

This commit is contained in:
MihailRis
2024-02-07 09:47:14 +03:00
parent 23705e065e
commit c902ed506b
2 changed files with 56 additions and 7 deletions
+1 -2
View File
@@ -38,6 +38,7 @@ struct SlotLayout {
bool itemSource;
itemsharefunc shareFunc;
slotcallback rightClick;
int padding = 0;
SlotLayout(int index,
glm::vec2 position,
@@ -113,8 +114,6 @@ public:
class InventoryBuilder {
std::shared_ptr<InventoryView> view;
LevelFrontend* frontend;
InventoryInteraction& interaction;
public:
InventoryBuilder(LevelFrontend* frontend, InventoryInteraction& interaction);