From f53028d4a2d53238fb92e56bea6c737c57ffb123 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Thu, 15 Jul 2010 01:21:20 +0000 Subject: Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager. svn-id: r50900 --- backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h') diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h index ce24e23992..1b387ca189 100644 --- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h +++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h @@ -42,7 +42,9 @@ public: virtual void showOverlay(); virtual void hideOverlay(); virtual void warpMouse(int x, int y); - virtual void adjustMouseEvent(Common::Event &event); + +protected: + virtual void adjustMouseEvent(const Common::Event &event); }; #endif -- cgit v1.2.3