mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Refactor
This commit is contained in:
parent
e2bb7a34aa
commit
9760cff8f4
10 changed files with 76 additions and 85 deletions
|
|
@ -49,6 +49,10 @@ void InventoryView::setSlotConsumer(slotconsumer consumer) {
|
|||
this->consumer = consumer;
|
||||
}
|
||||
|
||||
void InventoryView::setItems(std::vector<itemid_t> items) {
|
||||
this->items = items;
|
||||
}
|
||||
|
||||
void InventoryView::actAndDraw(const GfxContext* ctx) {
|
||||
Assets* assets = frontend->getAssets();
|
||||
Shader* uiShader = assets->getShader("ui");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue