From 61c106b3307ee2f8aaa579dbc5d7c8f8e62ae41a Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sat, 14 Apr 2018 23:04:20 +0200 Subject: MUTATIONOFJB: Add font support and conversation widget. --- engines/mutationofjb/gui.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'engines/mutationofjb/gui.h') diff --git a/engines/mutationofjb/gui.h b/engines/mutationofjb/gui.h index 5d8358b47f..d8e1286233 100644 --- a/engines/mutationofjb/gui.h +++ b/engines/mutationofjb/gui.h @@ -43,9 +43,21 @@ namespace MutationOfJB { class Game; class Widget; class InventoryWidget; +class ConversationWidget; class Gui : public InventoryObserver, public ButtonWidgetCallback { public: + enum Colors { + WHITE = 0xC6, + DARKGRAY = 0xC2, + LIGHTGRAY = 0xC4, + GREEN = 0xC8, + ORANGE = 0xCA, + DARKBLUE = 0xD6, + LIGHTBLUE = 0xDA, + BROWN = 0xDC + }; + typedef Common::HashMap InventoryMap; friend class InventoryAnimationDecoderCallback; @@ -64,6 +76,8 @@ public: virtual void onInventoryChanged() override; virtual void onButtonClicked(ButtonWidget *) override; + ConversationWidget& getConversationWidget(); + private: bool loadInventoryGfx(); bool loadHudGfx(); @@ -78,6 +92,7 @@ private: Common::Array _hudSurfaces; InventoryWidget *_inventoryWidget; + ConversationWidget *_conversationWidget; Common::Array _widgets; }; -- cgit v1.2.3