aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/guiscreen.h
diff options
context:
space:
mode:
authorĽubomír Remák2018-10-28 13:08:41 +0100
committerĽubomír Remák2018-10-28 13:08:41 +0100
commitd5568906739da23154cacd17aca93802901a9baf (patch)
tree56e9a8060f2c513aade94d18078c1d572c25a31b /engines/mutationofjb/guiscreen.h
parent0cf567de28fbdc0ee3c4aedf2c6da94c5b8ca129 (diff)
downloadscummvm-rg350-d5568906739da23154cacd17aca93802901a9baf.tar.gz
scummvm-rg350-d5568906739da23154cacd17aca93802901a9baf.tar.bz2
scummvm-rg350-d5568906739da23154cacd17aca93802901a9baf.zip
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.
Diffstat (limited to 'engines/mutationofjb/guiscreen.h')
-rw-r--r--engines/mutationofjb/guiscreen.h8
1 files changed, 6 insertions, 2 deletions
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<Widget *> Widgets;
+
Game &_game;
Graphics::Screen *_screen;
+ const Widgets &getWidgets() const;
+
private:
- Common::Array<Widget *> _widgets;
+ Widgets _widgets;
};
}