mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
switch to inventory drop area
This commit is contained in:
parent
2a4b8b0297
commit
7c97966377
5 changed files with 75 additions and 41 deletions
|
|
@ -93,6 +93,8 @@ class Hud : public util::ObjectsKeeper {
|
|||
std::shared_ptr<gui::UINode> debugPanel;
|
||||
/// @brief Overlay used in pause mode
|
||||
std::shared_ptr<gui::UINode> darkOverlay;
|
||||
/// @brief Overlay used in inventory
|
||||
std::shared_ptr<gui::UINode> inventoryDropArea;
|
||||
/// @brief Inventories interaction agent (grabbed item)
|
||||
std::shared_ptr<gui::SlotView> exchangeSlot;
|
||||
/// @brief Exchange slot inventory (1 slot only)
|
||||
|
|
@ -207,6 +209,8 @@ public:
|
|||
|
||||
std::shared_ptr<Inventory> getSecondInventory();
|
||||
|
||||
std::shared_ptr<Inventory> getExchangeInventory();
|
||||
|
||||
bool isContentAccess() const;
|
||||
|
||||
void setContentAccess(bool flag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue