From d5568906739da23154cacd17aca93802901a9baf Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sun, 28 Oct 2018 13:08:41 +0100 Subject: MUTATIONOFJB: Add support for combining items. Introduce game screen and game widget. Add status bar to show currently hovered and picked items. Load hardcoded strings from game executable. --- engines/mutationofjb/guiscreen.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engines/mutationofjb/guiscreen.h') diff --git a/engines/mutationofjb/guiscreen.h b/engines/mutationofjb/guiscreen.h index c1761be39a..3b1e8d4713 100644 --- a/engines/mutationofjb/guiscreen.h +++ b/engines/mutationofjb/guiscreen.h @@ -60,7 +60,7 @@ public: * * @param event ScummVM event. */ - void handleEvent(const Common::Event &event); + virtual void handleEvent(const Common::Event &event); /** * Updates all visible widgets. @@ -76,11 +76,15 @@ public: void addWidget(Widget *widget); protected: + typedef Common::Array Widgets; + Game &_game; Graphics::Screen *_screen; + const Widgets &getWidgets() const; + private: - Common::Array _widgets; + Widgets _widgets; }; } -- cgit v1.2.3