From 8fb5c96a272fc15397eb95af3ec024bf8f286da9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 23 Jun 2015 21:05:34 -0400 Subject: SHERLOCK: RT: Beginnings of talk window widget class --- engines/sherlock/tattoo/tattoo_talk.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/tattoo/tattoo_talk.h') diff --git a/engines/sherlock/tattoo/tattoo_talk.h b/engines/sherlock/tattoo/tattoo_talk.h index 33eacd2db3..252518c462 100644 --- a/engines/sherlock/tattoo/tattoo_talk.h +++ b/engines/sherlock/tattoo/tattoo_talk.h @@ -30,6 +30,7 @@ #include "common/stream.h" #include "common/stack.h" #include "sherlock/talk.h" +#include "sherlock/tattoo/widget_talk.h" namespace Sherlock { @@ -37,6 +38,8 @@ namespace Tattoo { class TattooTalk : public Talk { private: + WidgetTalk _talkWidget; + OpcodeReturn cmdSwitchSpeaker(const byte *&str); OpcodeReturn cmdMouseOnOff(const byte *&str); OpcodeReturn cmdGotoScene(const byte *&str); @@ -77,8 +80,7 @@ private: void drawTalk(const char *str); /** - * Figures out how many lines the available talk lines will take up, and opens a text window - * of appropriate size + * Open the talk window */ void openTalkWindow(); protected: -- cgit v1.2.3