aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/gfx')
-rw-r--r--engines/titanic/gfx/st_button.h7
1 files changed, 3 insertions, 4 deletions
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();