inventory slots fix
This commit is contained in:
parent
7434cb66e8
commit
a57fba4fa4
@ -296,6 +296,10 @@ void SlotView::clicked(gui::GUI* gui, int button) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SlotView::focus(gui::GUI* gui) {
|
||||||
|
clicked(gui, 0);
|
||||||
|
}
|
||||||
|
|
||||||
InventoryView::InventoryView(
|
InventoryView::InventoryView(
|
||||||
const Content* content,
|
const Content* content,
|
||||||
LevelFrontend* frontend,
|
LevelFrontend* frontend,
|
||||||
|
|||||||
@ -108,6 +108,7 @@ public:
|
|||||||
bool isHighlighted() const;
|
bool isHighlighted() const;
|
||||||
|
|
||||||
virtual void clicked(gui::GUI*, int) override;
|
virtual void clicked(gui::GUI*, int) override;
|
||||||
|
virtual void focus(gui::GUI*) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class InventoryView : public gui::Container {
|
class InventoryView : public gui::Container {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user