◆ onInventoryItemHovered()
virtual void MutationOfJB::InventoryWidgetCallback::onInventoryItemHovered |
( |
InventoryWidget * |
widget, |
|
|
int |
posInWidget |
|
) |
| |
|
pure virtual |
Called when the user hovers an inventory item with the mouse or when stops hovering an item.
- Parameters
-
widget | Inventory widget. |
posInWidget | Item position in the widget or -1 if none. |
Implemented in MutationOfJB::GameScreen.
◆ onInventoryItemClicked()
virtual void MutationOfJB::InventoryWidgetCallback::onInventoryItemClicked |
( |
InventoryWidget * |
widget, |
|
|
int |
posInWidget |
|
) |
| |
|
pure virtual |
Called when the user clicks on an inventory item.
- Parameters
-
widget | Inventory widget. |
posInWidget | Item position in the widget. |
Implemented in MutationOfJB::GameScreen.
The documentation for this class was generated from the following file: