Public Member Functions | |
GameScreen (Game &game, Graphics::Screen *screen) | |
bool | init () |
void | handleEvent (const Common::Event &event) override |
void | onInventoryChanged () override |
void | onButtonClicked (ButtonWidget *) override |
void | onInventoryItemHovered (InventoryWidget *widget, int posInWidget) override |
void | onInventoryItemClicked (InventoryWidget *widget, int posInWidget) override |
void | onGameDoorClicked (GameWidget *, Door *door) override |
void | onGameStaticClicked (GameWidget *, Static *stat) override |
void | onGameEntityHovered (GameWidget *, const Common::String &entity) override |
ConversationWidget & | getConversationWidget () |
void | showConversationWidget (bool show) |
void | refreshAfterSceneChanged () |
Public Member Functions inherited from MutationOfJB::GuiScreen | |
GuiScreen (Game &game, Graphics::Screen *screen) | |
Game & | getGame () |
void | markDirty () |
void | update () |
void | addWidget (Widget *widget) |
Additional Inherited Members | |
Protected Types inherited from MutationOfJB::GuiScreen | |
typedef Common::Array< Widget * > | Widgets |
Protected Member Functions inherited from MutationOfJB::GuiScreen | |
const Widgets & | getWidgets () const |
Protected Attributes inherited from MutationOfJB::GuiScreen | |
Game & | _game |
Graphics::Screen * | _screen |
|
overridevirtual |
Lets all visible widgets handle core events.
event | ScummVM event. |
Reimplemented from MutationOfJB::GuiScreen.
|
overridevirtual |
Called when the user hovers an inventory item with the mouse or when stops hovering an item.
widget | Inventory widget. |
posInWidget | Item position in the widget or -1 if none. |
Implements MutationOfJB::InventoryWidgetCallback.
|
overridevirtual |
Called when the user clicks on an inventory item.
widget | Inventory widget. |
posInWidget | Item position in the widget. |
Implements MutationOfJB::InventoryWidgetCallback.