ScummVM API documentation
MutationOfJB::InventoryWidgetCallback Class Referenceabstract
Inheritance diagram for MutationOfJB::InventoryWidgetCallback:
MutationOfJB::GameScreen

Public Member Functions

virtual void onInventoryItemHovered (InventoryWidget *widget, int posInWidget)=0
 
virtual void onInventoryItemClicked (InventoryWidget *widget, int posInWidget)=0
 

Member Function Documentation

◆ 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
widgetInventory widget.
posInWidgetItem 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
widgetInventory widget.
posInWidgetItem position in the widget.

Implemented in MutationOfJB::GameScreen.


The documentation for this class was generated from the following file: