From 9f1bab55972b8a6f88b83c2391c40a038ffb509d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 7 Apr 2016 22:03:35 -0400 Subject: TITANIC: Converting other message stubs to new format --- engines/titanic/gfx/st_button.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/titanic/gfx') diff --git a/engines/titanic/gfx/st_button.h b/engines/titanic/gfx/st_button.h index fd2b0fa401..d3dd5c4e76 100644 --- a/engines/titanic/gfx/st_button.h +++ b/engines/titanic/gfx/st_button.h @@ -31,6 +31,9 @@ namespace Titanic { class CSTButton : public CBackground { DECLARE_MESSAGE_MAP + bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); + bool MouseButtonUpMsg(CMouseButtonUpMsg *msg); + bool EnterViewMsg(CEnterViewMsg *msg); private: int _statusInc; CString _statusTarget; @@ -39,10 +42,6 @@ private: CString _string4; CString _string5; int _buttonFrame; -protected: - virtual bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); - virtual bool MouseButtonUpMsg(CMouseButtonUpMsg *msg); - virtual bool EnterViewMsg(CEnterViewMsg *msg); public: CLASSDEF CSTButton(); -- cgit v1.2.3