mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
slots-grid xml element
This commit is contained in:
parent
23705e065e
commit
c902ed506b
2 changed files with 56 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue