mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
dark overlay is an ui element now
This commit is contained in:
parent
51ffb93230
commit
c6a2fc90a8
8 changed files with 25 additions and 24 deletions
|
|
@ -42,6 +42,7 @@ class HudRenderer {
|
|||
std::shared_ptr<InventoryView> hotbarView;
|
||||
std::shared_ptr<InventoryView> inventoryView;
|
||||
std::shared_ptr<gui::UINode> debugPanel;
|
||||
std::shared_ptr<gui::Panel> darkOverlay;
|
||||
std::unique_ptr<InventoryInteraction> interaction;
|
||||
std::shared_ptr<SlotView> grabbedItemView;
|
||||
gui::GUI* gui;
|
||||
|
|
@ -57,7 +58,6 @@ public:
|
|||
~HudRenderer();
|
||||
|
||||
void update(bool hudVisible);
|
||||
void drawOverlay(const GfxContext& context);
|
||||
void draw(const GfxContext& context);
|
||||
void drawDebug(int fps);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue