added function to update the mouse position when changing window size
[rocksndiamonds.git] / src / libgame / sdl.h
index e4b2b68418c8cafbf4156e9d2be5d85380718016..ad7dca8c1a95ee9cdf4535838be523469ead2c0f 100644 (file)
@@ -65,6 +65,8 @@ typedef SDL_Event             PauseResumeEvent;
 typedef SDL_WindowEvent                WindowEvent;
 typedef SDL_KeyboardEvent      KeyEvent;
 
+typedef SDL_EventFilter                EventFilter;
+
 
 // structure definitions
 
@@ -421,6 +423,7 @@ void SDLOpenAudio(void);
 void SDLCloseAudio(void);
 
 void SDLWaitEvent(Event *);
+void SDLCorrectRawMousePosition(int *, int *);
 
 void HandleJoystickEvent(Event *);
 void SDLInitJoysticks(void);