aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-19 05:33:58 +0000
committerAlejandro Marzini2010-07-19 05:33:58 +0000
commit38b4098f676cd222ba6c5f638d3a6a61974d5f88 (patch)
treec1502f81e1d128988d03978d1f88b47eeb6f96b2 /backends/platform
parent6215f2b6d47ca2235e2a56f841aefe78f022d43b (diff)
downloadscummvm-rg350-38b4098f676cd222ba6c5f638d3a6a61974d5f88.tar.gz
scummvm-rg350-38b4098f676cd222ba6c5f638d3a6a61974d5f88.tar.bz2
scummvm-rg350-38b4098f676cd222ba6c5f638d3a6a61974d5f88.zip
SDL: Hack to handle special SDL events.
svn-id: r51015
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/sdl.h6
1 files changed, 6 insertions, 0 deletions
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;