From 38b4098f676cd222ba6c5f638d3a6a61974d5f88 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Mon, 19 Jul 2010 05:33:58 +0000 Subject: SDL: Hack to handle special SDL events. svn-id: r51015 --- backends/platform/sdl/sdl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/platform') diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index 3bb09683b5..cf02438e91 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -72,6 +72,12 @@ public: virtual void getTimeAndDate(TimeDate &td) const; virtual Audio::Mixer *getMixer(); + // HACK: Special SDL events types + enum SdlEvent { + kSdlEventExpose = 100, + kSdlEventResize = 101 + }; + protected: bool _inited; bool _initedSDL; -- cgit v1.2.3